Skip to content

grafana-kairosdb-datasource plugin broken on Grafana 11+: Angular support disabled by default #25

@maioranisimone

Description

@maioranisimone

Problem

The grafana-kairosdb-datasource plugin bundled in the chart and used in
the example dashboard is written in AngularJS. Starting from Grafana 11,
Angular plugin support is disabled by default, causing the datasource
to fail with:

{"message": "Angular plugins are not supported"}

This makes KairosDB dashboards non-functional on any Grafana 11+ or 12.x
deployment without manually enabling the deprecated angular_support_enabled
flag.

Suggested fix

Use the React-based fork maintained by ArpNetworking:
https://github.com/ArpNetworking/kairosdb-datasource

It provides prebuilt releases (zip) compatible with the Grafana plugin
install-from-URL mechanism:

grafana:                                                                                                                                                                                                                 
  plugins:                                                                                                                                                                                                               
    - https://github.com/ArpNetworking/kairosdb-datasource/releases/download/v4.0.7/kairosdb-datasource.zip;arpnetworking-kairosdb-datasource
  grafana.ini:                                                                                                                                                                                                           
    plugins:                                                                                
      allow_loading_unsigned_plugins: arpnetworking-kairosdb-datasource

The plugin is unsigned (not on the Grafana marketplace) so
allow_loading_unsigned_plugins is required.

The dashboard JSON also needs updating to reference the new plugin type —
see PR #24 (feat/dashboard-grafana10-compat).

Environment

  • Grafana: 11+ / 12.x
  • ExaMon: v0.5.0

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions