Hey Guys,
I am using github.com/prometheus/client_golang/prometheus/push in my Golang code to push metrics to a push gateway.
But I wanted to understand the core difference between Add and Push. I am currently using Add to push the metrics but still have some confusions regarding which previous metrics will it
replace? Also, I want to use the pusher.Add function to be run after every 10 seconds rather than pushing metrics right away. How can I achieve that? The prometheus/push package doesn't have this kind of functionality.
Thank you.
This message and its attachments are confidential (or legally privileged) information and are meant solely for the addressee of such message. Any unauthorized use of the message / its attachments is strictly prohibited.
--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/a1df943c-1146-4c39-9983-f077952d1f28n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d86405bd-2fa0-4582-b1e2-7da4ab47bb3bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/cef48dee-05c4-45d5-91fb-921e51c631b9n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/e918fe7b-c698-4233-9eab-43fc55b524f8n%40googlegroups.com.