We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1d4b40 commit dfb78bbCopy full SHA for dfb78bb
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/TracerInstaller.java
@@ -46,7 +46,7 @@ private static void maybeEnableServiceDiscovery(CoreTracerBuilder tracerBuilder)
46
return;
47
}
48
// make sure this branch is not considered possible for graalvm artifact
49
- if (Platform.isNativeImageBuilder()) {
+ if (Platform.isNativeImageBuilder() || Platform.isNativeImage()) {
50
log.debug("service discovery not supported on native images");
51
52
0 commit comments