Skip to content

Commit 1395640

Browse files
authored
feat(kupo-chart): Expand job search in request-rate by consumer (#32)
1 parent 788bec9 commit 1395640

1 file changed

Lines changed: 18 additions & 15 deletions

File tree

grafana/dashboards/shared/kupo.json

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"editable": true,
2525
"fiscalYearStartMonth": 0,
2626
"graphTooltip": 0,
27-
"id": 51,
27+
"id": 2601293922639872,
2828
"links": [],
2929
"panels": [
3030
{
@@ -121,7 +121,7 @@
121121
"sort": "none"
122122
}
123123
},
124-
"pluginVersion": "12.4.0-19938312174",
124+
"pluginVersion": "12.4.0-20781422371.patch1",
125125
"targets": [
126126
{
127127
"datasource": {
@@ -245,15 +245,15 @@
245245
"sort": "none"
246246
}
247247
},
248-
"pluginVersion": "12.4.0-19938312174",
248+
"pluginVersion": "12.4.0-20781422371.patch1",
249249
"targets": [
250250
{
251251
"datasource": {
252252
"type": "prometheus",
253253
"uid": "${datasource}"
254254
},
255255
"editorMode": "code",
256-
"expr": "sum by (consumer)(rate(kupo_proxy_http_total_request{namespace=~\"ftr-kupo-.*\", exported_instance=~\".*$network.*\", job=~\"ftr-kupo-v1/.*green.*$network\"}[1m]) > 0)",
256+
"expr": "sum by (consumer)(rate(kupo_proxy_http_total_request{namespace=~\"ftr-kupo-.*\", exported_instance=~\".*$network.*\", job=~\"ftr-kupo-v1/(kupo-)?proxy-green(-cardano)?-${network}(-podmonitor)?\"}[1m]) > 0)",
257257
"legendFormat": "__auto",
258258
"range": true,
259259
"refId": "A"
@@ -343,7 +343,7 @@
343343
"sort": "none"
344344
}
345345
},
346-
"pluginVersion": "12.4.0-19938312174",
346+
"pluginVersion": "12.4.0-20781422371.patch1",
347347
"targets": [
348348
{
349349
"datasource": {
@@ -441,7 +441,7 @@
441441
"sort": "none"
442442
}
443443
},
444-
"pluginVersion": "12.4.0-19938312174",
444+
"pluginVersion": "12.4.0-20781422371.patch1",
445445
"targets": [
446446
{
447447
"datasource": {
@@ -539,7 +539,7 @@
539539
"sort": "none"
540540
}
541541
},
542-
"pluginVersion": "12.4.0-19938312174",
542+
"pluginVersion": "12.4.0-20781422371.patch1",
543543
"targets": [
544544
{
545545
"datasource": {
@@ -650,7 +650,7 @@
650650
"sort": "none"
651651
}
652652
},
653-
"pluginVersion": "12.4.0-19938312174",
653+
"pluginVersion": "12.4.0-20781422371.patch1",
654654
"targets": [
655655
{
656656
"datasource": {
@@ -727,7 +727,7 @@
727727
"textMode": "auto",
728728
"wideLayout": true
729729
},
730-
"pluginVersion": "12.4.0-19938312174",
730+
"pluginVersion": "12.4.0-20781422371.patch1",
731731
"targets": [
732732
{
733733
"datasource": {
@@ -832,7 +832,7 @@
832832
"sort": "none"
833833
}
834834
},
835-
"pluginVersion": "12.4.0-19576184216",
835+
"pluginVersion": "12.4.0-20781422371.patch1",
836836
"targets": [
837837
{
838838
"datasource": {
@@ -937,7 +937,7 @@
937937
"sort": "none"
938938
}
939939
},
940-
"pluginVersion": "12.4.0-19576184216",
940+
"pluginVersion": "12.4.0-20781422371.patch1",
941941
"targets": [
942942
{
943943
"datasource": {
@@ -1019,7 +1019,7 @@
10191019
"sizing": "auto",
10201020
"valueMode": "color"
10211021
},
1022-
"pluginVersion": "12.4.0-19576184216",
1022+
"pluginVersion": "12.4.0-20781422371.patch1",
10231023
"targets": [
10241024
{
10251025
"datasource": {
@@ -1107,7 +1107,7 @@
11071107
"sort": "none"
11081108
}
11091109
},
1110-
"pluginVersion": "12.4.0-19576184216",
1110+
"pluginVersion": "12.4.0-20781422371.patch1",
11111111
"targets": [
11121112
{
11131113
"datasource": {
@@ -1155,7 +1155,8 @@
11551155
"name": "network",
11561156
"options": [],
11571157
"query": "mainnet,preprod,preview",
1158-
"type": "custom"
1158+
"type": "custom",
1159+
"valuesFormat": "csv"
11591160
},
11601161
{
11611162
"current": {
@@ -1177,6 +1178,7 @@
11771178
},
11781179
"refresh": 1,
11791180
"regex": "/.*pod=\"([^\"]+)/",
1181+
"regexApplyTo": "value",
11801182
"type": "query"
11811183
}
11821184
]
@@ -1189,5 +1191,6 @@
11891191
"timezone": "browser",
11901192
"title": "Cardano Kupo",
11911193
"uid": "b0d911a7-d917-41ad-a7f7-bfe4ede0e042",
1192-
"version": 7
1194+
"version": 4,
1195+
"weekStart": ""
11931196
}

0 commit comments

Comments
 (0)