Browse Source

feat: Add datasource as variable (#4584)

pull/4587/head
Alby Hernández 2 years ago
committed by GitHub
parent
commit
75f7893c11
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      other/metrics/grafana_seaweedfs.json
  2. 22
      other/metrics/grafana_seaweedfs_heartbeat.json
  3. 4
      other/metrics/grafana_seaweedfs_k8s.json

22
other/metrics/grafana_seaweedfs.json

@ -2452,7 +2452,27 @@
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
"list": []
"list": [
{
"current": {
"selected": true,
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
}, },
"time": { "time": {
"from": "now-3h", "from": "now-3h",

22
other/metrics/grafana_seaweedfs_heartbeat.json

@ -1895,7 +1895,27 @@
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
"list": []
"list": [
{
"current": {
"selected": true,
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
}, },
"time": { "time": {
"from": "now-5m", "from": "now-5m",

4
other/metrics/grafana_seaweedfs_k8s.json

@ -2179,8 +2179,8 @@
{ {
"current": { "current": {
"selected": true, "selected": true,
"text": "clickhouse-prom",
"value": "clickhouse-prom"
"text": "default",
"value": "default"
}, },
"hide": 0, "hide": 0,
"includeAll": false, "includeAll": false,

Loading…
Cancel
Save