You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/init/AfterAgentListener.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ public void afterAgent(AutoConfiguredOpenTelemetrySdk autoConfiguredOpenTelemetr
45
45
logger.warn("Failed to initialize profiler", e);
46
46
}
47
47
}
48
-
48
+
49
49
// Initialize browser SDK loader snippet after GlobalOpenTelemetry is set
50
50
if (telemetryClient != null && telemetryClient.getConnectionString() != null) {
Copy file name to clipboardExpand all lines: agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/init/SecondEntryPoint.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -214,7 +214,8 @@ public void customize(AutoConfigurationCustomizer autoConfiguration) {
214
214
}
215
215
216
216
if (telemetryClient.getConnectionString() != null) {
217
-
// Snippet initialization moved to AfterAgentListener to avoid early GlobalOpenTelemetry.get() call
217
+
// Snippet initialization moved to AfterAgentListener to avoid early GlobalOpenTelemetry.get()
218
+
// call
218
219
}
219
220
220
221
// TODO (trask) add this method to AutoConfigurationCustomizer upstream?
Copy file name to clipboardExpand all lines: agent/instrumentation/micrometer-1.0/src/main/java/io/opentelemetry/javaagent/instrumentation/micrometer/ai/AzureMonitorRegistryConfig.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,8 @@ public class AzureMonitorRegistryConfig implements StepRegistryConfig {
21
21
22
22
privateAzureMonitorRegistryConfig() {
23
23
// Read configuration from system property (set by AiConfigCustomizer)
0 commit comments