Skip to content

Refresh ServiceMonitors #1437

Answered by paulfantom
Evynglais asked this question in Q&A
Oct 14, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

We don't provide helm chart as it lives in https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack.

I recommend the following:

  1. Check prometheus-operator logs to verify if there is something abnormal happening
  2. Go to prometheus UI /service-discovery and check if your service is present there. If it is then ServiceMonitor was picked up and the issue is with incorrectly selected port in endpoints field
  3. If your serviceMonitor is not registered in /service-discovery then check what is the value of serviceMonitorSelector field in your Prometheus object and adjusting ServiceMonitor labels accordingly. Value of {} selects all serviceMonitors.
  4. If you still don't …

Replies: 2 comments 1 reply

Comment options

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

Answer selected by Evynglais
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants