From 4df757f80c274ac6d715bfd725a66a13e2cdc403 Mon Sep 17 00:00:00 2001 From: Puru <5674762+tuladhar@users.noreply.github.com> Date: Wed, 10 Apr 2024 18:59:04 +0545 Subject: [PATCH] Fixes "All Dex requests" panel showing "No data" by increasing query interval to 2m. (#489) --- CHANGELOG.md | 4 ++++ .../public_dashboards/dashboards/shared/public/dex.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c227dea..76a0b17a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Fixes "All Dex requests" panel showing "No data" by increasing query interval to 2m. + ## [3.10.3] - 2024-04-10 ### Changed diff --git a/helm/dashboards/charts/public_dashboards/dashboards/shared/public/dex.json b/helm/dashboards/charts/public_dashboards/dashboards/shared/public/dex.json index a797d5ec..5ec2fae4 100644 --- a/helm/dashboards/charts/public_dashboards/dashboards/shared/public/dex.json +++ b/helm/dashboards/charts/public_dashboards/dashboards/shared/public/dex.json @@ -492,7 +492,7 @@ { "datasource": "default", "exemplar": true, - "expr": "sum(increase(http_requests_total{cluster_id=\"$cluster\",organization=~\"$organization\",app=\"dex\",handler!=\"/healthz\"}[1m])) by (handler, method, code)", + "expr": "sum(increase(http_requests_total{cluster_id=\"$cluster\",organization=~\"$organization\",app=\"dex\",handler!=\"/healthz\"}[2m])) by (handler, method, code)", "format": "time_series", "interval": "", "intervalFactor": 1,