stephenyeargin / hubot-grafana

📈🤖 Query Grafana dashboards
http://docs.grafana.org/tutorials/hubot_howto/
MIT License
154 stars 48 forks source link

Support for Grafana 8 #139

Closed stephenyeargin closed 3 years ago

stephenyeargin commented 3 years ago

The underlying API for Grafana has changed to no longer support querying based on a given dashboard's slug. Instead, you must use the UID. This PR incorporates work from @superbrothers for the actual code change and then several test and documentation updates.

Users are encouraged to use hubot-alias to de-reference the UID to a more memorable name for common queries.

Fixes #68 Fixes #138

This will be released as part of v3.0.0, with users running earlier versions of Grafana asked to stay on the 2.x versions.