Skip to content

Commit 7e5be0f

Browse files
authored
hosting(grafana): change increase duration in feed subscription component (#160)
1 parent e1ec041 commit 7e5be0f

File tree

3 files changed

+27
-19
lines changed

3 files changed

+27
-19
lines changed

.github/workflows/terraform_apply.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
timeout-minutes: 60
1515
permissions:
1616
contents: read
17+
# For posting terraform output to PR
18+
pull-requests: write
1719
steps:
1820
- uses: actions/checkout@v4
1921
- uses: cachix/install-nix-action@V28

.github/workflows/terraform_plan.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
timeout-minutes: 60
1414
permissions:
1515
contents: read
16+
# For posting terraform output to PR
17+
pull-requests: write
1618
steps:
1719
- uses: actions/checkout@v4
1820
- uses: cachix/install-nix-action@V28

hosting/terraform/grafana/dashboards/synd-api.json

+23-19
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"sort": "none"
102102
}
103103
},
104-
"pluginVersion": "11.3.0-75420",
104+
"pluginVersion": "11.3.0-75812",
105105
"targets": [
106106
{
107107
"datasource": {
@@ -203,7 +203,7 @@
203203
"sort": "none"
204204
}
205205
},
206-
"pluginVersion": "11.3.0-75420",
206+
"pluginVersion": "11.3.0-75812",
207207
"targets": [
208208
{
209209
"datasource": {
@@ -212,7 +212,7 @@
212212
},
213213
"disableTextWrap": false,
214214
"editorMode": "code",
215-
"expr": "increase(feed_subscription_total{job=\"syndicationd/synd-api\"}[6m])",
215+
"expr": "increase(feed_subscription_total{job=\"syndicationd/synd-api\"}[1w])",
216216
"fullMetaSearch": false,
217217
"includeNullMetadata": true,
218218
"instant": false,
@@ -228,7 +228,7 @@
228228
},
229229
"disableTextWrap": false,
230230
"editorMode": "code",
231-
"expr": "increase(feed_unsubscription_total{job=\"syndicationd/synd-api\"}[6m])",
231+
"expr": "increase(feed_unsubscription_total{job=\"syndicationd/synd-api\"}[1w])",
232232
"fullMetaSearch": false,
233233
"hide": false,
234234
"includeNullMetadata": true,
@@ -291,7 +291,7 @@
291291
"textMode": "auto",
292292
"wideLayout": true
293293
},
294-
"pluginVersion": "11.3.0-75420",
294+
"pluginVersion": "11.3.0-75812",
295295
"targets": [
296296
{
297297
"datasource": {
@@ -366,7 +366,7 @@
366366
"sizing": "auto",
367367
"valueMode": "color"
368368
},
369-
"pluginVersion": "11.3.0-75420",
369+
"pluginVersion": "11.3.0-75812",
370370
"targets": [
371371
{
372372
"datasource": {
@@ -475,7 +475,7 @@
475475
"sort": "none"
476476
}
477477
},
478-
"pluginVersion": "11.3.0-75420",
478+
"pluginVersion": "11.3.0-75812",
479479
"targets": [
480480
{
481481
"datasource": {
@@ -629,7 +629,7 @@
629629
"sort": "none"
630630
}
631631
},
632-
"pluginVersion": "11.3.0-75420",
632+
"pluginVersion": "11.3.0-75812",
633633
"targets": [
634634
{
635635
"datasource": {
@@ -732,7 +732,7 @@
732732
"sort": "none"
733733
}
734734
},
735-
"pluginVersion": "11.3.0-75420",
735+
"pluginVersion": "11.3.0-75812",
736736
"targets": [
737737
{
738738
"datasource": {
@@ -776,7 +776,8 @@
776776
"mode": "absolute",
777777
"steps": [
778778
{
779-
"color": "green"
779+
"color": "green",
780+
"value": null
780781
},
781782
{
782783
"color": "red",
@@ -804,7 +805,7 @@
804805
},
805806
"showHeader": true
806807
},
807-
"pluginVersion": "11.3.0-75221",
808+
"pluginVersion": "11.3.0-75812",
808809
"targets": [
809810
{
810811
"datasource": {
@@ -884,7 +885,7 @@
884885
"sortOrder": "Descending",
885886
"wrapLogMessage": true
886887
},
887-
"pluginVersion": "11.3.0-75221",
888+
"pluginVersion": "11.3.0-75812",
888889
"targets": [
889890
{
890891
"datasource": {
@@ -948,7 +949,8 @@
948949
"mode": "absolute",
949950
"steps": [
950951
{
951-
"color": "green"
952+
"color": "green",
953+
"value": null
952954
}
953955
]
954956
}
@@ -974,7 +976,7 @@
974976
"sort": "none"
975977
}
976978
},
977-
"pluginVersion": "11.3.0-75221",
979+
"pluginVersion": "11.3.0-75812",
978980
"targets": [
979981
{
980982
"datasource": {
@@ -1044,7 +1046,8 @@
10441046
"mode": "absolute",
10451047
"steps": [
10461048
{
1047-
"color": "green"
1049+
"color": "green",
1050+
"value": null
10481051
},
10491052
{
10501053
"color": "red",
@@ -1075,7 +1078,7 @@
10751078
"sort": "none"
10761079
}
10771080
},
1078-
"pluginVersion": "11.3.0-75221",
1081+
"pluginVersion": "11.3.0-75812",
10791082
"targets": [
10801083
{
10811084
"datasource": {
@@ -1156,7 +1159,8 @@
11561159
"mode": "absolute",
11571160
"steps": [
11581161
{
1159-
"color": "green"
1162+
"color": "green",
1163+
"value": null
11601164
}
11611165
]
11621166
}
@@ -1186,7 +1190,7 @@
11861190
"sort": "none"
11871191
}
11881192
},
1189-
"pluginVersion": "11.3.0-75221",
1193+
"pluginVersion": "11.3.0-75812",
11901194
"targets": [
11911195
{
11921196
"datasource": {
@@ -1223,6 +1227,6 @@
12231227
"timezone": "browser",
12241228
"title": "synd-api",
12251229
"uid": "cdd2yfdz497uoc",
1226-
"version": 43,
1230+
"version": 45,
12271231
"weekStart": ""
12281232
}

0 commit comments

Comments
 (0)