Skip to content

How to debug ScrapeConfig creation #6171

Closed Answered by LeoQuote
LeoQuote asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the issue you provided!

I also noticed about this helm value and I did set it to false

    scrapeConfigSelectorNilUsesHelmValues: false
    scrapeConfigSelector: {}
    scrapeConfigNamespaceSelector: {}

I just checked the Prometheus resource in monitoring namespace and found the scrapeConfigNamespaceSelector spec is unset , which would make ScrapeConfig in other namespace discoverable, I set it manually by kubectl edit, after that, ScrapeConfig can be discovered correctly.

I thought it would be working since it's identical with podmonitor , etc...

turns out there could be some bugs in helm chart, I'll try to submit a fix pr on helm chart if no one has done so.

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@LeoQuote
Comment options

Comment options

You must be logged in to vote
1 reply
@LeoQuote
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@LeoQuote
Comment options

Answer selected by slashpai
@slashpai
Comment options

Comment options

You must be logged in to vote
2 replies
@slashpai
Comment options

@LeoQuote
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants