Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fleet/dashboards) fix some dashboards and add new ones #387

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
931 changes: 131 additions & 800 deletions fleet/lib/grafana-dashboards/dashboards/Device overview.json

Large diffs are not rendered by default.

605 changes: 54 additions & 551 deletions fleet/lib/grafana-dashboards/dashboards/Interface overview.json

Large diffs are not rendered by default.

3,413 changes: 2,002 additions & 1,411 deletions fleet/lib/grafana-dashboards/dashboards/Kyverno Metrics.json

Large diffs are not rendered by default.

43 changes: 29 additions & 14 deletions fleet/lib/grafana-dashboards/dashboards/Network overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 86,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "aedb3140-c977-4123-bf24-6e026595fc8a"
"uid": "${datasource}"
},
"description": "Shows an overview of the network status by checking the ICMP response status.\n\nClicking a device will link through to the device overview page.",
"fieldConfig": {
Expand All @@ -46,7 +45,7 @@
{
"targetBlank": true,
"title": "${__field.labels.instance} overview",
"url": "https://grafana.ayekan.ls.lsst.org/d/ee800dd4-a94e-482b-b096-17c083fbf620/device-overview?orgId=1&var-instance=${__field.labels.instance}&from=${__from}&to=${__to}"
"url": "https://grafana.ayekan.ls.lsst.org/d/ee800dd4-a94e-482b-b096-17c083fbf620/device-overview?orgId=1&var-instance=${__field.labels.instance}"
}
],
"mappings": [
Expand Down Expand Up @@ -78,7 +77,8 @@
"value": 0.9
}
]
}
},
"unitScale": true
},
"overrides": []
},
Expand All @@ -89,7 +89,6 @@
"y": 0
},
"id": 1,
"interval": "4m",
"links": [],
"options": {
"colWidth": 0.9,
Expand All @@ -99,7 +98,7 @@
"showLegend": true
},
"rowHeight": 0.9,
"showValue": "never",
"showValue": "auto",
"tooltip": {
"mode": "single",
"sort": "none"
Expand All @@ -110,12 +109,12 @@
{
"datasource": {
"type": "prometheus",
"uid": "aedb3140-c977-4123-bf24-6e026595fc8a"
"uid": "${datasource}"
},
"disableTextWrap": false,
"editorMode": "code",
"editorMode": "builder",
"exemplar": false,
"expr": "min_over_time(probe_success{instance=~\"$instance\"}[$__interval])",
"expr": "min by(instance) (probe_success{instance=~\"$instance\"})",
"format": "time_series",
"fullMetaSearch": false,
"includeNullMetadata": false,
Expand All @@ -132,8 +131,7 @@
}
],
"refresh": "1m",
"schemaVersion": 38,
"style": "dark",
"schemaVersion": 39,
"tags": [],
"templating": {
"list": [
Expand All @@ -151,7 +149,7 @@
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(probe_success{job=\"blackbox-csv-network\"},instance)",
"definition": "label_values(ifAdminStatus,instance)",
"description": "Selection of devices to monitor (meant to filter down the unreadable \"general overview\" of all devices).",
"hide": 0,
"includeAll": true,
Expand All @@ -160,14 +158,31 @@
"name": "instance",
"options": [],
"query": {
"query": "label_values(probe_success{job=\"blackbox-csv-network\"},instance)",
"query": "label_values(ifAdminStatus,instance)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
},
{
"current": {
"selected": false,
"text": "Mimir",
"value": "mimir"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
},
Expand All @@ -179,6 +194,6 @@
"timezone": "",
"title": "Network overview",
"uid": "fbe8c9c9-be05-4bce-9ede-5c36f5d3ea6e",
"version": 13,
"version": 63,
"weekStart": ""
}
Loading
Loading