Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.33 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.33 KB

Zenoh data source for Grafana

Stream real-time Zenoh samples into Grafana dashboards.

Note: This plugin streams live data only and doesn't store historical messages.

This is a fork of Grafana's mqtt-datasource plugin, with the MQTT backend replaced by a native Zenoh subscriber (via zenoh-go) and sample payloads decoded as the Odyssey ServerData protobuf message (pkg/protoc/serverdata.proto).

Documentation

For the plugin documentation, see docs/sources/_index.md.

Contributing

Instructions for plugin setup, testing, and contributing can be found in CONTRIBUTING.md.

Packaging

The Zenoh backend links against zenoh-c via cgo, so it isn't a portable cross-compiled binary the way the old MQTT client was. The plugin is built and shipped as a Docker image (.config/Dockerfile) that bakes in both the frontend bundle and a native backend binary built against the correct zenoh-c release for the target platform (glibc, matching the -ubuntu tagged Grafana base image). See .github/workflows/docker-image.yml for the CI build (published to GHCR, linux/amd64 and linux/arm64) and CONTRIBUTING.md for building locally.