From a8332e10729b7fe0a9ddb1413c20214013f2840e Mon Sep 17 00:00:00 2001 From: Abdul-Microsoft Date: Tue, 1 Jul 2025 12:00:18 +0530 Subject: [PATCH] Enable Azure monitoring by uncommenting the configuration lines in app_kernel.py --- src/backend/app_kernel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/app_kernel.py b/src/backend/app_kernel.py index 4467bbdf..855c06f7 100644 --- a/src/backend/app_kernel.py +++ b/src/backend/app_kernel.py @@ -10,7 +10,7 @@ from auth.auth_utils import get_authenticated_user_details # Azure monitoring -# from azure.monitor.opentelemetry import configure_azure_monitor +from azure.monitor.opentelemetry import configure_azure_monitor from config_kernel import Config from event_utils import track_event_if_configured @@ -38,7 +38,7 @@ connection_string = os.getenv("APPLICATIONINSIGHTS_CONNECTION_STRING") if connection_string: # Configure Application Insights if the Instrumentation Key is found - # configure_azure_monitor(connection_string=connection_string) + configure_azure_monitor(connection_string=connection_string) logging.info( "Application Insights configured with the provided Instrumentation Key" )