On 2021-09-16 08:30, Anoop wrote:
Hi,

As per my understanding the Prometheus is a pull based mechanism.
However, I would like to check if there is anyway to write data from
the application to prometheus instead of scraping data from
application?

I know it is possible using push gateway. But I am trying to avoid
using push gateway. Please let me know, if the prometheus can expose a
writer endpoint for the applications to send the data to prometheus.


Prometheus is designed as a pull based system. Things like the Pushgateway operate slightly differently, but they are designed for specific use cases (e.g. cron jobs) rather than being designed to convert Prometheus to push based. There are other tools to allow systems being firewalls, etc. to operate as well.

What is the specific use case/issue with using Prometheus as a pull based mechanism?

--
Stuart Clark

--
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/cd9950fb69c1dbf216e3cfc53bb51f24%40Jahingo.com.

Reply via email to