influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
28.21k stars 3.51k forks source link

InfluxDB2, Prometheus, remote_read #20519

Open ssmiller25 opened 3 years ago

ssmiller25 commented 3 years ago

Influx 1.x supported Promethues remote_read endpoints As part of a migration, we were planning to leveraged that API to allow Grafana reports written in PromQL queries to still leverage metrics pushed to InfluxDB. We leveraged a mini Prometheus agent that would have the ability to read data leveraging the remote_read endpont in order to parse the PromQL Language.

We would like to see Promethues remote_read support added to InfluxDB 2.0. Alternatively if InfluxDB could natively support PromQL so that we could leverage our existing dashboards without needed to modify them, that would also be a solution.

Split from #17958 to separate discussion from remote_write.

timhallinflux commented 3 years ago

thanks @ssmiller25

paladin-devops commented 2 years ago

Any updates on this feature? I would really prefer to use remote_read with Prometheus so I can keep my existing Grafana dashboards with a Prometheus data source, rather than migrate them to use the Influx DB data source.

timhallinflux commented 2 years ago

We have no immediate plans to add PromQL support.

B-Betty commented 2 years ago

+1, how can I use remote_read with Prometheus when I use InfluxDB2?

regnaio commented 2 years ago

Ouch, InfluxDB 2.x lost functionality compared to 1.x? No remote_read is a huge blocker

https://www.cncf.io/blog/2022/04/18/why-we-selected-thanos-for-long-term-metrics-storage/

bryanfang commented 8 months ago

Hi folks, can we have a update regarding this request? we can use telegraf to enable remote_write, how to configure for remote_read?