-
Notifications
You must be signed in to change notification settings - Fork 3.4k
metrics: add structured format for Hubble metrics and options. #34849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
FYI @chancez |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM. My only thought is DynamicMetricsConfig
could probably be renamed since it's really the usage that determines whether or not it's dynamic. It's a bit confusing to have ParseStaticMetricsConfig
return a DynamicMetricsConfig
.
Commit 48e2e03 does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
48e2e03
to
a87326a
Compare
Commit 48e2e03 does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
a87326a
to
de6d5fe
Compare
de6d5fe
to
b17c643
Compare
65b2200
to
2045187
Compare
Signed-off-by: vakr <vakr@microsoft.com>
2045187
to
105f0af
Compare
@rolinh Squashed all commits. |
@chancez let me know if this is good |
/test |
Can we re-run the 3 failed jobs for extra signal? Known flake: in Conformance Runtime: #34731 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay in reviewing. Changes lgtm.
Re-submitting PR #32294 now that the requested Hubble metrics server test was added in #34325
All the work was authored by @vakalapa. In the commit I added, I addressed the small comments left on it and simplified the test code by removing some indirection when passing in
ContextOptionConfig
.This change adds a structured internal format for metrics and metrics options, instead of the existing string representation.
First PR in the series to implement:
https://github.com/cilium/design-cfps/blob/main/hubble/CFP-30788-managing-hubble-metrics-cardinality.md
CFP: cilium/design-cfps#29
Will follow up with code to derive this config from a new ConfigMap.
Checklist:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.