Technical requirements
The code for this chapter is available in this book’s repository on GitHub at https://github.com/PacktPublishing/Modern-Distributed-Tracing-in-.NET/tree/main/chapter4. It consists of the following components:
- The
issues
application, which contains examples of performance issues loadgenerator
, which is a tool that generates load to reproduce problems
To run samples and perform analysis, we’ll need the following tools:
- .NET SDK 7.0 or later.
- The .NET
dotnet-trace
,dotnet-stack
, anddotnet-dump
diagnostics tools. Please install each of them withdotnet tool install –
global dotnet-<tool>
. - Docker and
docker-compose
.
To run the samples in this chapter, start the observability stack, which consists of Jaeger, Prometheus, and the OpenTelemetry collector, with docker-compose up
.
Make sure that you start the issues app in the Release configuration – for example, by calling dotnet run -c Release...