Skip to content

Commit 3e3bb9a

Browse files
committed
Set APPLICATIONINSIGHTS_METRICS_TO_LOGANALYTICS_ENABLED to false
1 parent 0e4ddbf commit 3e3bb9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

smoke-tests/framework/src/main/java/com/microsoft/applicationinsights/smoketest/SmokeTestExtension.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ private void startTestApplicationContainer() throws Exception {
453453
.withEnv("APPLICATIONINSIGHTS_CONNECTION_STRING", connectionString)
454454
.withEnv("APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_LEVEL", selfDiagnosticsLevel)
455455
.withEnv("OTEL_RESOURCE_ATTRIBUTES", otelResourceAttributesEnvVar)
456+
.withEnv("APPLICATIONINSIGHTS_METRICS_TO_LOGANALYTICS_ENABLED", "false")
456457
.withEnv("APPLICATIONINSIGHTS_METRIC_INTERVAL_SECONDS", "1")
457458
.withEnv(envVars)
458459
.withNetwork(network)

0 commit comments

Comments
 (0)