File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525from services .blob_service import get_blob_service
2626from services .title_service import get_title_service
2727from api .admin import admin_bp
28- from azure .core .settings import settings as azure_settings
2928from azure .monitor .opentelemetry import configure_azure_monitor
3029from opentelemetry .instrumentation .asgi import OpenTelemetryMiddleware
3130
5958 logging .getLogger ("azure.monitor.opentelemetry.exporter" ).setLevel (logging .WARNING )
6059 logging .getLogger ("azure.identity" ).setLevel (logging .WARNING )
6160 logging .getLogger ("azure.cosmos" ).setLevel (logging .WARNING )
62- # Disable Azure SDK native span creation (ContainerProxy.*, BlobClient.* InProc spans)
63- azure_settings .tracing_implementation = None
61+ logging .getLogger ("api.admin" ).setLevel (logging .WARNING )
6462 # Apply ASGI middleware for request tracing (Quart is not auto-instrumented by configure_azure_monitor)
6563 # Exclude health probes, post-deploy admin calls, and polling endpoints from telemetry
6664 app .asgi_app = OpenTelemetryMiddleware (
You can’t perform that action at this time.
0 commit comments