Daniel Clark
Daniel Clark
@reith - Prometheus does not scrape targets at the same time, but uses an [offset algorithm](https://youtu.be/3-XwyId5Fog?si=R-BY3x7ddsmnt08t&t=31) to spread the load amongst the targets found in a job. Can you describe...
We absolutely welcome contributors @dnck! We're happy to review or collaborate on any designs
> The metric I'm trying to push is directly read from a DB; it's not a per-pod metric and I don't need to calculate the metric - run the query...
FYI @dnck - we have a PoC that @TheSpiritXIII and @bernot-dev put together in #766. We'll prioritize rolling this out in the near future as a supported offering. PTAL there...
Yea - if there's a particular pod that is, say `leader: true` or something, that could work.
It could also work if you have a special label on your metrics from one of the pods using [`metricRelabeling`](https://github.com/GoogleCloudPlatform/prometheus-engine/blob/3c74e4a0c39c412c8871bb61a74b2a071c5437a2/doc/api.md#monitoring.googleapis.com/v1.ScrapeEndpoint) to `drop` the time series from other pods. The fundamental...
> I don't understand why it'd need to watch endpoints. If we wanted service-monitoring, it may be preferable to watch `endpoints` so we can get the service labels _in addition...
Hi @f0o, We can take a look at supporting this. I am curious - how were metrics ingested with pods not `Running`? Presumably the containers wouldn't be available to scrape...
Gotcha - thanks for the context @f0o. We'll take a look at fixing.
Whoop - sorry for the delayed response here @f0o. Putting something together now