This examples' objective is to show how you can:
- Configure your Tracetest instance to connect to Grafana Tempo and use it as a trace data store.
- Configure Grafana to query traces from Tempo
-
Run
tracetest configure --endpoint http://localhost:11633
on a terminal -
Run the project by using docker-compose:
docker-compose up -d
(Linux) ordocker compose up -d
(Mac) -
Test if it works by running:
tracetest run test -f tests/test.yaml
. This would trigger a test that will send and retrieve spans from the Grafana Tempo instance that is running on your machine. View the test onhttp://localhost:11633
. -
View traces in Grafana on
http://localhost:3000
. Use this TraceQL query:{ name="Tracetest trigger" } || { name="POST /pokemon/import?" } || { name="POST /pokemon/import" }