From f3a9fdb4a2b5daeb5fa18e87987614adfb54292d Mon Sep 17 00:00:00 2001 From: Marvin Buss Date: Fri, 26 Jan 2024 14:20:35 +0100 Subject: [PATCH] Remove Application Insights Logs --- code/infra/function.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/infra/function.tf b/code/infra/function.tf index df2ccf8..37a6542 100644 --- a/code/infra/function.tf +++ b/code/infra/function.tf @@ -101,6 +101,10 @@ resource "azapi_resource" "function" { name = "AZURE_TRACING_ENABLED" value = "true" }, + { + name = "OTEL_PYTHON_REQUESTS_EXCLUDED_URLS" + value = ".*.in.applicationinsights.azure.com/.*" + }, { name = "AZURE_FUNCTIONS_ENVIRONMENT" value = "Production"