Skip to content

Commit

Permalink
Updating dashboard to fix annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
arlake228 committed May 20, 2024
1 parent 1df61ba commit 04c616b
Show file tree
Hide file tree
Showing 2 changed files with 283 additions and 226 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"iconColor": "green",
"mappings": {},
"name": "Incoming Throughput Tests",
"query": "test.type.keyword: throughput AND meta.destination.hostname.keyword: ${node_name}",
"query": "test.type.keyword: throughput AND (meta.destination.hostname.keyword: ${node_name} OR meta.destination.ip: ${node_ip})",
"tagsField": "pscheduler.tool",
"target": {
"query": "test.type: throughput AND meta.destination.hostname.keyword: ${node_name}",
"query": "test.type.keyword: throughput AND meta.destination.hostname.keyword: ${node_name}",
"refId": "annotation_query"
},
"textField": "meta.source.hostname",
Expand All @@ -39,9 +39,14 @@
},
"enable": false,
"iconColor": "yellow",
"mappings": {},
"name": "Outgoing Throughput Tests",
"query": "test.type.keyword: throughput AND meta.source.hostname.keyword: ${node_name}",
"query": "test.type.keyword: throughput AND (meta.source.hostname.keyword: ${node_name} OR meta.source.ip: ${node_ip})",
"tagsField": "pscheduler.tool",
"target": {
"query": "test.type.keyword: throughput AND meta.source.hostname.keyword: ${node_name}",
"refId": "annotation_query"
},
"textField": "meta.destination.hostname",
"timeEndField": "pscheduler.end_time",
"timeField": "pscheduler.start_time"
Expand All @@ -51,7 +56,6 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": 3,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -991,8 +995,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1112,8 +1115,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1281,8 +1283,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1444,8 +1445,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1536,8 +1536,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1811,8 +1810,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -1984,8 +1982,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2128,8 +2125,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2334,8 +2330,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2459,8 +2454,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2584,8 +2578,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2709,8 +2702,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -2864,8 +2856,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -3032,8 +3023,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -3246,8 +3236,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -3427,8 +3416,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -3633,8 +3621,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -3810,9 +3797,9 @@
"list": [
{
"current": {
"selected": false,
"text": "localhost",
"value": "localhost"
"selected": true,
"text": "10.128.15.219",
"value": "10.128.15.219"
},
"datasource": {
"type": "grafana-opensearch-datasource",
Expand Down Expand Up @@ -3854,6 +3841,34 @@
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"allValue": "",
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "grafana-opensearch-datasource",
"uid": "f60bacda-08de-4933-9013-91cfae76df57"
},
"definition": "{\"find\":\"terms\", \"field\":\"meta.labels.address.keyword\", \"query\": \"meta.id: $host AND type.keyword: node AND meta.labels.scope.keyword: global\", \"size\": 1}",
"hide": 2,
"includeAll": true,
"multi": true,
"name": "node_ip",
"options": [],
"query": "{\"find\":\"terms\", \"field\":\"meta.labels.address.keyword\", \"query\": \"meta.id: $host AND type.keyword: node AND meta.labels.scope.keyword: global\", \"size\": 1}",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
Expand Down
Loading

0 comments on commit 04c616b

Please sign in to comment.