Read the detailed recipe for setting up Jaeger with Tractest in our documentation.
This is a simple quick start on how to configure a .NET Core API to use OpenTelemetry instrumentation with traces and Tracetest for enhancing your E2E and integration tests with trace-based testing. The infrastructure will use Jaeger as the trace data store, and OpenTelemetry Collector to receive traces from the API and send them to Jaeger.
- Install the tracetest CLI
- Run
tracetest configure --server-url http://localhost:11633
on a terminal to configure the CLI to send all commands to that address - 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 execute a test against the .NET Core API that will send spans to Jaeger to be fetched from the Tracetest server.
Feel free to check out the docs, and join our Slack Community for more info!