File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ def setup_tracer(app: FastAPI):
3838 if settings .APPLICATIONINSIGHTS_CONNECTION_STRING :
3939 credential = DefaultAzureCredential ()
4040 exporter = AzureMonitorTraceExporter .from_connection_string (
41- settings .APPLICATIONINSIGHTS_CONNECTION_STRING ,
42- credential = credential
41+ settings .APPLICATIONINSIGHTS_CONNECTION_STRING , credential = credential
4342 )
4443 tracer = TracerProvider (resource = Resource ({SERVICE_NAME : "api" }))
4544 tracer .add_span_processor (BatchSpanProcessor (exporter ))
Original file line number Diff line number Diff line change 22# The Python Worker is managed by Azure Functions platform
33# Manually managing azure-functions-worker may cause unexpected issues
44
5+ azure-identity ~= 1.13.0
56azure-functions ~= 1.14.0
67fastapi ~= 0.96.1
78aiohttp ~= 3.8.4
You can’t perform that action at this time.
0 commit comments