Hello All, I am trying to create an aggregation visualization in Grafana for a metric(gauge) scraped from Pushgateway using prometheus. Since Pushgateway does not have a TTL the same metrics appears over and over again based on the scrape interval configured. Hence lots of duplicate values gets added up in my aggregation. What would be the best way to go about here? Example below
no_of_recrods_processed at time t1-> 200, t2->300, t3->100 , if these values are sent to Pushgateway at respective times and then Prometheus scrapes these at every 1 min. Then when I created a visualization in Grafana for sum of all records over time t1,t2,t3 I should get 600 but I get a sum of all the scrapes which might include (200,200,300,300,300,100,100) and I get an extrapolated sum which is not correct. I don't see a distinct in prometheus also. any suggestions is very helpful -- 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/33b76211-8feb-4b4c-a0be-08108865de12n%40googlegroups.com.

