Skip to content

Commit 50945d1

Browse files
Merge pull request #293 from microsoft/psl-fix-telemetryissue
fix: enable the appinsights telemetry logs code
2 parents 9cc880f + a8332e1 commit 50945d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/app_kernel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from auth.auth_utils import get_authenticated_user_details
1111

1212
# Azure monitoring
13-
# from azure.monitor.opentelemetry import configure_azure_monitor
13+
from azure.monitor.opentelemetry import configure_azure_monitor
1414
from config_kernel import Config
1515
from event_utils import track_event_if_configured
1616

@@ -38,7 +38,7 @@
3838
connection_string = os.getenv("APPLICATIONINSIGHTS_CONNECTION_STRING")
3939
if connection_string:
4040
# Configure Application Insights if the Instrumentation Key is found
41-
# configure_azure_monitor(connection_string=connection_string)
41+
configure_azure_monitor(connection_string=connection_string)
4242
logging.info(
4343
"Application Insights configured with the provided Instrumentation Key"
4444
)

0 commit comments

Comments
 (0)