Using instrumentations for popular libraries
In the previous chapter, we saw how to enable tracing for the .NET platform, ASP.NET Core, and Entity Framework to cover the basics, but anyone can create instrumentation for a popular library and share it with the community. Also, with tracing and metrics primitives being part of .NET and OpenTelemetry to collect data in a vendor-agnostic way, libraries can add native instrumentation.
There are multiple terms that describe different kinds of instrumentations:
- Auto-instrumentation sometimes implies that instrumentation can be enabled without any modification of application code, but is sometimes used to describe any shared instrumentation that is easy to enable.
- Instrumentation library means that you can enable instrumentation by installing the corresponding NuGet package and configuring it with a few lines of code at startup time.
- Native instrumentation implies that instrumentation code is a part of the library, so no...