OpenTSDB / opentsdb

A scalable, distributed Time Series Database.
http://opentsdb.net
GNU Lesser General Public License v2.1
5k stars 1.25k forks source link

Support for Prometheus remote read? #1908

Open cequencer opened 4 years ago

cequencer commented 4 years ago

According to Prometheus' documentation on "Remote Endpionts and Storage" only "remote write" support for OpenTSDB is available. What is the current status for supporting Prometheus' remote read support?

Is this a feature that is in the works? (I did a search against the issues here, but did not find any) Is this to be worked on for the OpenTSDB 2.x or 3.x branch? Hopefully this is the right place for this question.

A quick internet search shows some grass root attempts or inquiries but none of them are viable options.

  1. https://github.com/prometheus/prometheus/issues/4707
  2. https://github.com/caitong93/opentsdb-adapter
  3. https://stackoverflow.com/questions/59319736/what-that-mean-some-db-for-prometheus-remote-storage-have-no-read-adapter
  4. https://circleci.com/gh/G-Research/geras/tree/master

The most promising lead I could find was geras. But that build is currently failing and it is a relative new project. If there are other viable options I should look at, I am all ears.

Thanks!

manolama commented 3 years ago

We didn't have an API that would satisfy Prometheus' requirements I'm guessing as they likely want to push down a lot of functions to the remote. This should be easy to add with 3.x as we now have a Prometheus plugin that will accept PromQL. It's still alpha though and I need help testing it.