grafana/grafana-plugin-sdk-go

A Go SDK for building backend plugins for Grafana

Go

253

1,171 commits

updated Oct 12, 2026

See the code

README

Grafana Plugin SDK for Go

This SDK enables building Grafana backend plugins using Go.

License Go.dev Go Report Card CI Pipeline

Current state

This SDK is still in development. The protocol between the Grafana server and the plugin SDK is considered stable, but we might introduce breaking changes in the SDK. This means that plugins using the older SDK should work with Grafana, but might lose out on new features and capabilities that we introduce in the SDK.

The SDK documentation can be navigated in the form of Go docs. In particular, you can find the following packages:

  • backend: Package backend provides SDK handler interfaces and contracts for implementing and serving backend plugins. It includes multiple sub-packages.
  • build: Package build includes standard mage targets useful when building plugins.
  • data: Package data provides data structures that Grafana recognizes. It includes multiple subpackages like converters, framestruct and sqlutil.
  • experimental: Package experimental provides multiple experimental features. It includes multiple sub-packages.
  • live: Package live provides types for the Grafana Live server.

See the list of all packages here.

Contributing

If you're interested in contributing to this project:

License

Apache 2.0 License

grafana
grafana-plugin
grafana-plugin-sdk
group-datasources
keep
plugins-platform
sdk
team-grafana-catalog

grafana/grafana-plugin-sdk-go

A Go SDK for building backend plugins for Grafana

Go

253

1,171 commits

updated Oct 12, 2026

See the code

README

Grafana Plugin SDK for Go

This SDK enables building Grafana backend plugins using Go.

License Go.dev Go Report Card CI Pipeline

Current state

This SDK is still in development. The protocol between the Grafana server and the plugin SDK is considered stable, but we might introduce breaking changes in the SDK. This means that plugins using the older SDK should work with Grafana, but might lose out on new features and capabilities that we introduce in the SDK.

The SDK documentation can be navigated in the form of Go docs. In particular, you can find the following packages:

  • backend: Package backend provides SDK handler interfaces and contracts for implementing and serving backend plugins. It includes multiple sub-packages.
  • build: Package build includes standard mage targets useful when building plugins.
  • data: Package data provides data structures that Grafana recognizes. It includes multiple subpackages like converters, framestruct and sqlutil.
  • experimental: Package experimental provides multiple experimental features. It includes multiple sub-packages.
  • live: Package live provides types for the Grafana Live server.

See the list of all packages here.

Contributing

If you're interested in contributing to this project:

License

Apache 2.0 License

grafana
grafana-plugin
grafana-plugin-sdk
group-datasources
keep
plugins-platform
sdk
team-grafana-catalog

Project health

Overall

8.8/10

Maintained

10/10

Code review

10/10
OpenSSF Scorecard

Latest release

v0.297.0 · Oct 7, 2026

Releases this year

26

Significant stargazers

Louisa H

18 followers · starred Oct 2024

Dmytro Kozlov

36 followers · starred Feb 2024

Lars Stegman

11 followers · starred Jan 2026