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

Add distributed tracing (OpenTelemetry, Jaeger exporter) #89

Closed kradalby closed 3 years ago

kradalby commented 3 years ago

This commit adds basic distributed tracing by instrumenting the grpc server and the http client with the OpenTelemetry framework. This is intended as an initial stepping stone to add "deeper" specific Geras traces in the future.

With this commit, a request can be traced from Prometheus through thanos-remote-read (or Thanos) through Geras and exported to Jaeger.

kradalby commented 3 years ago

PTAL @dgl