-
Notifications
You must be signed in to change notification settings - Fork 183
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
Don't scrape from headless services #895
Conversation
Fixes #776 |
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.
I think thats the correct solution. We could eventually add additional label for scraping metrics
@perk thoughts?
Yeah, I think that works for now but let's fix it properly in |
If we change the labels now, will it be considered a breaking change? |
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.
LGTM
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.
Valid point from @vsinghal13
@pmalek-sumo could you verify that?
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.
Verified, no need for --force
and change is not considered as breaking change
Description
This prevents prometheus double scraping fluentd pods by removing the annotations from headless services.
Testing performed