Summary
In this chapter, we explored tracing in brownfield applications, where some of the services can be hard to change and onboard onto a full-fledged observability solution with OpenTelemetry.
We discussed possible levels of instrumentation for such services and found several cases when we can avoid changing old components altogether. Then, we went through the changes we can apply, starting with minimalistic transparent context propagation and going all the way to onboarding onto OpenTelemetry.
Finally, we applied some of these options in practice, enabling end-to-end correlation through a legacy service and forwarding file logs to the OpenTelemetry Collector.
Now, you should be ready to come up with the strategy for your own legacy components and have the building blocks to implement it.
This chapter concludes our journey into distributed tracing and observability on .NET – I hope you enjoyed it! The observability area is evolving fast, but now you have a foundational...