On Thu, Sep 16, 2021 at 6:46 PM Brian Candler <[email protected]> wrote:

> 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.
>
> https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#how-to-import-time-series-data
>
> 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.
>

It's important to note when mentioning this that VictoriaMetrics is
intentionally (and unintentionally) *not* PromQL compatible in multiple
ways, see
https://promlabs.com/blog/2020/08/06/comparing-promql-correctness-across-vendors
and
https://promlabs.com/blog/2020/11/26/an-update-on-promql-compatibility-across-vendors.
So when using it, you cannot rely on open Prometheus ecosystem tooling
anymore to work properly with it.


>
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/5b1bfff7-1b91-4092-9e49-a250141503bcn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/5b1bfff7-1b91-4092-9e49-a250141503bcn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Julius Volz
PromLabs - promlabs.com

-- 
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/CAObpH5zwB6ke1FHRf749Y8ySqSsMb9vyQWVjUY3iFP7GeDpPig%40mail.gmail.com.

Reply via email to