On 15.07.21 16:41, Shaahul Hameed wrote: > > When I delete the group metrics in Pushgateway, the corresponding(consumed) > metrics in Prometheus and Thanos store gets removed as well. I can see the > metrics is uploaded to S3 by sidecar but don't understand why the metrics > is lost when it disappears in Pushgateway. > > I thought the metrics should stay in Prometheus/Thanos even if it gets lost > in Pushgateway.
What do you mean by "lost"? If you run an instant query for the current timestamp, they will not show up anymore once they cannot be scraped from the Pushgateway anymore. But if you run an instant query for the relevant past, or just a range query covering the relevant past, you should still see them. -- Björn Rabenstein [PGP-ID] 0x851C3DA17D748D03 [email] [email protected] -- 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/20210720110305.GS3656%40jahnn.

