hosting Package

Microsoft Agent 365 Observability Hosting Library.

Packages

middleware
scope_helpers
token_cache_helpers

Token cache helpers for observability.

Classes

BaggageMiddleware

Middleware that propagates OpenTelemetry baggage context derived from TurnContext.

Async replies (ContinueConversation) are passed through without baggage setup.

ObservabilityHostingManager

Singleton manager for configuring hosting-layer observability middleware.

Private constructor — use configure instead.

ObservabilityHostingOptions

Configuration options for the hosting observability layer.

OutputLoggingMiddleware

Middleware that creates <xref:microsoft.opentelemetry.a365.hosting.OutputScope> spans for outgoing messages.

Links to a parent span when <xref:A365_PARENT_TRACEPARENT_KEY> is set in turn_state.

Privacy note: Outgoing message content is captured verbatim as span attributes and exported to the configured telemetry backend.