Skip to content

Commit

Permalink
🐛 fix dashboard default datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPsychick committed Dec 23, 2024
1 parent 1536679 commit 97a6a90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 42 deletions.
2 changes: 1 addition & 1 deletion sickhub/mtr-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: mtr-exporter
description: A Helm chart for an mtr-exporter pod providing metrics.
type: application
version: 0.0.4
version: 0.0.5
# https://github.com/mgumz/mtr-exporter
# https://github.com/mgumz/mtr-exporter/pkgs/container/mtr-exporter
appVersion: "0.4.0"
Expand Down
45 changes: 4 additions & 41 deletions sickhub/mtr-exporter/files/mtr-exporter.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,4 @@
{
"__inputs": [
{
"name": "DS_VICTORIAMETRICS",
"label": "VictoriaMetrics",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "barchart",
"name": "Bar chart",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "11.4.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
Expand All @@ -60,9 +23,9 @@
"links": [],
"panels": [
{
"datasource": {
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
"uid": "default"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -128,9 +91,9 @@
"type": "stat"
},
{
"datasource": {
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
"uid": "default"
},
"fieldConfig": {
"defaults": {
Expand Down

0 comments on commit 97a6a90

Please sign in to comment.