greptimedb icon indicating copy to clipboard operation
greptimedb copied to clipboard

Prometheus support

Open yuanbohan opened this issue 3 years ago • 5 comments

features required

  • read data from db using PromQL
  • remote write
  • remote read

yuanbohan avatar Oct 17 '22 04:10 yuanbohan

And push gateway protocol

killme2008 avatar Oct 17 '22 06:10 killme2008

TODO:

  • [x] remote write
  • [x] remote read
  • [ ] push gateway

killme2008 avatar Oct 18 '22 07:10 killme2008

Remote Read potential performance issues

yuanbohan avatar Oct 21 '22 01:10 yuanbohan

Yep, we will implement the stream protocol.I am working on remote read right now.

killme2008 avatar Oct 21 '22 02:10 killme2008

Stream protocol is based on promethues's codec format, and it's an optimization between prometheus instances. So we don't need to impl it.

And the pushgateway in fact is a metric cache , not a push protocol at all.

We have to impl the PromQL in greptimedb in future.

killme2008 avatar Nov 01 '22 07:11 killme2008

Supports PromQL is tracked by https://github.com/GreptimeTeam/greptimedb/issues/596

So I close this issue.

killme2008 avatar Dec 09 '22 14:12 killme2008