Skip to content

Commit 6ede1d4

Browse files
i0ncjorge-graphops
andauthored
fix(subgraph-radio): set uids statically for programmatic dashboard deployment (#458)
--------- Co-authored-by: Carlos Jorge <carlos@graphops.xyz>
1 parent 557e0a2 commit 6ede1d4

File tree

3 files changed

+21
-39
lines changed

3 files changed

+21
-39
lines changed

charts/subgraph-radio/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.17
18+
version: 0.2.18
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/subgraph-radio/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Deploy a Graphcast Subgraph Radio into your Kubernetes stack
44

5-
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![Version: 0.2.17](https://img.shields.io/badge/Version-0.2.17-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.7](https://img.shields.io/badge/AppVersion-1.0.7-informational?style=flat-square)
5+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![Version: 0.2.18](https://img.shields.io/badge/Version-0.2.18-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.7](https://img.shields.io/badge/AppVersion-1.0.7-informational?style=flat-square)
66

77
## Introduction
88

charts/subgraph-radio/dashboards/subgraph-radio.json

Lines changed: 19 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
11
{
2-
"__inputs": [
3-
{
4-
"name": "DS_SUBGRAPH_RADIO DATASOURCE",
5-
"label": "Subgraph Radio Datasource",
6-
"description": "",
7-
"type": "datasource",
8-
"pluginId": "yesoreyeram-infinity-datasource",
9-
"pluginName": "Infinity"
10-
},
11-
{
12-
"name": "DS_PROMETHEUS",
13-
"label": "prometheus",
14-
"description": "",
15-
"type": "datasource",
16-
"pluginId": "prometheus",
17-
"pluginName": "Prometheus"
18-
}
19-
],
202
"__elements": {},
213
"__requires": [
224
{
@@ -94,7 +76,7 @@
9476
{
9577
"datasource": {
9678
"type": "yesoreyeram-infinity-datasource",
97-
"uid": "${DS_SUBGRAPH_RADIO DATASOURCE}"
79+
"uid": "ce0d87aedk5xce"
9880
},
9981
"fieldConfig": {
10082
"defaults": {
@@ -142,7 +124,7 @@
142124
"columns": [],
143125
"datasource": {
144126
"type": "yesoreyeram-infinity-datasource",
145-
"uid": "${DS_SUBGRAPH_RADIO DATASOURCE}"
127+
"uid": "ce0d87aedk5xce"
146128
},
147129
"filters": [
148130
{
@@ -210,7 +192,7 @@
210192
{
211193
"datasource": {
212194
"type": "prometheus",
213-
"uid": "${DS_PROMETHEUS}"
195+
"uid": "prometheus"
214196
},
215197
"fieldConfig": {
216198
"defaults": {
@@ -321,7 +303,7 @@
321303
{
322304
"datasource": {
323305
"type": "prometheus",
324-
"uid": "${DS_PROMETHEUS}"
306+
"uid": "prometheus"
325307
},
326308
"editorMode": "code",
327309
"exemplar": false,
@@ -334,7 +316,7 @@
334316
{
335317
"datasource": {
336318
"type": "prometheus",
337-
"uid": "${DS_PROMETHEUS}"
319+
"uid": "prometheus"
338320
},
339321
"exemplar": true,
340322
"expr": "graphcast_subgraph_radio_gossip_peers",
@@ -350,7 +332,7 @@
350332
{
351333
"datasource": {
352334
"type": "prometheus",
353-
"uid": "${DS_PROMETHEUS}"
335+
"uid": "prometheus"
354336
},
355337
"description": "Average metrics based on each scrape\n- counter for received valid messages\n- gauge of cached messages\n\n- cached messages \n",
356338
"fieldConfig": {
@@ -400,7 +382,7 @@
400382
{
401383
"datasource": {
402384
"type": "prometheus",
403-
"uid": "${DS_PROMETHEUS}"
385+
"uid": "prometheus"
404386
},
405387
"editorMode": "builder",
406388
"exemplar": false,
@@ -415,7 +397,7 @@
415397
{
416398
"datasource": {
417399
"type": "prometheus",
418-
"uid": "${DS_PROMETHEUS}"
400+
"uid": "prometheus"
419401
},
420402
"editorMode": "code",
421403
"exemplar": false,
@@ -429,7 +411,7 @@
429411
{
430412
"datasource": {
431413
"type": "prometheus",
432-
"uid": "${DS_PROMETHEUS}"
414+
"uid": "prometheus"
433415
},
434416
"exemplar": false,
435417
"expr": "sum(graphcast_subgraph_radio_received_messages)",
@@ -445,7 +427,7 @@
445427
{
446428
"datasource": {
447429
"type": "prometheus",
448-
"uid": "${DS_PROMETHEUS}"
430+
"uid": "prometheus"
449431
},
450432
"fieldConfig": {
451433
"defaults": {
@@ -525,7 +507,7 @@
525507
{
526508
"datasource": {
527509
"type": "prometheus",
528-
"uid": "${DS_PROMETHEUS}"
510+
"uid": "prometheus"
529511
},
530512
"exemplar": true,
531513
"expr": "function_calls_concurrent",
@@ -536,7 +518,7 @@
536518
{
537519
"datasource": {
538520
"type": "prometheus",
539-
"uid": "${DS_PROMETHEUS}"
521+
"uid": "prometheus"
540522
},
541523
"exemplar": true,
542524
"expr": "histogram_quantile(0.95, sum(rate(function_calls_duration_bucket[5m])) by (le))",
@@ -548,7 +530,7 @@
548530
{
549531
"datasource": {
550532
"type": "prometheus",
551-
"uid": "${DS_PROMETHEUS}"
533+
"uid": "prometheus"
552534
},
553535
"exemplar": true,
554536
"expr": "rate(function_calls_count[5m])",
@@ -564,7 +546,7 @@
564546
{
565547
"datasource": {
566548
"type": "yesoreyeram-infinity-datasource",
567-
"uid": "${DS_SUBGRAPH_RADIO DATASOURCE}"
549+
"uid": "ce0d87aedk5xce"
568550
},
569551
"fieldConfig": {
570552
"defaults": {
@@ -620,7 +602,7 @@
620602
"columns": [],
621603
"datasource": {
622604
"type": "yesoreyeram-infinity-datasource",
623-
"uid": "${DS_SUBGRAPH_RADIO DATASOURCE}"
605+
"uid": "ce0d87aedk5xce"
624606
},
625607
"filters": [],
626608
"format": "table",
@@ -689,7 +671,7 @@
689671
{
690672
"datasource": {
691673
"type": "prometheus",
692-
"uid": "${DS_PROMETHEUS}"
674+
"uid": "prometheus"
693675
},
694676
"fieldConfig": {
695677
"defaults": {
@@ -776,7 +758,7 @@
776758
{
777759
"datasource": {
778760
"type": "prometheus",
779-
"uid": "${DS_PROMETHEUS}"
761+
"uid": "prometheus"
780762
},
781763
"editorMode": "code",
782764
"exemplar": true,
@@ -793,7 +775,7 @@
793775
{
794776
"datasource": {
795777
"type": "prometheus",
796-
"uid": "${DS_PROMETHEUS}"
778+
"uid": "prometheus"
797779
},
798780
"fieldConfig": {
799781
"defaults": {
@@ -873,7 +855,7 @@
873855
{
874856
"datasource": {
875857
"type": "prometheus",
876-
"uid": "${DS_PROMETHEUS}"
858+
"uid": "prometheus"
877859
},
878860
"editorMode": "code",
879861
"exemplar": true,

0 commit comments

Comments
 (0)