Class ContextObservabilityOptions
- Namespace
- Excalibur.Dispatch.Observability.Context
- Assembly
- Excalibur.Dispatch.Observability.dll
Configuration options for context flow observability.
public sealed class ContextObservabilityOptions
- Inheritance
-
ContextObservabilityOptions
- Inherited Members
- Extension Methods
Remarks
Uses sub-option objects for tracing, limits, fields, and export settings. Root keeps core enable/disable flags; sub-options group related settings.
Properties
CaptureCustomItems
Gets or sets a value indicating whether to capture custom items from the context.
public bool CaptureCustomItems { get; set; }
Property Value
CaptureErrorStates
Gets or sets a value indicating whether to capture error states.
public bool CaptureErrorStates { get; set; }
Property Value
EmitDiagnosticEvents
Gets or sets a value indicating whether to emit diagnostic events.
public bool EmitDiagnosticEvents { get; set; }
Property Value
Enabled
Gets or sets a value indicating whether context observability is enabled.
public bool Enabled { get; set; }
Property Value
Export
Gets the export configuration options.
public ContextExportOptions Export { get; }
Property Value
- ContextExportOptions
Export options including OTLP, Prometheus, and Application Insights settings.
FailOnIntegrityViolation
Gets or sets a value indicating whether to fail processing when integrity validation fails.
public bool FailOnIntegrityViolation { get; set; }
Property Value
Fields
Gets the field configuration options.
public ContextFieldOptions Fields { get; }
Property Value
- ContextFieldOptions
Field options including required, critical, and tracked field lists.
Limits
Gets the limits configuration options.
public ContextLimitsOptions Limits { get; }
Property Value
- ContextLimitsOptions
Limits options including size thresholds, retention, and cardinality caps.
Tracing
Gets the tracing configuration options.
public ContextTracingOptions Tracing { get; }
Property Value
- ContextTracingOptions
Tracing options including trace enrichment, baggage, and sensitive field patterns.
ValidateContextIntegrity
Gets or sets a value indicating whether to validate context integrity at each stage.
public bool ValidateContextIntegrity { get; set; }