--
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/5b1bfff7-1b91-4092-9e49-a250141503bcn%40googlegroups.com.
Prometheus now has a "remote write" endpoint, but it's probably not what you want.If you want a Prometheus-style "push" metrics system, then VictoriaMetrics may suit you better.Its query protocol is compatible with prometheus, and its query language is a superset of PromQL - so you can point Grafana dashboards at it as if it were prometheus, and they won't know the difference.
On Thursday, 16 September 2021 at 08:59:55 UTC+1 Stuart Clark wrote: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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/5b1bfff7-1b91-4092-9e49-a250141503bcn%40googlegroups.com.