File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1+ # Azure Application Insights
2+ APPLICATIONINSIGHTS_CONNECTION_STRING = " InstrumentationKey=xxx;IngestionEndpoint=https://xxx.applicationinsights.azure.com/;LiveEndpoint=https://xxx.livediagnostics.monitor.azure.com/"
3+
14# Azure OpenAI Service
25AZURE_OPENAI_ENDPOINT = " https://<YOUR_AOAI_NAME>.openai.azure.com/"
36AZURE_OPENAI_API_KEY = " <YOUR_API_KEY>"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def server_request_hook(span: Span, scope: dict):
3838
3939 configure_azure_monitor (
4040 connection_string = AZURE_CONNECTION_STRING ,
41- # enable_live_metrics=True,
41+ enable_live_metrics = True ,
4242 server_request_hook = server_request_hook ,
4343 )
4444 FastAPIInstrumentor .instrument_app (app )
You can’t perform that action at this time.
0 commit comments