Skip to content
Snippets Groups Projects
Commit 56a1e4d4 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

WebUI - Grafana:

- Updated device details dashboard (to be completed)
parent 7e2d2336
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!99Device and WebUI components - Improve AddDevice performance metrics
......@@ -25,8 +25,8 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"iteration": 1682697941779,
"id": 6,
"iteration": 1682697941785,
"links": [],
"liveNow": false,
"panels": [
......@@ -43,7 +43,7 @@
"dataFormat": "tsbuckets",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"uid": "b1BgiIsVz"
},
"gridPos": {
"h": 22,
......@@ -65,7 +65,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"uid": "b1BgiIsVz"
},
"exemplar": true,
"expr": "sum(\r\n max_over_time(tfs_device_exec_details_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\", step=~\"[[step]]\"}[1m]) -\r\n min_over_time(tfs_device_exec_details_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\", step=~\"[[step]]\"}[1m])\r\n) by (le)",
......@@ -94,7 +94,7 @@
"yBucketBound": "auto"
}
],
"refresh": "5s",
"refresh": "",
"schemaVersion": 36,
"style": "dark",
"tags": [],
......@@ -104,26 +104,30 @@
"allValue": ".*",
"current": {
"selected": true,
"text": "adddevice",
"value": "adddevice"
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"uid": "b1BgiIsVz"
},
"definition": "metrics(tfs_device_exec_details_)",
"definition": "label_values(tfs_device_execution_details_histogram_duration_bucket, pod)",
"hide": 0,
"includeAll": false,
"label": "Method",
"multi": false,
"name": "method",
"includeAll": true,
"label": "Pod",
"multi": true,
"name": "pod",
"options": [],
"query": {
"query": "metrics(tfs_device_exec_details_)",
"query": "label_values(tfs_device_execution_details_histogram_duration_bucket, pod)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "/tfs_device_exec_details_(.+)_histogram_duration_bucket/",
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
......@@ -134,37 +138,15 @@
{
"allValue": ".*",
"current": {
"selected": true,
"text": [
"endpoint_checks",
"execution",
"get_device",
"get_driver",
"populate_config_rules",
"populate_endpoints",
"populate_monit_rsrc",
"set_device",
"total",
"wait_queue"
],
"value": [
"endpoint_checks",
"execution",
"get_device",
"get_driver",
"populate_config_rules",
"populate_endpoints",
"populate_monit_rsrc",
"set_device",
"total",
"wait_queue"
]
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"uid": "b1BgiIsVz"
},
"definition": "label_values(tfs_device_exec_details_[[method]]_histogram_duration_bucket, step)",
"definition": "label_values(tfs_device_execution_details_histogram_duration_bucket, step)",
"hide": 0,
"includeAll": true,
"label": "Step",
......@@ -172,7 +154,7 @@
"name": "step",
"options": [],
"query": {
"query": "label_values(tfs_device_exec_details_[[method]]_histogram_duration_bucket, step)",
"query": "label_values(tfs_device_execution_details_histogram_duration_bucket, step)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
......@@ -187,27 +169,23 @@
{
"allValue": ".*",
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"uid": "b1BgiIsVz"
},
"definition": "label_values(tfs_device_exec_details_[[method]]_histogram_duration_bucket, pod)",
"definition": "label_values(tfs_device_execution_details_histogram_duration_bucket, operation)",
"hide": 0,
"includeAll": true,
"label": "Pod",
"label": "Operation",
"multi": true,
"name": "pod",
"name": "operation",
"options": [],
"query": {
"query": "label_values(tfs_device_exec_details_[[method]]_histogram_duration_bucket, pod)",
"query": "label_values(tfs_device_execution_details_histogram_duration_bucket, operation)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
......@@ -222,14 +200,14 @@
]
},
"time": {
"from": "now-15m",
"from": "now-2d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "TFS / Device Details",
"uid": "tfs-dev-confdev",
"version": 6,
"version": 7,
"weekStart": ""
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment