Skip to content

Google Managed Prometheus unable to set scrape_config? #545

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

You must be logged in to vote

The scrape config interface for managed collection is intentionally restricted to PodMonitorings and ClusterPodMonitorings for scalabilty and supportability reasons; if we allowed arbitrary scraping there is no way we could guarantee an SLA for managed collection. If your third party service exposes metrics on a pod within a cluster (or can appear as that way) then yes, you could use managed collection, otherwise you'll have to use one of the other collection options (self-deployed collection or OTel) for this use case. There's no harm in running more than one collection option at a time.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by adamstrawson
Comment options

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

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