Skip to content

thanos-community/thanos-promql-connector

Repository files navigation

thanos-promql-connector

This tool bridges a PromQL HTTP API query backend to Thanos Querier, exposing a gRPC server that can be queried by Thanos Querier.

How to Run

See the examples directory for docker compose setups.

Test and Debugging instructions

  1. Update the config.yaml file with your desired query target.

  2. Start the connector:

go run . \
    --query.config-file=config.yaml
  1. 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
  1. View Thanos Querier UI at address 0.0.0.0:10902.