Add annotations to Cassandra and Contrail dashboards
Change-Id: I4b380080f61c7671e004ae1d1d8e6c2c1bcba8f9
diff --git a/opencontrail/files/grafana_dashboards/cassandra_influxdb.json b/opencontrail/files/grafana_dashboards/cassandra_influxdb.json
index 7c98820..eebdbf8 100644
--- a/opencontrail/files/grafana_dashboards/cassandra_influxdb.json
+++ b/opencontrail/files/grafana_dashboards/cassandra_influxdb.json
@@ -1,6 +1,21 @@
{
"annotations": {
- "list": []
+ "enable": true,
+ "list": [
+ {
+ "datasource": "lma",
+ "enable": true,
+ "iconColor": "#C0C6BE",
+ "iconSize": 13,
+ "lineColor": "rgba(255, 96, 96, 0.592157)",
+ "name": "Status",
+ "query": "select title,tags,text from annotations where $timeFilter and cluster =~ /^cassandra/",
+ "showLine": true,
+ "tagsColumn": "tags",
+ "textColumn": "text",
+ "titleColumn": "title"
+ }
+ ]
},
"editable": true,
"gnetId": null,
@@ -1939,5 +1954,5 @@
},
"timezone": "browser",
"title": "Cassandra",
- "version": 11
+ "version": 12
}
diff --git a/opencontrail/files/grafana_dashboards/contrail_influxdb.json b/opencontrail/files/grafana_dashboards/contrail_influxdb.json
index 0a3fb3f..4499063 100644
--- a/opencontrail/files/grafana_dashboards/contrail_influxdb.json
+++ b/opencontrail/files/grafana_dashboards/contrail_influxdb.json
@@ -1,6 +1,21 @@
{
"annotations": {
- "list": []
+ "enable": true,
+ "list": [
+ {
+ "datasource": "lma",
+ "enable": true,
+ "iconColor": "#C0C6BE",
+ "iconSize": 13,
+ "lineColor": "rgba(255, 96, 96, 0.592157)",
+ "name": "Status",
+ "query": "select title,tags,text from annotations where $timeFilter and cluster =~ /^contrail/",
+ "showLine": true,
+ "tagsColumn": "tags",
+ "textColumn": "text",
+ "titleColumn": "title"
+ }
+ ]
},
"editable": true,
"gnetId": null,
@@ -6565,5 +6580,5 @@
},
"timezone": "browser",
"title": "OpenContrail",
- "version": 16
+ "version": 17
}