[prometheus-users] Re: Setup telegraf + Prometheus + Grafana on CentOS Linux release 7.7.1908 (Core).

2020-03-25 Thread Daniel Horecki
Telegraf has a plugin to act as a prometheus client. Then it can pull data 
from it:

https://github.com/influxdata/telegraf/tree/master/plugins/outputs/prometheus_client

On Tuesday, 24 March 2020 19:58:03 UTC, Brian Candler wrote:
>
> On Tuesday, 24 March 2020 18:41:48 UTC, Kaushal Shriyan wrote:
>>
>> Any plugin or module to allow telegraf agent to push metrics to the 
>> Prometheus time-series database?
>>
>>
> Sorry if I wasn't clear before, but I can't think of a clearer way to say 
> it: *you cannot push data to Prometheus*.
>
> Prometheus is a pull-only system.  Prometheus connects to data sources to 
> ingest data.
>
> https://prometheus.io/blog/2016/07/23/pull-does-not-scale-or-does-it/
>
> Regards,
>
> Brian.
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/8be11569-111b-4a78-8ea8-5ef2367a5b5b%40googlegroups.com.


[prometheus-users] Re: Setup telegraf + Prometheus + Grafana on CentOS Linux release 7.7.1908 (Core).

2020-03-24 Thread Brian Candler
On Tuesday, 24 March 2020 18:41:48 UTC, Kaushal Shriyan wrote:
>
> Any plugin or module to allow telegraf agent to push metrics to the 
> Prometheus time-series database?
>
>
Sorry if I wasn't clear before, but I can't think of a clearer way to say 
it: *you cannot push data to Prometheus*.

Prometheus is a pull-only system.  Prometheus connects to data sources to 
ingest data.

https://prometheus.io/blog/2016/07/23/pull-does-not-scale-or-does-it/

Regards,

Brian.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/cf73b7f2-45a7-4d0e-a59d-a57408baee17%40googlegroups.com.


Re: [prometheus-users] Re: Setup telegraf + Prometheus + Grafana on CentOS Linux release 7.7.1908 (Core).

2020-03-24 Thread Ben Kochie
On Tue, Mar 24, 2020 at 7:41 PM Kaushal Shriyan 
wrote:

>
>
> On Wednesday, 25 March 2020 00:04:34 UTC+5:30, Brian Candler wrote:
>>
>> You can't push to Prometheus like that.
>>
>> Have a look at VictoriaMetrics, which *does* support push (including the
>> influxdb line protocol used by telegraf). It also supports the Prometheus
>> query API, so you can query it from Grafana dashboard just like a
>> Prometheus server.
>>
>
> Hi Brian,
>
> So Prometheus does not support telegraf. I am not sure if I completely
> understand it. InfluxDB is a time-series database while Prometheus is also
> a time-series database. Any plugin or module to allow telegraf agent to
> push metrics to the Prometheus time-series database?
>

Prometheus is not a time-series database. Prometheus is a monitoring system
that operates on metrics and happens to include a very good time-series
database to support this functionality.


>
> Best Regards,
>
> Kaushal
>
> --
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/80a98c21-16fb-4d41-8605-5698853d4b05%40googlegroups.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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABbyFmrdnzf7hyDuNy1DPGgj%3Dsh%2B_-%3DNc7xWEBeM3n4D%3Dveo2A%40mail.gmail.com.


[prometheus-users] Re: Setup telegraf + Prometheus + Grafana on CentOS Linux release 7.7.1908 (Core).

2020-03-24 Thread Kaushal Shriyan


On Wednesday, 25 March 2020 00:04:34 UTC+5:30, Brian Candler wrote:
>
> You can't push to Prometheus like that.
>
> Have a look at VictoriaMetrics, which *does* support push (including the 
> influxdb line protocol used by telegraf). It also supports the Prometheus 
> query API, so you can query it from Grafana dashboard just like a 
> Prometheus server.
>

Hi Brian,

So Prometheus does not support telegraf. I am not sure if I completely 
understand it. InfluxDB is a time-series database while Prometheus is also 
a time-series database. Any plugin or module to allow telegraf agent to 
push metrics to the Prometheus time-series database?

Best Regards,

Kaushal

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/80a98c21-16fb-4d41-8605-5698853d4b05%40googlegroups.com.


[prometheus-users] Re: Setup telegraf + Prometheus + Grafana on CentOS Linux release 7.7.1908 (Core).

2020-03-24 Thread Brian Candler
You can't push to Prometheus like that.

Have a look at VictoriaMetrics, which *does* support push (including the 
influxdb line protocol used by telegraf). It also supports the Prometheus 
query API, so you can query it from Grafana dashboard just like a 
Prometheus server.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/615cef0e-8c60-45bf-838b-9c5942d76e90%40googlegroups.com.