Skip to content

Commit

Permalink
updating interval from 30s to 5m
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedTremo committed Oct 18, 2024
1 parent 4032656 commit 961ce8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/spegel/monitoring/grafana-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
},
"targets": [
{
"expr": "sum(rate(spegel_mirror_requests_total{instance=~\"$instance\"}[30s])) by (cache, source)",
"expr": "sum(rate(spegel_mirror_requests_total{instance=~\"$instance\"}[5m])) by (cache, source)",
"legendFormat": "{{cache}} - {{source}}",
"refId": "A",
"datasource": {
Expand Down Expand Up @@ -138,7 +138,7 @@
},
"targets": [
{
"expr": "histogram_quantile(0.95, sum(rate(spegel_resolve_duration_seconds_bucket{instance=~\"$instance\"}[30s])) by (le, router, instance))",
"expr": "histogram_quantile(0.95, sum(rate(spegel_resolve_duration_seconds_bucket{instance=~\"$instance\"}[5m])) by (le, router, instance))",
"legendFormat": "{{router}} - {{instance}}",
"refId": "A",
"datasource": {
Expand Down Expand Up @@ -506,7 +506,7 @@
},
"targets": [
{
"expr": "histogram_quantile(0.95, sum(rate(http_response_size_bytes_bucket{instance=~\"$instance\"}[30s])) by (le, handler, method, code))",
"expr": "histogram_quantile(0.95, sum(rate(http_response_size_bytes_bucket{instance=~\"$instance\"}[5m])) by (le, handler, method, code))",
"legendFormat": "{{handler}} - {{method}} - {{code}}",
"refId": "A",
"datasource": {
Expand Down Expand Up @@ -563,7 +563,7 @@
},
"targets": [
{
"expr": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{instance=~\"$instance\"}[30s])) by (le, handler, method, code))",
"expr": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{instance=~\"$instance\"}[5m])) by (le, handler, method, code))",
"legendFormat": "{{handler}} - {{method}} - {{code}}",
"refId": "A",
"datasource": {
Expand Down

0 comments on commit 961ce8b

Please sign in to comment.