beginning of managing individual panels in grafana

This commit is contained in:
m0duspwnens
2021-07-06 10:08:36 -04:00
parent a16f733622
commit 98505a9a3f
6 changed files with 904 additions and 123 deletions
@@ -0,0 +1,152 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "This Dashboard provides a general overview of Standalone Mode",
"editable": true,
"gnetId": 2381,
"graphTooltip": 0,
"id": 6,
"iteration": 1625018989654,
"links": [],
"panels": [
{% for panel in PANELS -%}
{%- import_json "grafana/panels/" ~ panel ~ ".json" as panel %}
{{ panel }},
{%- endfor %}
],
"refresh": "30s",
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"auto": true,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"text": "10s",
"value": "10s"
},
"description": null,
"error": null,
"hide": 0,
"label": null,
"name": "Interval",
"options": [
{
"selected": false,
"text": "auto",
"value": "$__auto_interval_Interval"
},
{
"selected": true,
"text": "10s",
"value": "10s"
},
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
},
{
"selected": false,
"text": "30m",
"value": "30m"
},
{
"selected": false,
"text": "1h",
"value": "1h"
},
{
"selected": false,
"text": "6h",
"value": "6h"
},
{
"selected": false,
"text": "12h",
"value": "12h"
},
{
"selected": false,
"text": "1d",
"value": "1d"
},
{
"selected": false,
"text": "7d",
"value": "7d"
},
{
"selected": false,
"text": "14d",
"value": "14d"
},
{
"selected": false,
"text": "30d",
"value": "30d"
}
],
"query": "10s, 1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
"refresh": 3,
"skipUrlSync": false,
"type": "interval"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "Standalone Mode - {{ SERVERNAME }} Overview",
"uid": "{{ UID }}",
"version": 17
}
+130
View File
@@ -0,0 +1,130 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "MY DASHBOARD DESCRIPTION",
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 7,
"iteration": 1625251118337,
"links": [],
"panels": [],
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {
"selected": false,
"text": "mynode1",
"value": "mynode1"
},
"description": "",
"error": null,
"hide": 0,
"includeAll": false,
"label": "Node",
"multi": false,
"name": "query0",
"options": [
{
"selected": true,
"text": "mynode1",
"value": "mynode1"
},
{
"selected": false,
"text": "mynode2",
"value": "mynode2"
},
{
"selected": false,
"text": "mynode3",
"value": "mynode3"
}
],
"query": "mynode1,mynode2,mynode3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": "{{ MANINT }}",
"value": "{{ MANINT }}"
},
"description": null,
"error": null,
"hide": 0,
"label": "Management Interface",
"name": "manint",
"options": [
{
"selected": true,
"text": "{{ MANINT }}",
"value": "{{ MANINT }}"
}
],
"query": "{{ MANINT }}",
"skipUrlSync": false,
"type": "textbox"
},
{
"current": {
"selected": true,
"text": "{{ MONINT }}",
"value": "{{ MONINT }}"
},
"description": null,
"error": null,
"hide": 2,
"label": "Monitor Interface",
"name": "monint",
"options": [
{
"selected": true,
"text": "{{ MONINT }}",
"value": "{{ MONINT }}"
}
],
"query": "{{ MONINT }}",
"skipUrlSync": false,
"type": "textbox"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "browser",
"title": "MY DASHBOARD NAME",
"uid": "IQqwsPznk",
"version": 3
}