Skip to content

Commit 02d0971

Browse files
author
Shreyas-Microsoft
committed
commenting azue instrumntation key fetch lline
1 parent 7aaa791 commit 02d0971

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/backend/api/api_routes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
instrumentation_key = os.getenv("APPLICATIONINSIGHTS_CONNECTION_STRING")
4444
if instrumentation_key:
4545
# Configure Application Insights if the Instrumentation Key is found
46-
configure_azure_monitor(connection_string=instrumentation_key)
46+
# commenting below line as configure_azure_monitor is causing issues with OpenAI calls in process_batch_async, needs further investigation
47+
# configure_azure_monitor(connection_string=instrumentation_key)
4748
logging.info(
4849
"Application Insights configured with the provided Instrumentation Key"
4950
)

0 commit comments

Comments
 (0)