-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
pitchA pitch for a new featureA pitch for a new feature
Description
I might suggest this tweak to finding unused Data sources..
grafana-wtf/grafana-wtf-venv/lib/python3.7/site-packages/grafana_wtf/core.py
if datasource_item.name in ["-- Grafana --", "-- Mixed --"] or datasource_item.type == "grafana" or datasource_item.uid in ["-- Grafana --", "-- Mixed --", "grafana", "-- Dashboard --"] :
Reason:
Some older dashboards that are created are being triggered. The Name aspect has moved to uid and needs to account for both..
Request:
I have been trying to play with the jq syntax to extract the SQL statements of the data sources and not been able to do so yet. Do you have any suggestions?
Also a little note for those not familiar with python that much.. the version > .13 require pyton 3.7 or greater to run.
Thanks
Metadata
Metadata
Assignees
Labels
pitchA pitch for a new featureA pitch for a new feature