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

Common tools - Method Wrappers:

- Added new grafana dashboard for extracting performance details on ConfigureDevice method.
parent 39ea39b9
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!87Context & Device Performance Enhancements
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 30,
"iteration": 1682003744753,
"links": [],
"panels": [
{
"cards": {
"cardPadding": null,
"cardRound": null
},
"color": {
"cardColor": "#b4ff00",
"colorScale": "linear",
"colorScheme": "interpolateRdYlGn",
"exponent": 0.5,
"max": null,
"min": 0,
"mode": "opacity"
},
"dataFormat": "tsbuckets",
"datasource": "prometheus",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 22,
"w": 24,
"x": 0,
"y": 0
},
"heatmap": {},
"hideZeroBuckets": true,
"highlightCards": true,
"id": 2,
"interval": "60s",
"legend": {
"show": true
},
"pluginVersion": "7.5.4",
"reverseYBuckets": false,
"targets": [
{
"exemplar": true,
"expr": "sum(\r\n max_over_time(tfs_device_exec_details_configuredevice_histogram_duration_bucket{pod=~\"[[pod]]\", step_name=~\"[[step_name]]\"}[1m]) -\r\n min_over_time(tfs_device_exec_details_configuredevice_histogram_duration_bucket{pod=~\"[[pod]]\", step_name=~\"[[step_name]]\"}[1m])\r\n) by (le)",
"format": "heatmap",
"instant": false,
"interval": "1m",
"intervalFactor": 1,
"legendFormat": "{{le}}",
"queryType": "randomWalk",
"refId": "A"
}
],
"title": "Histogram",
"tooltip": {
"show": true,
"showHistogram": true
},
"type": "heatmap",
"xAxis": {
"show": true
},
"xBucketNumber": null,
"xBucketSize": null,
"yAxis": {
"decimals": null,
"format": "s",
"logBase": 1,
"max": null,
"min": null,
"show": true,
"splitFactor": null
},
"yBucketBound": "auto",
"yBucketNumber": null,
"yBucketSize": null
}
],
"refresh": false,
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": ".*",
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": "prometheus",
"definition": "label_values(tfs_device_exec_details_configuredevice_histogram_duration_bucket, pod)",
"description": null,
"error": null,
"hide": 0,
"includeAll": true,
"label": "Pod",
"multi": true,
"name": "pod",
"options": [],
"query": {
"query": "label_values(tfs_device_exec_details_configuredevice_histogram_duration_bucket, pod)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".*",
"current": {
"selected": true,
"text": [
"get_device",
"set_device"
],
"value": [
"get_device",
"set_device"
]
},
"datasource": "prometheus",
"definition": "label_values(tfs_device_exec_details_configuredevice_histogram_duration_bucket, step_name)",
"description": null,
"error": null,
"hide": 0,
"includeAll": true,
"label": "Step Name",
"multi": true,
"name": "step_name",
"options": [],
"query": {
"query": "label_values(tfs_device_exec_details_configuredevice_histogram_duration_bucket, step_name)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "2023-04-20T15:11:48.272Z",
"to": "2023-04-20T15:18:10.464Z"
},
"timepicker": {},
"timezone": "",
"title": "TFS / ConfigureDevice Details",
"uid": "GfzKHbPVk",
"version": 4
}
\ No newline at end of file
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