Class ContextTracingOptions
- Namespace
- Excalibur.Dispatch.Observability.Context
- Assembly
- Excalibur.Dispatch.Observability.dll
Tracing configuration options for context observability.
public sealed class ContextTracingOptions
- Inheritance
-
ContextTracingOptions
- Inherited Members
- Extension Methods
Remarks
Groups tracing-related settings: trace enrichment, baggage propagation, mutation storage, and sensitive field filtering.
Properties
IncludeCustomItemsInTraces
Gets or sets a value indicating whether to include custom items in trace spans.
public bool IncludeCustomItemsInTraces { get; set; }
Property Value
IncludeNullFields
Gets or sets a value indicating whether to include null fields in snapshots.
public bool IncludeNullFields { get; set; }
Property Value
IncludeStackTraceInErrors
Gets or sets a value indicating whether to include stack traces in error capture.
public bool IncludeStackTraceInErrors { get; set; }
Property Value
MaxCustomItemsInTraces
Gets or sets the maximum number of custom items to include in traces.
[Range(1, 2147483647)]
public int MaxCustomItemsInTraces { get; set; }
Property Value
PreserveUnknownBaggageItems
Gets or sets a value indicating whether to preserve unknown baggage items.
public bool PreserveUnknownBaggageItems { get; set; }
Property Value
SensitiveFieldPatterns
Gets or sets patterns for sensitive fields to exclude from traces.
public List<string>? SensitiveFieldPatterns { get; set; }
Property Value
StoreMutationsInContext
Gets or sets a value indicating whether to store mutations in the context.
public bool StoreMutationsInContext { get; set; }