generated from rmcguire/go-server-with-otel
improve dashboard
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.2.4
|
version: 0.2.5
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|||||||
@@ -251,9 +251,9 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${datasource}"
|
"uid": "${datasource}"
|
||||||
},
|
},
|
||||||
"expr": "max by (econet_friendly_name) (econet_running{econet_friendly_name=~\"$device\"})",
|
"expr": "max by (econet_running_state) (econet_running{econet_friendly_name=~\"$device\"})",
|
||||||
"instant": true,
|
"instant": true,
|
||||||
"legendFormat": "{{econet_friendly_name}}",
|
"legendFormat": "{{econet_running_state}}",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -1120,11 +1120,22 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "${datasource}"
|
"uid": "${datasource}"
|
||||||
},
|
},
|
||||||
"expr": "max by (econet_friendly_name) (econet_running{econet_friendly_name=~\"$device\"})",
|
"expr": "max by (econet_running_state) (econet_running{econet_friendly_name=~\"$device\"})",
|
||||||
"legendFormat": "{{econet_friendly_name}}",
|
"legendFormat": "{{econet_running_state}}",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"transformations": [
|
||||||
|
{
|
||||||
|
"id": "filterFieldsByName",
|
||||||
|
"options": {
|
||||||
|
"byVariable": false,
|
||||||
|
"include": {
|
||||||
|
"pattern": "^[^V]+"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"title": "Heating Timeline",
|
"title": "Heating Timeline",
|
||||||
"type": "state-timeline"
|
"type": "state-timeline"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user