Hi, I'm running a service in Cloud Run (https://cloud.google.com/run) and wondering what the best practice is here for setting up Prometheus. Specifically, I'm wondering how to handle the case when there are multiple container instances running behind a single Cloud Run API endpoint.
If there is only one container instance ever, then this is easy. I can simply deploy the Prometheus server along with my application server and expose it. Clients can hit the Cloud Run endpoint and get the metrics. However, if there is more than one container instance (during autoscaling for example) how will this work? Wouldn't a client request for metrics get sent to any of the backends? Is using a push gateway the best practice in this case? Thanks! -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/14b10ba8-afd6-4dc1-9e0a-d9dc2bbe64a5n%40googlegroups.com.

