Skip to content

Commit f00a6c9

Browse files
committed
add otel settings
1 parent 288b727 commit f00a6c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.env.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Azure Application Insights
22
APPLICATIONINSIGHTS_CONNECTION_STRING="InstrumentationKey=xxx;IngestionEndpoint=https://xxx.applicationinsights.azure.com/;LiveEndpoint=https://xxx.livediagnostics.monitor.azure.com/"
3+
OTEL_RESOURCE_ATTRIBUTES="service.namespace=template-fastapi-namespace,service.instance.id=template-fastapi-instance"
4+
OTEL_SERVICE_NAME="template-fastapi-service"
5+
OTEL_TRACES_SAMPLER_ARG="1"
36

47
# Azure OpenAI Service
58
AZURE_OPENAI_ENDPOINT="https://<YOUR_AOAI_NAME>.openai.azure.com/"

0 commit comments

Comments
 (0)