Table of Contents

Namespace Excalibur.Dispatch.Observability.Context

Classes

ContextAnomaly

Represents a detected context anomaly.

ContextChange

Represents a change detected in context fields.

ContextDiagnosticIssue

Represents a diagnostic issue.

ContextExportOptions

Export configuration options for context observability.

ContextFieldOptions

Field configuration options for context observability.

ContextFlowMetrics

Metrics collection component for context flow observability, tracking context field preservation rate, mutation frequency, size metrics, and cross-boundary success rate.

ContextFlowTracker

Main tracking component that records context state at each pipeline stage, detects changes/losses in context fields, correlates context across service boundaries, and tracks context lineage throughout the message processing lifecycle.

ContextHistory

Represents the history of a context.

ContextHistoryEvent

Represents an event in context history.

ContextIntegrityException

Exception thrown when context integrity validation fails.

ContextLimitsOptions

Limits configuration options for context observability.

ContextLineage

Represents the complete lineage of a context through its lifecycle.

ContextMetricsSummary

Summary of context flow metrics.

ContextObservabilityMiddleware

Middleware that instruments each pipeline stage with context observability, adding trace spans for context operations, recording context snapshots, and detecting context mutations throughout the message processing pipeline.

ContextObservabilityOptions

Configuration options for context flow observability.

ContextSizeExceededException

Exception thrown when context size exceeds threshold.

ContextSnapshot

Represents a snapshot of context state at a specific point in time.

ContextTraceEnricher

OpenTelemetry integration component that adds context fields as span attributes, creates spans for context operations, links related traces via correlation IDs, and propagates baggage items across service boundaries.

ContextTracingOptions

Tracing configuration options for context observability.

ServiceBoundaryTransition

Represents a context transition across a service boundary.

Interfaces

IContextFlowCounterMetrics

Counter-based context flow metrics for recording discrete events such as snapshots, mutations, errors, validation failures, and boundary transitions.

IContextFlowGaugeMetrics

Gauge-based context flow metrics for recording current-state measurements such as preservation success, active context counts, lineage depth, and summaries.

IContextFlowHistogramMetrics

Histogram-based context flow metrics for recording distribution measurements such as context sizes, pipeline latencies, and serialization timings.

IContextFlowMetrics

Composite interface for all context flow metrics operations.

IContextFlowTracker

Interface for context flow tracking operations.

IContextTraceEnricher

Interface for context trace enrichment operations.

Enums

AnomalySeverity

Severity levels for anomalies.

AnomalyType

Types of context anomalies.

ContextChangeType

Types of context changes that can be detected.

DiagnosticSeverity

Diagnostic severity levels.