Fixes Bug 1027.
Change-Id: Id4ef8828b93acc6a68b1020ff25043c36f4878e5
Signed-off-by: lavado <glavado@whitestack.com>
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:
"refresh": "5s",
"schemaVersion": 20,
"style": "dark",
- "tags": [],
+ "tags": ["osm_automated"],
"templating": {
"list": [
{
"refresh": "5s",
"schemaVersion": 20,
"style": "dark",
- "tags": [],
+ "tags": ["osm_automated"],
"templating": {
"list": [
{