14
Creating Your Own Conventions
Correlation is one of the most important parts of observability. Distributed tracing bring correlation by propagating trace context, allowing us to follow individual operations, and consistent attributes enable correlation across traces and other telemetry signals.
In Chapter 9, Best Practices, we talked about the importance of reusing standard attributes and following OpenTelemetry semantic conventions. Sometimes we need to go further and define our own conventions. Here, we’re going to explore how to define custom attributes and conventions and use them across the system.
First, we’ll list properties that should be standardized across the system, and then we’ll explore how to populate them with shared code. ...
Get Modern Distributed Tracing in .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.