monitoring: update CustomResourceStateMetrics to v1 and fix metric naming conventions#8286
Open
mrhapile wants to merge 2 commits intoenvoyproxy:mainfrom
Open
monitoring: update CustomResourceStateMetrics to v1 and fix metric naming conventions#8286mrhapile wants to merge 2 commits intoenvoyproxy:mainfrom
mrhapile wants to merge 2 commits intoenvoyproxy:mainfrom
Conversation
Signed-off-by: mrhapile <allinonegaming3456@gmail.com>
✅ Deploy Preview for cerulean-figolla-1f9435 canceled.
|
zirain
reviewed
Feb 17, 2026
Signed-off-by: mrhapile <allinonegaming3456@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8286 +/- ##
==========================================
+ Coverage 73.57% 73.59% +0.01%
==========================================
Files 242 242
Lines 37000 37000
==========================================
+ Hits 27224 27231 +7
+ Misses 7854 7850 -4
+ Partials 1922 1919 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
fix(monitoring): update CustomResourceStateMetrics to v1 and align metric naming
What this PR does / why we need it:
This PR updates the
CustomResourceStateMetricsconfiguration in thegateway-addonschart to align with the current Gateway APIv1resources and kube-state-metrics naming conventions.Specifically, this change:
Updates all
groupVersionKind.versionfields from deprecatedv1alpha*versions tov1for:Adds
nilIsZero: trueto alldeletionTimestampgauge metrics to prevent nil resolution warnings such as:"got nil while resolving path"
Renames Info metrics from
labelstolabels_infoto comply with the kube-state-metrics_infosuffix requirement and eliminate warnings like:"Info metric does not have _info suffix"
These updates remove deprecated API warnings (e.g. BackendTLSPolicy v1alpha3 deprecation warnings), prevent noisy log errors for deleted resources, and ensure compatibility with the current Gateway API and kube-state-metrics behavior.
This change only affects monitoring configuration. No API changes or behavioral changes to Gateway functionality are introduced.
Which issue(s) this PR fixes:
Fixes #8284
Release Notes: Yes