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):
38
38
if settings .APPLICATIONINSIGHTS_CONNECTION_STRING :
39
39
credential = DefaultAzureCredential ()
40
40
exporter = AzureMonitorTraceExporter .from_connection_string (
41
- settings .APPLICATIONINSIGHTS_CONNECTION_STRING ,
42
- credential = credential
41
+ settings .APPLICATIONINSIGHTS_CONNECTION_STRING , credential = credential
43
42
)
44
43
tracer = TracerProvider (resource = Resource ({SERVICE_NAME : "api" }))
45
44
tracer .add_span_processor (BatchSpanProcessor (exporter ))
Original file line number Diff line number Diff line change 2
2
# The Python Worker is managed by Azure Functions platform
3
3
# Manually managing azure-functions-worker may cause unexpected issues
4
4
5
+ azure-identity ~= 1.13.0
5
6
azure-functions ~= 1.14.0
6
7
fastapi ~= 0.96.1
7
8
aiohttp ~= 3.8.4
You can’t perform that action at this time.
0 commit comments