Hello Srikanth,
Prometheus is intended to pull metrics. The push gateway should only be used for short-running jobs that don't live long enough to be pulled.
To tell Prometheus about new nodes and clients, use the discovery
mechanisms of Prometheus - this is also the way it will work on
Kubernetes.
To give it a start without Kubernetes, have a look at "file_sd_config" discovery type: https://prometheus.io/docs/operating/configuration/#<file_sd_config>
--
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 post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/aa5979ee-b924-4394-b2ea-ea62b0bcf333%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Alexander Schwartz (alexander...@gmx.net) http://www.ahus1.de