This repo contains a simple microservice based application to demonstrate using OpenTelemetry.
There is a Makefile included in the root of the project. If you use Make you can run the project with:
make up_build
This will build all necessary Docker images and run Docker compose. Alternatively, you can run the Docker command directly:
docker-compose up --build -d
The UI has not been built yet. At the moment, you can query the /orders
API directly on the endpoint http://localhost:5002/api/orders
.
Make a POST
request with the following body:
{
"userId": 1
}
You'll see a request of varying latency and also varying success. Head over to Grafana and click Run Query
to see the trace.