mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
Make dashboard portable
Allows to select datasource when first importing into grafana
This commit is contained in:
parent
a8cd3f218d
commit
c1c48c62e9
1 changed files with 18 additions and 8 deletions
|
@ -1,4 +1,14 @@
|
|||
{
|
||||
"__inputs": [
|
||||
{
|
||||
"name": "DS_PROMETHEUS-INFRA",
|
||||
"label": "prometheus-infra",
|
||||
"description": "",
|
||||
"type": "datasource",
|
||||
"pluginId": "prometheus",
|
||||
"pluginName": "Prometheus"
|
||||
}
|
||||
],
|
||||
"__requires": [
|
||||
{
|
||||
"type": "grafana",
|
||||
|
@ -49,7 +59,7 @@
|
|||
"bars": false,
|
||||
"dashLength": 10,
|
||||
"dashes": false,
|
||||
"datasource": "prometheus",
|
||||
"datasource": "${DS_PROMETHEUS-INFRA}",
|
||||
"fill": 1,
|
||||
"id": 1,
|
||||
"legend": {
|
||||
|
@ -125,7 +135,7 @@
|
|||
"bars": false,
|
||||
"dashLength": 10,
|
||||
"dashes": false,
|
||||
"datasource": "prometheus",
|
||||
"datasource": "${DS_PROMETHEUS-INFRA}",
|
||||
"fill": 1,
|
||||
"id": 4,
|
||||
"legend": {
|
||||
|
@ -213,7 +223,7 @@
|
|||
"bars": false,
|
||||
"dashLength": 10,
|
||||
"dashes": false,
|
||||
"datasource": "prometheus",
|
||||
"datasource": "${DS_PROMETHEUS-INFRA}",
|
||||
"fill": 1,
|
||||
"id": 2,
|
||||
"legend": {
|
||||
|
@ -289,7 +299,7 @@
|
|||
"bars": false,
|
||||
"dashLength": 10,
|
||||
"dashes": false,
|
||||
"datasource": "prometheus",
|
||||
"datasource": "${DS_PROMETHEUS-INFRA}",
|
||||
"fill": 1,
|
||||
"id": 5,
|
||||
"legend": {
|
||||
|
@ -377,7 +387,7 @@
|
|||
"bars": false,
|
||||
"dashLength": 10,
|
||||
"dashes": false,
|
||||
"datasource": "prometheus",
|
||||
"datasource": "${DS_PROMETHEUS-INFRA}",
|
||||
"fill": 1,
|
||||
"id": 3,
|
||||
"legend": {
|
||||
|
@ -453,7 +463,7 @@
|
|||
"bars": false,
|
||||
"dashLength": 10,
|
||||
"dashes": false,
|
||||
"datasource": "prometheus",
|
||||
"datasource": "${DS_PROMETHEUS-INFRA}",
|
||||
"fill": 1,
|
||||
"id": 6,
|
||||
"legend": {
|
||||
|
@ -541,7 +551,7 @@
|
|||
{
|
||||
"allValue": null,
|
||||
"current": {},
|
||||
"datasource": "prometheus",
|
||||
"datasource": "${DS_PROMETHEUS-INFRA}",
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "Instance",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue