Skip to content

Commit 51efd74

Browse files
committed
Update function tf code
1 parent f7608ef commit 51efd74

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

code/infra/function.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@ resource "azapi_resource" "function" {
9393
name = "APPLICATIONINSIGHTS_CONNECTION_STRING"
9494
value = azurerm_application_insights.application_insights.connection_string
9595
},
96+
{
97+
name = "AZURE_SDK_TRACING_IMPLEMENTATION"
98+
value = "opentelemetry"
99+
},
100+
{
101+
name = "AZURE_TRACING_ENABLED"
102+
value = "true"
103+
},
96104
{
97105
name = "AZURE_FUNCTIONS_ENVIRONMENT"
98106
value = "Production"

0 commit comments

Comments
 (0)