projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds osm_automated tag to automated dashboards
[osm/MON.git]
/
osm_mon
/
dashboarder
/
backends
/
grafana.py
diff --git
a/osm_mon/dashboarder/backends/grafana.py
b/osm_mon/dashboarder/backends/grafana.py
index
491cd52
..
4f1fe52
100644
(file)
--- a/
osm_mon/dashboarder/backends/grafana.py
+++ b/
osm_mon/dashboarder/backends/grafana.py
@@
-34,7
+34,8
@@
headers = {
def get_all_dashboard_uids():
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:
dashboards = response.json()
dashboard_uids = []
for dashboard in dashboards: