Skip to content

grafana/grafana-plugin-sdk-rust

Grafana Plugin SDK for Rust

Build Status docs.rs crates.io

This is a Rust implementation of the Grafana Plugin SDK for Rust, similar to the Grafana Plugin SDK for Go. It can be used to build backend plugins for Grafana.

Current state

This SDK is still in development. The protocol between the Grafana server and the plugin SDK is considered stable, but the convenience functionality in the SDK may experience breaking changes.

Disclaimer: this Rust SDK is not (yet) an official Grafana Labs project! Use the Go SDK if higher maintainability and support standards are required. That being said, this crate will adhere to semantic versioning, and the authors will aim to respond to issues as far as possible.

Related projects

The grafana-sample-backend-plugin-rust repository contains a sample backend plugin with a backend written in Rust, along with a docker-compose setup with automatic plugin reloading.

Developing

Releasing

Releases are handled using cargo-release. Run the following to dry-run release a new version of all crates:

cargo release <major|minor|patch> --workspace

If everything looks OK, add the --execute flag to go through with the release.

License

The Rust SDK is licensed under either of the following, at your option: