Skip to content

Commit

Permalink
hosting(grafana): change increase duration in feed subscription compo…
Browse files Browse the repository at this point in the history
…nent (#160)
  • Loading branch information
ymgyt committed Sep 16, 2024
1 parent e1ec041 commit 7e5be0f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/terraform_apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
timeout-minutes: 60
permissions:
contents: read
# For posting terraform output to PR
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V28
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/terraform_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
timeout-minutes: 60
permissions:
contents: read
# For posting terraform output to PR
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V28
Expand Down
42 changes: 23 additions & 19 deletions hosting/terraform/grafana/dashboards/synd-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"sort": "none"
}
},
"pluginVersion": "11.3.0-75420",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -203,7 +203,7 @@
"sort": "none"
}
},
"pluginVersion": "11.3.0-75420",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand All @@ -212,7 +212,7 @@
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "increase(feed_subscription_total{job=\"syndicationd/synd-api\"}[6m])",
"expr": "increase(feed_subscription_total{job=\"syndicationd/synd-api\"}[1w])",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand All @@ -228,7 +228,7 @@
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "increase(feed_unsubscription_total{job=\"syndicationd/synd-api\"}[6m])",
"expr": "increase(feed_unsubscription_total{job=\"syndicationd/synd-api\"}[1w])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
Expand Down Expand Up @@ -291,7 +291,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.0-75420",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -366,7 +366,7 @@
"sizing": "auto",
"valueMode": "color"
},
"pluginVersion": "11.3.0-75420",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -475,7 +475,7 @@
"sort": "none"
}
},
"pluginVersion": "11.3.0-75420",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -629,7 +629,7 @@
"sort": "none"
}
},
"pluginVersion": "11.3.0-75420",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -732,7 +732,7 @@
"sort": "none"
}
},
"pluginVersion": "11.3.0-75420",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -776,7 +776,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -804,7 +805,7 @@
},
"showHeader": true
},
"pluginVersion": "11.3.0-75221",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -884,7 +885,7 @@
"sortOrder": "Descending",
"wrapLogMessage": true
},
"pluginVersion": "11.3.0-75221",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -948,7 +949,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
}
Expand All @@ -974,7 +976,7 @@
"sort": "none"
}
},
"pluginVersion": "11.3.0-75221",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1044,7 +1046,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -1075,7 +1078,7 @@
"sort": "none"
}
},
"pluginVersion": "11.3.0-75221",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1156,7 +1159,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
}
Expand Down Expand Up @@ -1186,7 +1190,7 @@
"sort": "none"
}
},
"pluginVersion": "11.3.0-75221",
"pluginVersion": "11.3.0-75812",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1223,6 +1227,6 @@
"timezone": "browser",
"title": "synd-api",
"uid": "cdd2yfdz497uoc",
"version": 43,
"version": 45,
"weekStart": ""
}

0 comments on commit 7e5be0f

Please sign in to comment.