|
42 | 42 | {
|
43 | 43 | "datasource": {
|
44 | 44 | "type": "prometheus",
|
45 |
| - "uid": "<prometheus>" |
| 45 | + "uid": "$datasource" |
46 | 46 | },
|
47 | 47 | "description": "Seconds between blocks for each chain",
|
48 | 48 | "fieldConfig": {
|
|
119 | 119 | {
|
120 | 120 | "datasource": {
|
121 | 121 | "type": "prometheus",
|
122 |
| - "uid": "<prometheus>" |
| 122 | + "uid": "$datasource" |
123 | 123 | },
|
124 | 124 | "editorMode": "code",
|
125 | 125 | "expr": "1 / avg by(chain)(rate(hyperlane_block_height{hyperlane_deployment=~\"$deployment\",chain=~\"$chain\",agent=\"validator\"}[$__rate_interval]))",
|
|
135 | 135 | {
|
136 | 136 | "datasource": {
|
137 | 137 | "type": "prometheus",
|
138 |
| - "uid": "<prometheus>" |
| 138 | + "uid": "$datasource" |
139 | 139 | },
|
140 | 140 | "fieldConfig": {
|
141 | 141 | "defaults": {
|
|
181 | 181 | {
|
182 | 182 | "datasource": {
|
183 | 183 | "type": "prometheus",
|
184 |
| - "uid": "<prometheus>" |
| 184 | + "uid": "$datasource" |
185 | 185 | },
|
186 | 186 | "editorMode": "code",
|
187 | 187 | "expr": "max(hyperlane_block_height{agent=\"validator\", }) by (chain)",
|
|
196 | 196 | {
|
197 | 197 | "datasource": {
|
198 | 198 | "type": "prometheus",
|
199 |
| - "uid": "<prometheus>" |
| 199 | + "uid": "$datasource" |
200 | 200 | },
|
201 | 201 | "fieldConfig": {
|
202 | 202 | "defaults": {
|
|
242 | 242 | {
|
243 | 243 | "datasource": {
|
244 | 244 | "type": "prometheus",
|
245 |
| - "uid": "<prometheus>" |
| 245 | + "uid": "$datasource" |
246 | 246 | },
|
247 | 247 | "editorMode": "code",
|
248 | 248 | "exemplar": false,
|
|
260 | 260 | {
|
261 | 261 | "datasource": {
|
262 | 262 | "type": "prometheus",
|
263 |
| - "uid": "<prometheus>" |
| 263 | + "uid": "$datasource" |
264 | 264 | },
|
265 | 265 | "description": "Count of messages signed per time window",
|
266 | 266 | "fieldConfig": {
|
|
333 | 333 | {
|
334 | 334 | "datasource": {
|
335 | 335 | "type": "prometheus",
|
336 |
| - "uid": "<prometheus>" |
| 336 | + "uid": "$datasource" |
337 | 337 | },
|
338 | 338 | "editorMode": "code",
|
339 | 339 | "expr": "max by (chain)(hyperlane_latest_checkpoint{agent=\"validator\", chain=~\"$chain\", phase=\"validator_processed\"}) - max by (chain)(hyperlane_latest_checkpoint{agent=\"validator\", chain=~\"$chain\", phase=\"validator_processed\"} offset $bucket)",
|
|
349 | 349 | {
|
350 | 350 | "datasource": {
|
351 | 351 | "type": "prometheus",
|
352 |
| - "uid": "<prometheus>" |
| 352 | + "uid": "$datasource" |
353 | 353 | },
|
354 | 354 | "description": "If running multiple validator instances, the difference between the latest and earliest observed checkpoints for each chain.",
|
355 | 355 | "fieldConfig": {
|
|
424 | 424 | {
|
425 | 425 | "datasource": {
|
426 | 426 | "type": "prometheus",
|
427 |
| - "uid": "<prometheus>" |
| 427 | + "uid": "$datasource" |
428 | 428 | },
|
429 | 429 | "editorMode": "code",
|
430 | 430 | "expr": "max by(chain) (hyperlane_latest_checkpoint{agent=\"validator\", chain=~\"$chain\", phase=\"validator_observed\"}) - min by (chain)(hyperlane_latest_checkpoint{agent=\"validator\", chain=~\"$chain\", phase=\"validator_observed\"})",
|
|
440 | 440 | {
|
441 | 441 | "datasource": {
|
442 | 442 | "type": "prometheus",
|
443 |
| - "uid": "<prometheus>" |
| 443 | + "uid": "$datasource" |
444 | 444 | },
|
445 | 445 | "fieldConfig": {
|
446 | 446 | "defaults": {
|
|
523 | 523 | {
|
524 | 524 | "datasource": {
|
525 | 525 | "type": "prometheus",
|
526 |
| - "uid": "<prometheus>" |
| 526 | + "uid": "$datasource" |
527 | 527 | },
|
528 | 528 | "editorMode": "code",
|
529 | 529 | "exemplar": false,
|
|
541 | 541 | {
|
542 | 542 | "datasource": {
|
543 | 543 | "type": "prometheus",
|
544 |
| - "uid": "<prometheus>" |
| 544 | + "uid": "$datasource" |
545 | 545 | },
|
546 | 546 | "fieldConfig": {
|
547 | 547 | "defaults": {
|
|
612 | 612 | {
|
613 | 613 | "datasource": {
|
614 | 614 | "type": "prometheus",
|
615 |
| - "uid": "<prometheus>" |
| 615 | + "uid": "$datasource" |
616 | 616 | },
|
617 | 617 | "editorMode": "code",
|
618 | 618 | "exemplar": false,
|
|
629 | 629 | {
|
630 | 630 | "datasource": {
|
631 | 631 | "type": "prometheus",
|
632 |
| - "uid": "<prometheus>" |
| 632 | + "uid": "$datasource" |
633 | 633 | },
|
634 | 634 | "description": "Total number of contract calls made by chain for a period",
|
635 | 635 | "fieldConfig": {
|
|
706 | 706 | {
|
707 | 707 | "datasource": {
|
708 | 708 | "type": "prometheus",
|
709 |
| - "uid": "<prometheus>" |
| 709 | + "uid": "$datasource" |
710 | 710 | },
|
711 | 711 | "editorMode": "code",
|
712 | 712 | "expr": "sum by (chain)(increase(hyperlane_contract_call_count{ chain=~\"$chain\", agent=\"validator\"}[$bucket]))",
|
|
722 | 722 | {
|
723 | 723 | "datasource": {
|
724 | 724 | "type": "prometheus",
|
725 |
| - "uid": "<prometheus>" |
| 725 | + "uid": "$datasource" |
726 | 726 | },
|
727 | 727 | "description": "The rate at which we are making contract calls.",
|
728 | 728 | "fieldConfig": {
|
|
799 | 799 | {
|
800 | 800 | "datasource": {
|
801 | 801 | "type": "prometheus",
|
802 |
| - "uid": "<prometheus>" |
| 802 | + "uid": "$datasource" |
803 | 803 | },
|
804 | 804 | "editorMode": "code",
|
805 | 805 | "expr": "sum by (chain) (rate(hyperlane_contract_call_count{agent=\"validator\"}[$__rate_interval]))",
|
|
815 | 815 | {
|
816 | 816 | "datasource": {
|
817 | 817 | "type": "prometheus",
|
818 |
| - "uid": "<prometheus>" |
| 818 | + "uid": "$datasource" |
819 | 819 | },
|
820 | 820 | "description": "The average contract call duration by chain",
|
821 | 821 | "fieldConfig": {
|
|
892 | 892 | {
|
893 | 893 | "datasource": {
|
894 | 894 | "type": "prometheus",
|
895 |
| - "uid": "<prometheus>" |
| 895 | + "uid": "$datasource" |
896 | 896 | },
|
897 | 897 | "editorMode": "code",
|
898 | 898 | "expr": "avg by (chain)(rate(hyperlane_contract_call_count{agent=\"validator\",chain=~\"$chain\"}[$__rate_interval]) - rate(hyperlane_contract_call_duration_seconds{agent=\"validator\",chain=~\"$chain\"}[$__rate_interval]))",
|
|
918 | 918 | {
|
919 | 919 | "datasource": {
|
920 | 920 | "type": "prometheus",
|
921 |
| - "uid": "<prometheus>" |
| 921 | + "uid": "$datasource" |
922 | 922 | },
|
923 | 923 | "description": "",
|
924 | 924 | "fieldConfig": {
|
|
994 | 994 | {
|
995 | 995 | "datasource": {
|
996 | 996 | "type": "prometheus",
|
997 |
| - "uid": "<prometheus>" |
| 997 | + "uid": "$datasource" |
998 | 998 | },
|
999 | 999 | "editorMode": "code",
|
1000 | 1000 | "expr": "sum by (contract_name, function_name)(increase(hyperlane_contract_call_count{ chain=~\"$chain\", agent=\"validator\"}[$bucket]))",
|
|
1010 | 1010 | {
|
1011 | 1011 | "datasource": {
|
1012 | 1012 | "type": "prometheus",
|
1013 |
| - "uid": "<prometheus>" |
| 1013 | + "uid": "$datasource" |
1014 | 1014 | },
|
1015 | 1015 | "description": "",
|
1016 | 1016 | "fieldConfig": {
|
|
1086 | 1086 | {
|
1087 | 1087 | "datasource": {
|
1088 | 1088 | "type": "prometheus",
|
1089 |
| - "uid": "<prometheus>" |
| 1089 | + "uid": "$datasource" |
1090 | 1090 | },
|
1091 | 1091 | "editorMode": "code",
|
1092 | 1092 | "expr": "sum by (function_name,contract_name)(rate(hyperlane_contract_call_count{agent=\"validator\",chain=~\"$chain\"}[$__rate_interval]))",
|
|
1102 | 1102 | {
|
1103 | 1103 | "datasource": {
|
1104 | 1104 | "type": "prometheus",
|
1105 |
| - "uid": "<prometheus>" |
| 1105 | + "uid": "$datasource" |
1106 | 1106 | },
|
1107 | 1107 | "description": "",
|
1108 | 1108 | "fieldConfig": {
|
|
1178 | 1178 | {
|
1179 | 1179 | "datasource": {
|
1180 | 1180 | "type": "prometheus",
|
1181 |
| - "uid": "<prometheus>" |
| 1181 | + "uid": "$datasource" |
1182 | 1182 | },
|
1183 | 1183 | "editorMode": "code",
|
1184 | 1184 | "expr": "avg by (function_name,contract_name)(rate(hyperlane_contract_call_count{agent=\"validator\",chain=~\"$chain\"}[$__rate_interval]) - rate(hyperlane_contract_call_duration_seconds{agent=\"validator\",chain=~\"$chain\"}[$__rate_interval]))",
|
|
1204 | 1204 | "tags": [],
|
1205 | 1205 | "templating": {
|
1206 | 1206 | "list": [
|
| 1207 | + { |
| 1208 | + "current": { |
| 1209 | + "selected": true, |
| 1210 | + "text": "default", |
| 1211 | + "value": "default" |
| 1212 | + }, |
| 1213 | + "hide": 0, |
| 1214 | + "includeAll": false, |
| 1215 | + "label": "Data Source", |
| 1216 | + "multi": false, |
| 1217 | + "name": "datasource", |
| 1218 | + "options": [], |
| 1219 | + "query": "prometheus", |
| 1220 | + "queryValue": "", |
| 1221 | + "refresh": 1, |
| 1222 | + "regex": "", |
| 1223 | + "skipUrlSync": false, |
| 1224 | + "type": "datasource" |
| 1225 | + }, |
1207 | 1226 | {
|
1208 | 1227 | "auto": true,
|
1209 | 1228 | "auto_count": 30,
|
|
1277 | 1296 | },
|
1278 | 1297 | "datasource": {
|
1279 | 1298 | "type": "prometheus",
|
1280 |
| - "uid": "<prometheus>" |
| 1299 | + "uid": "$datasource" |
1281 | 1300 | },
|
1282 | 1301 | "definition": "label_values(hyperlane_block_height, hyperlane_deployment)",
|
1283 | 1302 | "hide": 0,
|
|
1308 | 1327 | },
|
1309 | 1328 | "datasource": {
|
1310 | 1329 | "type": "prometheus",
|
1311 |
| - "uid": "<prometheus>" |
| 1330 | + "uid": "$datasource" |
1312 | 1331 | },
|
1313 | 1332 | "definition": "label_values(hyperlane_block_height{hyperlane_deployment=~\"$deployment\"}, chain)",
|
1314 | 1333 | "hide": 0,
|
|
0 commit comments