This tool bridges a PromQL HTTP API query backend to Thanos Querier, exposing a gRPC server that can be queried by Thanos Querier.
See the examples
directory for docker compose
setups.
-
Update the
config.yaml
file with your desired query target. -
Start the connector:
go run . \
--query.config-file=config.yaml
- Launch Thanos Querier:
git clone https://github.com/thanos-io/thanos.git
cd thanos
go run ./cmd/thanos query --endpoint :8081 --query.mode distributed --query.promql-engine thanos
- View Thanos Querier UI at address 0.0.0.0:10902.