diff --git a/src/backend/api/api_routes.py b/src/backend/api/api_routes.py index 8a3be72f..1350c04f 100644 --- a/src/backend/api/api_routes.py +++ b/src/backend/api/api_routes.py @@ -43,7 +43,12 @@ instrumentation_key = os.getenv("APPLICATIONINSIGHTS_CONNECTION_STRING") if instrumentation_key: # Configure Application Insights if the Instrumentation Key is found - configure_azure_monitor(connection_string=instrumentation_key) + configure_azure_monitor( + connection_string=instrumentation_key, + instrumentation_options={ + "azure_sdk": {"enabled": False}, + } + ) logging.info( "Application Insights configured with the provided Instrumentation Key" )