This examples' objective is to show how you can:
- Configure Tracetest to ingest traces.
- Configure SigNoz and use it as a trace data store.
- Configure SigNoz to query traces.
-
Run
tracetest configure --server-url 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 trace spans to both the SigNoz instance and Tracetest instance that are running on your machine. View the test onhttp://localhost:11633
. -
View traces in SigNoz on
http://localhost:3301
. Use this query:http://localhost:3301/trace?selected={%22operation%22:[%22POST%20/pokemon/import%22]}&filterToFetchData=[%22duration%22,%22status%22,%22serviceName%22,%22operation%22]&spanAggregateCurrentPage=1&selectedTags=[]&&isFilterExclude={%22operation%22:false}&userSelectedFilter={%22serviceName%22:[%22pokeshop%22,%22tracetest%22],%22status%22:[%22error%22,%22ok%22],%22operation%22:[%22POST%20/pokemon/import%22]}&spanAggregateCurrentPage=1&spanAggregateOrder=&spanAggregateCurrentPageSize=10&spanAggregateOrderParam=