weaveworks / grafanalib

Python library for building Grafana dashboards
Apache License 2.0
1.85k stars 307 forks source link

Add support for Status-History panel type - StatusMap will be deprecrated. #629

Open lockan opened 10 months ago

lockan commented 10 months ago

What you expected to happen?

Grafana indicates the statusMap panel type will be deprecated when trying to add one to a dashboard via the UI. ( Docs here, but no mention of impending deprecation: https://grafana.com/grafana/plugins/flant-statusmap-panel/ )

I was hoping to use the newer status-history panel instead. However, no such statusHistory panel class exists in core.py

What happened?

Unable to define status-history panels using Grafanalib, without having to write my own class.

How to reproduce it?

You can view the deprecation notice for the statusMap panel by adding one to a dashboard in Grafana Tested on Grafana v10.1.1 (0cfa76b22d)