Skip to content

Commit 22f3e55

Browse files
authored
Merge branch 'main' into dependabot/uv/cryptography-46.0.7
2 parents 5e3f90a + a3641a7 commit 22f3e55

5 files changed

Lines changed: 41 additions & 40 deletions

File tree

libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def get_traceparent(headers: dict[str, str]) -> str | None:
6666
6767
Args:
6868
headers: Dictionary of HTTP headers, typically obtained from
69-
:meth:`OpenTelemetryScope.inject_context_to_headers`.
69+
:meth:`microsoft_agents_a365.observability.core.opentelemetry_scope.OpenTelemetryScope.inject_context_to_headers`.
7070
7171
Returns:
7272
The traceparent string (e.g.

libraries/microsoft-agents-a365-observability-extensions-agentframework/microsoft_agents_a365/observability/extensions/agentframework/span_processor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
class AgentFrameworkSpanProcessor(SpanProcessor):
88
"""SpanProcessor for Agent Framework.
99
10-
Attribute mutation happens in the enricher (via :class:`EnrichedReadableSpan`)
10+
Attribute mutation happens in the enricher (via
11+
:class:`microsoft_agents_a365.observability.core.exporters.enriched_span.EnrichedReadableSpan`)
1112
because OTel Python ``ReadableSpan`` is immutable after ``on_end``.
1213
The enricher is invoked at export time by the ``EnrichingSpanProcessor``.
1314
"""

libraries/microsoft-agents-a365-observability-hosting/microsoft_agents_a365/observability/hosting/middleware/observability_hosting_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ObservabilityHostingManager:
4141
_instance: ObservabilityHostingManager | None = None
4242

4343
def __init__(self) -> None:
44-
"""Private constructor — use :meth:`configure` instead."""
44+
"""Private constructor — use :meth:`~microsoft_agents_a365.observability.hosting.middleware.observability_hosting_manager.ObservabilityHostingManager.configure` instead."""
4545

4646
@classmethod
4747
def configure(
@@ -59,7 +59,7 @@ def configure(
5959
options: Configuration options controlling which middleware to enable.
6060
6161
Returns:
62-
The singleton :class:`ObservabilityHostingManager` instance.
62+
The singleton :class:`~microsoft_agents_a365.observability.hosting.middleware.observability_hosting_manager.ObservabilityHostingManager` instance.
6363
6464
Raises:
6565
TypeError: If *middleware_set* or *options* is ``None``.

libraries/microsoft-agents-a365-observability-hosting/microsoft_agents_a365/observability/hosting/middleware/output_logging_middleware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ def _derive_channel(
8585

8686

8787
class OutputLoggingMiddleware:
88-
"""Middleware that creates :class:`OutputScope` spans for outgoing messages.
88+
"""Middleware that creates :class:`microsoft_agents_a365.observability.core.spans_scopes.output_scope.OutputScope` spans for outgoing messages.
8989
90-
Links to a parent span when :data:`A365_PARENT_TRACEPARENT_KEY` is set in
90+
Links to a parent span when :data:`~microsoft_agents_a365.observability.hosting.middleware.output_logging_middleware.A365_PARENT_TRACEPARENT_KEY` is set in
9191
``turn_state``.
9292
9393
**Privacy note:** Outgoing message content is captured verbatim as span

0 commit comments

Comments
 (0)