When making systems that communicate across apps with the HTTP protocol. It is valuable to be able to track calls across the apps in your logs to be able to track errors and bugs and fix them.
Telemetry can offer insights on which features end-users use most, and detection of bugs and issues.
After some investigation, I found out that Telemetry is actually built into the .Net 5.0+ framework, so we do not need to utilize some external frameworks like serilog or the opentelemetry library.
The .Net 5.0+ framework has enabled the W3C standard by default so that the traceparent and tracestate fields are propagated to the downstream dependencies in the header.
.Net 5.0+ even ships with the System.Diagnostic package which utilizes us to use Activities to trace in our apps.
Comments