Skip to content

Commit 0c3ba36

Browse files
authored
[#25]: replace hard coded source uid with DS_PROMETHEUS env
1 parent f113e85 commit 0c3ba36

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

lab/dashboards/jobs.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{
4848
"datasource": {
4949
"type": "prometheus",
50-
"uid": "jd0Bh6aVz"
50+
"uid": "${DS_PROMETHEUS}"
5151
},
5252
"fieldConfig": {
5353
"defaults": {
@@ -94,7 +94,7 @@
9494
{
9595
"datasource": {
9696
"type": "prometheus",
97-
"uid": "jd0Bh6aVz"
97+
"uid": "${DS_PROMETHEUS}"
9898
},
9999
"exemplar": false,
100100
"expr": "rr_http_uptime_seconds",
@@ -110,7 +110,7 @@
110110
{
111111
"datasource": {
112112
"type": "prometheus",
113-
"uid": "jd0Bh6aVz"
113+
"uid": "${DS_PROMETHEUS}"
114114
},
115115
"fieldConfig": {
116116
"defaults": {
@@ -200,7 +200,7 @@
200200
{
201201
"datasource": {
202202
"type": "prometheus",
203-
"uid": "jd0Bh6aVz"
203+
"uid": "${DS_PROMETHEUS}"
204204
},
205205
"exemplar": true,
206206
"expr": "go_memstats_heap_inuse_bytes",
@@ -215,7 +215,7 @@
215215
{
216216
"datasource": {
217217
"type": "prometheus",
218-
"uid": "jd0Bh6aVz"
218+
"uid": "${DS_PROMETHEUS}"
219219
},
220220
"fieldConfig": {
221221
"defaults": {
@@ -311,7 +311,7 @@
311311
{
312312
"datasource": {
313313
"type": "prometheus",
314-
"uid": "jd0Bh6aVz"
314+
"uid": "${DS_PROMETHEUS}"
315315
},
316316
"exemplar": true,
317317
"expr": "go_goroutines",
@@ -327,7 +327,7 @@
327327
{
328328
"datasource": {
329329
"type": "prometheus",
330-
"uid": "jd0Bh6aVz"
330+
"uid": "${DS_PROMETHEUS}"
331331
},
332332
"fieldConfig": {
333333
"defaults": {
@@ -428,7 +428,7 @@
428428
{
429429
"datasource": {
430430
"type": "prometheus",
431-
"uid": "jd0Bh6aVz"
431+
"uid": "${DS_PROMETHEUS}"
432432
},
433433
"exemplar": false,
434434
"expr": "rr_jobs_total_workers",
@@ -441,7 +441,7 @@
441441
{
442442
"datasource": {
443443
"type": "prometheus",
444-
"uid": "jd0Bh6aVz"
444+
"uid": "${DS_PROMETHEUS}"
445445
},
446446
"exemplar": false,
447447
"expr": "rr_jobs_workers_ready",
@@ -453,7 +453,7 @@
453453
{
454454
"datasource": {
455455
"type": "prometheus",
456-
"uid": "jd0Bh6aVz"
456+
"uid": "${DS_PROMETHEUS}"
457457
},
458458
"exemplar": false,
459459
"expr": "rr_jobs_workers_working",
@@ -466,7 +466,7 @@
466466
{
467467
"datasource": {
468468
"type": "prometheus",
469-
"uid": "jd0Bh6aVz"
469+
"uid": "${DS_PROMETHEUS}"
470470
},
471471
"exemplar": false,
472472
"expr": "rr_jobs_workers_invalid",
@@ -483,7 +483,7 @@
483483
{
484484
"datasource": {
485485
"type": "prometheus",
486-
"uid": "jd0Bh6aVz"
486+
"uid": "${DS_PROMETHEUS}"
487487
},
488488
"fieldConfig": {
489489
"defaults": {
@@ -577,7 +577,7 @@
577577
{
578578
"datasource": {
579579
"type": "prometheus",
580-
"uid": "jd0Bh6aVz"
580+
"uid": "${DS_PROMETHEUS}"
581581
},
582582
"exemplar": true,
583583
"expr": "(rr_jobs_workers_memory_bytes/1024000)",
@@ -593,7 +593,7 @@
593593
{
594594
"datasource": {
595595
"type": "prometheus",
596-
"uid": "jd0Bh6aVz"
596+
"uid": "${DS_PROMETHEUS}"
597597
},
598598
"fieldConfig": {
599599
"defaults": {
@@ -640,7 +640,7 @@
640640
{
641641
"datasource": {
642642
"type": "prometheus",
643-
"uid": "jd0Bh6aVz"
643+
"uid": "${DS_PROMETHEUS}"
644644
},
645645
"exemplar": false,
646646
"expr": "rr_jobs_worker_memory_bytes",
@@ -656,7 +656,7 @@
656656
{
657657
"datasource": {
658658
"type": "prometheus",
659-
"uid": "jd0Bh6aVz"
659+
"uid": "${DS_PROMETHEUS}"
660660
},
661661
"fieldConfig": {
662662
"defaults": {
@@ -732,7 +732,7 @@
732732
{
733733
"datasource": {
734734
"type": "prometheus",
735-
"uid": "jd0Bh6aVz"
735+
"uid": "${DS_PROMETHEUS}"
736736
},
737737
"exemplar": true,
738738
"expr": "rate(rr_jobs_jobs_ok[5m])",
@@ -747,7 +747,7 @@
747747
{
748748
"datasource": {
749749
"type": "prometheus",
750-
"uid": "jd0Bh6aVz"
750+
"uid": "${DS_PROMETHEUS}"
751751
},
752752
"fieldConfig": {
753753
"defaults": {
@@ -835,7 +835,7 @@
835835
{
836836
"datasource": {
837837
"type": "prometheus",
838-
"uid": "jd0Bh6aVz"
838+
"uid": "${DS_PROMETHEUS}"
839839
},
840840
"exemplar": true,
841841
"expr": "rate(rr_jobs_jobs_err[5m])",
@@ -850,7 +850,7 @@
850850
{
851851
"datasource": {
852852
"type": "prometheus",
853-
"uid": "jd0Bh6aVz"
853+
"uid": "${DS_PROMETHEUS}"
854854
},
855855
"description": "",
856856
"fieldConfig": {
@@ -927,7 +927,7 @@
927927
{
928928
"datasource": {
929929
"type": "prometheus",
930-
"uid": "jd0Bh6aVz"
930+
"uid": "${DS_PROMETHEUS}"
931931
},
932932
"editorMode": "builder",
933933
"exemplar": false,
@@ -944,7 +944,7 @@
944944
{
945945
"datasource": {
946946
"type": "prometheus",
947-
"uid": "jd0Bh6aVz"
947+
"uid": "${DS_PROMETHEUS}"
948948
},
949949
"fieldConfig": {
950950
"defaults": {
@@ -1020,7 +1020,7 @@
10201020
{
10211021
"datasource": {
10221022
"type": "prometheus",
1023-
"uid": "jd0Bh6aVz"
1023+
"uid": "${DS_PROMETHEUS}"
10241024
},
10251025
"editorMode": "builder",
10261026
"expr": "rr_jobs_requests_total",

0 commit comments

Comments
 (0)