This repository was archived by the owner on Jan 19, 2024. It is now read-only.
Creating scrape jobs vs. adding annotations to Kubernetes #242
christian-kreuzberger-dtx
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now prometheus-service works by creating scrape jobs for every stage and every possible candidate a service could have, e.g.:
prometheus-service/eventhandling/configureEvent.go
Lines 250 to 259 in 44488ab
I think this behaviour could be improved such that every service that should be monitored needs to have the correct annotations set, e.g.:
This would allow us to remove the code for creating scrape jobs in prometheus-service.
I'm not sure which behaviour would be considered best practice, so please let me know via answering or via voting 👍 if you favor this change, or 👎 if you are against this change.
Beta Was this translation helpful? Give feedback.
All reactions