chaitalicod commented on code in PR #630:
URL: https://github.com/apache/atlas/pull/630#discussion_r4677680341


##########
distro/src/bin/atlas_start.py:
##########
@@ -28,12 +28,55 @@
 DEFAULT_JVM_HEAP_OPTS="-Xmx1024m"
 DEFAULT_JVM_OPTS="-Dlogback.configurationFile=atlas-logback.xml 
-Djava.net.preferIPv4Stack=true -server"
 
+OTEL_JAVAAGENT_WEBINF_LIB_NAME = "opentelemetry-javaagent.jar"
+DEFAULT_OTEL_PROMETHEUS_PORT = "9464"
+
+
+def _truthy_env(val):
+    if val is None:
+        return True

Review Comment:
   unset means enabled while an empty string means disabled, which is 
inconsistent. Please default to disabled (return False) and keep 
ATLAS_OTEL_JAVAAGENT_ENABLED=true only in the Docker .env. If 
enabled-by-default is a deliberate project decision, it needs a release note 
and testing on a tarball install, not only Docker.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to