|
90 | 90 | "uid": "edryyydtht14wa" |
91 | 91 | }, |
92 | 92 | "editorMode": "code", |
93 | | - "expr": "pyth_price_feeds_total{namespace=\"$chain\"}", |
| 93 | + "expr": "pyth_price_feeds_total{chain=\"$chain\"}", |
94 | 94 | "instant": true, |
95 | | - "legendFormat": "{{namespace}}", |
| 95 | + "legendFormat": "{{chain}}", |
96 | 96 | "range": false, |
97 | 97 | "refId": "A" |
98 | 98 | } |
|
169 | 169 | "uid": "edryyydtht14wa" |
170 | 170 | }, |
171 | 171 | "editorMode": "code", |
172 | | - "expr": "count(pyth_price_last_published_time{namespace=\"$chain\"})", |
| 172 | + "expr": "count(pyth_price_last_published_time{chain=\"$chain\"})", |
173 | 173 | "instant": true, |
174 | | - "legendFormat": "{{namespace}}", |
| 174 | + "legendFormat": "{{chain}}", |
175 | 175 | "range": false, |
176 | 176 | "refId": "A" |
177 | 177 | } |
|
252 | 252 | "uid": "edryyydtht14wa" |
253 | 253 | }, |
254 | 254 | "editorMode": "code", |
255 | | - "expr": "time() - pyth_price_last_published_time{namespace=\"$chain\"}", |
| 255 | + "expr": "time() - pyth_price_last_published_time{chain=\"$chain\"}", |
256 | 256 | "instant": true, |
257 | 257 | "legendFormat": "{{alias}}", |
258 | 258 | "range": false, |
|
383 | 383 | "uid": "edryyydtht14wa" |
384 | 384 | }, |
385 | 385 | "editorMode": "code", |
386 | | - "expr": "pyth_price_last_published_time{namespace=\"$chain\"}", |
| 386 | + "expr": "pyth_price_last_published_time{chain=\"$chain\"}", |
387 | 387 | "format": "table", |
388 | 388 | "instant": true, |
389 | 389 | "legendFormat": "__auto", |
|
396 | 396 | "uid": "edryyydtht14wa" |
397 | 397 | }, |
398 | 398 | "editorMode": "code", |
399 | | - "expr": "time() - pyth_price_last_published_time{namespace=\"$chain\"}", |
| 399 | + "expr": "time() - pyth_price_last_published_time{chain=\"$chain\"}", |
400 | 400 | "format": "table", |
401 | 401 | "instant": true, |
402 | 402 | "legendFormat": "__auto", |
|
409 | 409 | "uid": "edryyydtht14wa" |
410 | 410 | }, |
411 | 411 | "editorMode": "code", |
412 | | - "expr": "pyth_price_update_attempts_total{status=\"success\", namespace=\"$chain\"}", |
| 412 | + "expr": "pyth_price_update_attempts_total{status=\"success\", chain=\"$chain\"}", |
413 | 413 | "format": "table", |
414 | 414 | "instant": true, |
415 | 415 | "legendFormat": "__auto", |
|
606 | 606 | "uid": "edryyydtht14wa" |
607 | 607 | }, |
608 | 608 | "editorMode": "code", |
609 | | - "expr": "increase(pyth_price_update_attempts_total{status=\"success\", namespace=\"$chain\"}[$__range])", |
| 609 | + "expr": "increase(pyth_price_update_attempts_total{status=\"success\", chain=\"$chain\"}[$__range])", |
610 | 610 | "legendFormat": "{{alias}} - Updates", |
611 | 611 | "range": true, |
612 | 612 | "refId": "A" |
|
732 | 732 | "uid": "edryyydtht14wa" |
733 | 733 | }, |
734 | 734 | "editorMode": "code", |
735 | | - "expr": "sum by (trigger) (increase(pyth_price_update_attempts_total{namespace=\"$chain\"}[$__range]))", |
| 735 | + "expr": "sum by (trigger) (increase(pyth_price_update_attempts_total{chain=\"$chain\"}[$__range]))", |
736 | 736 | "instant": false, |
737 | 737 | "legendFormat": "{{trigger}}", |
738 | 738 | "range": true, |
|
819 | 819 | "uid": "edryyydtht14wa" |
820 | 820 | }, |
821 | 821 | "editorMode": "code", |
822 | | - "expr": "pyth_wallet_balance{namespace=\"$chain\"}", |
| 822 | + "expr": "pyth_wallet_balance{chain=\"$chain\"}", |
823 | 823 | "instant": true, |
824 | 824 | "legendFormat": "{{wallet_address}}", |
825 | 825 | "range": false, |
|
915 | 915 | "uid": "edryyydtht14wa" |
916 | 916 | }, |
917 | 917 | "editorMode": "code", |
918 | | - "expr": "pyth_wallet_balance{namespace=\"$chain\"}", |
| 918 | + "expr": "pyth_wallet_balance{chain=\"$chain\"}", |
919 | 919 | "legendFormat": "{{wallet_address}} ({{network}})", |
920 | 920 | "range": true, |
921 | 921 | "refId": "A" |
|
1024 | 1024 | "uid": "edryyydtht14wa" |
1025 | 1025 | }, |
1026 | 1026 | "editorMode": "code", |
1027 | | - "expr": "increase(pyth_price_update_attempts_total{status=\"error\", namespace=\"$chain\"}[$__range])", |
| 1027 | + "expr": "increase(pyth_price_update_attempts_total{status=\"error\", chain=\"$chain\"}[$__range])", |
1028 | 1028 | "legendFormat": "{{alias}} - Errors", |
1029 | 1029 | "range": true, |
1030 | 1030 | "refId": "A" |
|
1077 | 1077 | "uid": "ads9ouz3jh4hsa" |
1078 | 1078 | }, |
1079 | 1079 | "editorMode": "code", |
1080 | | - "expr": "{namespace=~\"$chain\"} | logfmt | json | msg =~ `.*(Price update successful|Transaction confirmed|Successfully updated price).*` | line_format `Tx Hash: {{.hash}}`", |
| 1080 | + "expr": "{chain=~\"$chain\"} | logfmt | json | msg =~ `.*(Price update successful|Transaction confirmed|Successfully updated price).*` | line_format `Tx Hash: {{.hash}}`", |
1081 | 1081 | "queryType": "range", |
1082 | 1082 | "refId": "A" |
1083 | 1083 | } |
|
1127 | 1127 | "uid": "ads9ouz3jh4hsa" |
1128 | 1128 | }, |
1129 | 1129 | "editorMode": "code", |
1130 | | - "expr": "{namespace=~\"$chain\"} | logfmt", |
| 1130 | + "expr": "{chain=~\"$chain\"} | logfmt", |
1131 | 1131 | "queryType": "range", |
1132 | 1132 | "refId": "A" |
1133 | 1133 | } |
|
1164 | 1164 | "uid": "ads9ouz3jh4hsa" |
1165 | 1165 | }, |
1166 | 1166 | "editorMode": "builder", |
1167 | | - "expr": "{namespace=~\"$chain\"} | logfmt | detected_level = `error`", |
| 1167 | + "expr": "{chain=~\"$chain\"} | logfmt | detected_level = `error`", |
1168 | 1168 | "queryType": "range", |
1169 | 1169 | "refId": "A" |
1170 | 1170 | } |
|
1202 | 1202 | "name": "chain", |
1203 | 1203 | "options": [], |
1204 | 1204 | "query": { |
1205 | | - "label": "namespace", |
| 1205 | + "label": "chain", |
1206 | 1206 | "refId": "LokiVariableQueryEditor-VariableQuery", |
1207 | 1207 | "stream": "", |
1208 | 1208 | "type": 1 |
|
0 commit comments