Table of Contents

Struct MessageObservability

Namespace
Excalibur.Dispatch.Metadata
Assembly
Excalibur.Dispatch.dll

Focused value type grouping the distributed-tracing observability metadata for a message.

public readonly record struct MessageObservability : IEquatable<MessageObservability>
Implements
Inherited Members
Extension Methods

Remarks

Composed onto MessageMetadata. Carries the W3C trace context fields. Holds at most ten properties to satisfy the Microsoft-first focused-value-type design guideline.

Properties

Baggage

Gets the W3C baggage information for cross-service communication.

public string? Baggage { get; init; }

Property Value

string

The W3C baggage or null.

TraceParent

Gets the W3C trace parent identifier for distributed tracing.

public string? TraceParent { get; init; }

Property Value

string

The W3C trace parent or null.

TraceState

Gets the W3C trace state information for distributed tracing.

public string? TraceState { get; init; }

Property Value

string

The W3C trace state or null.