Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTargets are missing when multiple scrape configs using kubernetes_sd are defined #3651
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I could replicate and it also happens with a single kube scrape job. the initial sync send all targets , but any additional sync seems to send only the updates. |
This comment has been minimized.
This comment has been minimized.
|
The corresponding PR is #3654 |
krasi-georgiev
referenced this issue
Jan 4, 2018
Merged
discovery - handle Discoverers that send only target Group updates. #3654
This comment has been minimized.
This comment has been minimized.
|
Fixed by #3654. |
simonpasquier
closed this
Jan 16, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
simonpasquier commentedJan 4, 2018
What did you do?
Configure Prometheus with several scrape configurations all using kubernetes_sd:
What did you expect to see?
All endpoints are detected by the service discovery and Prometheus scrapes them.
What did you see instead? Under which circumstances?
Instead I see only one group of endpoints (Prometheus endpoints for instance). If there's a change for one pod (eg it gets recreated after deletion) then it gets detected by Prometheus but the previous targets are gone.
The same Prometheus configuration works perfectly fine with the 2.0.0 version.
Environment
Linux 4.4.0-104-generic x86_64
prometheus, version 2.0.0 (branch: master, revision: ec94df4)
build user: pasquier-s@simon-trusty
build date: 20180104-09:35:39
go version: go1.9.2
N/A