-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add labels to scrape cilium agent and operator metrics #14747
Conversation
…rics of cilium agent and cilium operator respectively Signed-off-by: Livingstone S E <[email protected]>
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.
Looks good to me, thank you!
test-me-please |
retest-runtime |
retest-net-next |
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.
Thank @lyveng for the contribution, LGTM!
retest-netnext |
Should this be backported to Cilium v1.9? |
The prometheus queries in dashboards provided as part of the cilium examples use the labels k8s_app(in cilium agent) and io_cilium_app(in cilium operator) as metric labels. But the service monitor manifests provided as part of the helm chart don't add these labels as part of scraping the metrics. As part of this PR I've added these labels to the targetLabels of the serviceMonitor manifests. Ref slack conversation