If you've landed here, you've probably just listened to me speak. I hope it wasn't too boring!
The accompanying blog article series on The Modern Observability Problem and OpenTelemetry.
This is a small demo consisting 4 Docker containers:
- 2 x .NET 6 web apps
- An OpenTelemetry Collector
- Jaeger
And a Application Insights instance in Azure.
You will need an Azure subscription. You can get a free account here.
-
In your Azure subscription, create a new Application Insights instance.
-
Add the instrumentation key from that instance to
otel-collector-config.yml
:
exporters:
azuremonitor:
instrumentation_key: <paste key here>
- Add the full Application Insights connection string to
appsettings.json
in Service B:
"ApplicationInsights": {
"ConnectionString": <paste connection string here>
}
Build and start the containers using start.bat
.
When the containers are running, visit the URL http://localhost:5001/ping
. This will call Service B on http://localhost:6001/ping
to demonstrate the end-to-end telemetry.
Some calls Service B are set to throw exceptions to generate examples if errors also.