G-Research / geras

Geras provides a Thanos Store API for the OpenTSDB HTTP API. This makes it possible to query OpenTSDB via PromQL, through Thanos.
https://github.com/G-Research/geras
Apache License 2.0
38 stars 16 forks source link

Could not worked with thanos ? #78

Closed Jamlee closed 4 years ago

Jamlee commented 4 years ago

I get error like below image

this is my docker-compose.yml, the geras is master version image

dgl commented 4 years ago

It looks like this is the metric used for healthchecking that isn't found: https://github.com/G-Research/geras/blob/master/cmd/geras/main.go#L109

What version of OpenTSDB -- I'd expect this to not be failing? If you run with -trace-dumpbody and look at http://geras:19001/debug/requests?fam=grpc.Recv.Store&b=0&exp=1 (where geras is your geras container IP if needed) you'll see the requests which maybe have a better error message.

Jamlee commented 4 years ago

yes, i use the opentsdb v2.3.1, after i change the metric name, it worked. thanks buddy.