X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fdashboarder%2Fbackends%2Fgrafana.py;h=4f1fe5274b0f49aa8837441bdf067c9c12e4d030;hb=e304bb892c98c77665910de132ae940d62a89666;hp=491cd5251575a46aad862b2baeb2df5d8f2e824e;hpb=cee3b8656b4eef1c9dda980191a3463a5fdb2a67;p=osm%2FMON.git diff --git a/osm_mon/dashboarder/backends/grafana.py b/osm_mon/dashboarder/backends/grafana.py index 491cd52..4f1fe52 100644 --- a/osm_mon/dashboarder/backends/grafana.py +++ b/osm_mon/dashboarder/backends/grafana.py @@ -34,7 +34,8 @@ headers = { def get_all_dashboard_uids(): - response = requests.request("GET", url + "search?query=%", headers=headers) + # Gets only dashboards that were automated by OSM (with tag 'osm_automated') + response = requests.request("GET", url + "search?tag=osm_automated", headers=headers) dashboards = response.json() dashboard_uids = [] for dashboard in dashboards: