Skip to content
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

Clean Prometheus container metrics #345

Merged
merged 2 commits into from Dec 19, 2019

Conversation

vsinghal13
Copy link
Contributor

@vsinghal13 vsinghal13 commented Dec 19, 2019

Description

We discovered that there were duplicate container metrics ; one with container name and one without them. The metrics without the container name are the aggregate metrics.

This PR added the container name in the sourceLabels and modifies the regex accordingly.

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

Copy link
Contributor

@frankreno frankreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vsinghal13 vsinghal13 merged commit 0f22182 into master Dec 19, 2019
@vsinghal13 vsinghal13 deleted the vsinghal-clean-prometheus-container-metrics branch December 19, 2019 19:29
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.

None yet

3 participants