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.
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.
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.
The Rust SDK is licensed under either of the following, at your option:
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or https://opensource.org/licenses/MIT)