achandel-01 commented on code in PR #630: URL: https://github.com/apache/atlas/pull/630#discussion_r4704190982
########## 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: I prefer enabled by default for observability on new installs, but I’ll document unset vs "" clearly: only explicit truthy values enable; empty string disables. Tarball: Built with -Pdist,embedded-hbase-solr, unpacked server tarball, expandWebApp + agent JAR under WEB-INF/lib, metrics on :9464 with no env set; I’ll add a short release note that OTEL is on unless ATLAS_OTEL_JAVAAGENT_ENABLED=false. -- 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]
