Skip to content

Commit 3f10359

Browse files
jeanbisuttitrask
andauthored
Update agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/diagnostics/DiagnosticsHelper.java
Co-authored-by: Trask Stalnaker <[email protected]>
1 parent 2b9c7d2 commit 3f10359

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/diagnostics/DiagnosticsHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public static void initRpIntegration(Path agentPath) {
4949
}
5050
} else if (!Strings.isNullOrEmpty(
5151
System.getenv("APPLICATIONINSIGHTS_SPRINGCLOUD_SERVICE_ID"))) {
52+
// Spring Cloud needs to be checked before AKS since it runs on AKS
5253
PropertyHelper.setRpIntegrationChar('s');
5354
setRpAttachType(agentPath, "springcloud.codeless");
5455
} else if (!Strings.isNullOrEmpty(System.getenv("AKS_ARM_NAMESPACE_ID"))) {

0 commit comments

Comments
 (0)