diff --git a/python/agent-framework/sample-agent/host_agent_server.py b/python/agent-framework/sample-agent/host_agent_server.py index d2ba2050..34e93be6 100644 --- a/python/agent-framework/sample-agent/host_agent_server.py +++ b/python/agent-framework/sample-agent/host_agent_server.py @@ -40,10 +40,10 @@ from microsoft_agents_a365.notifications import EmailResponse from microsoft.opentelemetry import use_microsoft_opentelemetry -from microsoft_agents_a365.observability.core.middleware.baggage_builder import ( +from microsoft.opentelemetry.a365.core.middleware.baggage_builder import ( BaggageBuilder, ) -from microsoft_agents_a365.runtime.environment_utils import ( +from microsoft.opentelemetry.a365.runtime.environment_utils import ( get_observability_authentication_scope, ) from token_cache import cache_agentic_token, get_cached_agentic_token @@ -78,7 +78,7 @@ def create_and_run_host( # See: https://github.com/microsoft/opentelemetry-distro-python use_microsoft_opentelemetry( enable_a365=True, - enable_azure_monitor=False, + a365_token_resolver=lambda agent_id, tenant_id: get_cached_agentic_token( tenant_id, agent_id ) diff --git a/python/agent-framework/sample-agent/pyproject.toml b/python/agent-framework/sample-agent/pyproject.toml index 8cd7ab32..463da7cc 100644 --- a/python/agent-framework/sample-agent/pyproject.toml +++ b/python/agent-framework/sample-agent/pyproject.toml @@ -42,9 +42,7 @@ dependencies = [ # Microsoft Agent 365 SDK packages "microsoft_agents_a365_tooling >= 0.1.0", "microsoft_agents_a365_tooling_extensions_agentframework >= 0.1.0", - "microsoft_agents_a365_observability_core >= 0.1.0", - "microsoft-opentelemetry >= 0.1.0a3", - "microsoft_agents_a365_runtime >= 0.1.0", + "microsoft-opentelemetry >= 1.0.0", "microsoft_agents_a365_notifications >= 0.1.0" ] requires-python = ">=3.11" diff --git a/python/autonomous/github-trending/pyproject.toml b/python/autonomous/github-trending/pyproject.toml index b12a43ea..520ca9f3 100644 --- a/python/autonomous/github-trending/pyproject.toml +++ b/python/autonomous/github-trending/pyproject.toml @@ -12,7 +12,7 @@ dependencies = [ "aiohttp>=3.13.5", "azure-identity>=1.25.3", "msal>=1.36.0", - "microsoft-opentelemetry>=0.1.0b1", + "microsoft-opentelemetry>=1.0.0", ] [tool.uv]