Skip to content

Commit ac6925f

Browse files
authored
Remove incorrect warning (#2100)
1 parent 97e89ac commit ac6925f

File tree

1 file changed

+0
-3
lines changed
  • agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/telemetry

1 file changed

+0
-3
lines changed

agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/telemetry/ConnectionString.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ public static void parseInto(String connectionString, TelemetryClient telemetryC
5555
public static void updateStatsbeatConnectionString(
5656
@Nullable String ikey, @Nullable String endpoint, TelemetryClient telemetryClient)
5757
throws InvalidConnectionStringException {
58-
if (Strings.isNullOrEmpty(ikey)) {
59-
logger.warn("Missing Statsbeat '" + Keywords.INSTRUMENTATION_KEY + "'");
60-
}
6158

6259
// if customer is in EU region and their statsbeat config is not in EU region, customer is
6360
// responsible for breaking the EU data boundary violation.

0 commit comments

Comments
 (0)