Skip to content

fix(metrics): update dashboards to currently used metrics - #9

Open
rbnis wants to merge 1 commit into
kgateway-dev:mainfrom
rbnis:fix/use-correct-metrics
Open

rbnis wants to merge 1 commit into
kgateway-dev:mainfrom
rbnis:fix/use-correct-metrics

Conversation

@rbnis

@rbnis rbnis commented Nov 24, 2026

Copy link
Copy Markdown

Description

This PR corrects multiple metrics used in the dashboards.

envoy:

  • changed envoy_cluster_manager_cluster_added_total to envoy_cluster_manager_cluster_added
  • changed envoy_cluster_manager_cluster_modified_total to envoy_cluster_manager_cluster_modified or vector(0)
  • changed envoy_cluster_warming_state to envoy_cluster_manager_warming_clusters or vector(0)
  • changed envoy_cluster_manager_cluster_removed_total to envoy_cluster_manager_cluster_removed or vector(0)
  • changed envoy_cluster_ext_authz_{denied,error}_total to envoy_cluster_ext_authz_{denied,error}
  • changed envoy_upstream_cx_connect_fail to envoy_cluster_upstream_cx_connect_fail

The or vector(0) parts are added to account for metrics that are only present after the first event.

kgateway

  • changed kgateway_*_duration_seconds to kgateway_*_duration_seconds_bucket

Change Type

/kind fix

Changelog

Fixed Envoy and kgateway metric names (dropped the `_total` suffix Envoy doesn't emit, added `_bucket` for histograms, corrected the warming-clusters and connect-failure metrics) and fall back to 0 for metrics that only appear after their first event.

Additional Notes

none

Signed-off-by: rbnis <5955614+rbnis@users.noreply.github.com>
@rbnis
rbnis force-pushed the fix/use-correct-metrics branch from 46dda62 to 72ba3da Compare November 24, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant