Skip to main content

Grafana plugin SDK for Go

The Grafana plugin SDK for Go is a Go module that provides a set of packages that you can use to implement a backend plugin.

The plugin SDK provides a high-level framework with APIs, utilities, and tooling. By using the SDK, you can avoid the need to learn the details of the plugin protocol and RPC communication protocol, so you don't have to manage either one.

Versioning​

The Grafana plugin Go SDK is still in development. It is based on the plugin protocol, which is versioned separately and is considered stable. However, from time to time, we might introduce breaking changes in the SDK.

When we update the plugin SDK, those plugins that use an older version of the SDK should still work with Grafana. However, these older plugins may be unable to use the new features and capabilities we introduce in updated SDK versions.

Update the Go SDK​

To keep the Grafana plugin SDK for Go up to date:

go get -u github.com/grafana/grafana-plugin-sdk-go
go mod tidy

See also​