We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3278675 commit 1e0795fCopy full SHA for 1e0795f
2 files changed
code/function/fastapp/utils.py
@@ -38,8 +38,7 @@ def setup_tracer(app: FastAPI):
38
if settings.APPLICATIONINSIGHTS_CONNECTION_STRING:
39
credential = DefaultAzureCredential()
40
exporter = AzureMonitorTraceExporter.from_connection_string(
41
- settings.APPLICATIONINSIGHTS_CONNECTION_STRING,
42
- credential=credential
+ settings.APPLICATIONINSIGHTS_CONNECTION_STRING, credential=credential
43
)
44
tracer = TracerProvider(resource=Resource({SERVICE_NAME: "api"}))
45
tracer.add_span_processor(BatchSpanProcessor(exporter))
code/function/requirements.txt
@@ -2,6 +2,7 @@
2
# The Python Worker is managed by Azure Functions platform
3
# Manually managing azure-functions-worker may cause unexpected issues
4
5
+azure-identity~=1.13.0
6
azure-functions~=1.14.0
7
fastapi~=0.96.1
8
aiohttp~=3.8.4
0 commit comments