Skip to content

Commit e58c119

Browse files
authored
Merge pull request #114 from PerfectThymeTech/Remove-Application-Insights-Logs
Stop Collecting Logs about Application Insights Logs
2 parents 6388839 + f3a9fdb commit e58c119

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

code/infra/function.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ resource "azapi_resource" "function" {
101101
name = "AZURE_TRACING_ENABLED"
102102
value = "true"
103103
},
104+
{
105+
name = "OTEL_PYTHON_REQUESTS_EXCLUDED_URLS"
106+
value = ".*.in.applicationinsights.azure.com/.*"
107+
},
104108
{
105109
name = "AZURE_FUNCTIONS_ENVIRONMENT"
106110
value = "Production"

0 commit comments

Comments
 (0)