Can't get auto instrumentation done with Play framework java #2846
-
Hi,
logback.xml:
After app startup, I didn't get a trace from opentelemetry, So I tried to debug with logging exporter
After restart the app, I didn't see any logs related to opentelemetry, Please tell me if some settings are missing by myself, Or how to debug the agent status, It has taken me a few days, Any comments will be appreciated. My app's Dockerfile:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Are there no javaagent logs at all? Not even the Your dockerfile seems to use Also, I don't think that |
Beta Was this translation helpful? Give feedback.
Are there no javaagent logs at all? Not even the
VersionLogger
startup log?Your dockerfile seems to use
JAVA_OPTS
env var while the yaml fragment that you posted definesJVM_OPTS
- is this correct? DoesJVM_OPTS
get translated toJAVA_OPTS
somewhere? Also, there are those-J
prefixes in theJVM_OPTS
env var, are these stripped by some script?Also, I don't think that
OTEL_LOG_LEVEL
is used by anything, if you want to enable the javaagent debug mode tryOTEL_JAVAAGENT_DEBUG = true
.