Skip to content

Commit

Permalink
Merge pull request #1848 from DSD-DBS/grafana-dashboard
Browse files Browse the repository at this point in the history
feat(grafana): Show all active sessions by default, disable filters
  • Loading branch information
MoritzWeber0 authored Sep 26, 2024
2 parents 583195a + 6697bc6 commit ff3041a
Showing 1 changed file with 25 additions and 11 deletions.
36 changes: 25 additions & 11 deletions helm/config/grafana/dashboards/active-sessions.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -52,6 +53,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "stepBefore",
"lineWidth": 1,
"pointSize": 5,
Expand Down Expand Up @@ -178,6 +180,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
Expand All @@ -193,6 +196,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "stepBefore",
"lineStyle": {
"fill": "solid"
Expand Down Expand Up @@ -331,14 +335,17 @@
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.0.1",
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -367,6 +374,7 @@
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
Expand All @@ -381,6 +389,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
Expand Down Expand Up @@ -456,22 +465,23 @@
}
],
"refresh": "",
"schemaVersion": 38,
"style": "dark",
"schemaVersion": 39,
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": true
"selected": true,
"text": ["All"],
"value": ["$__all"]
},
"datasource": {
"type": "prometheus",
"uid": "prometheus_ccm"
},
"definition": "up{job=\"sessions\"}",
"hide": 0,
"includeAll": false,
"includeAll": true,
"label": "Tool and Version",
"multi": true,
"name": "tool_version_id",
Expand All @@ -488,7 +498,9 @@
},
{
"current": {
"selected": true
"selected": true,
"text": ["All"],
"value": ["$__all"]
},
"datasource": {
"type": "prometheus",
Expand All @@ -497,7 +509,7 @@
"definition": "up{job=\"sessions\", tool_version_id=~\"$tool_version_id\"}",
"description": "",
"hide": 0,
"includeAll": false,
"includeAll": true,
"label": "Connection Method",
"multi": true,
"name": "connection_method_id",
Expand All @@ -514,15 +526,17 @@
},
{
"current": {
"selected": true
"selected": true,
"text": ["All"],
"value": ["$__all"]
},
"datasource": {
"type": "prometheus",
"uid": "prometheus_ccm"
},
"definition": "label_values(up{job=\"sessions\", tool_version_id=~\"$tool_version_id\"},session_type)",
"hide": 0,
"includeAll": false,
"includeAll": true,
"label": "Session Type",
"multi": true,
"name": "session_type",
Expand All @@ -547,6 +561,6 @@
"timezone": "",
"title": "Active sessions",
"uid": "0kK_I7T4k",
"version": 4,
"version": 11,
"weekStart": ""
}

0 comments on commit ff3041a

Please sign in to comment.