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
VersionLoggerstartup log?Your dockerfile seems to use
JAVA_OPTSenv var while the yaml fragment that you posted definesJVM_OPTS- is this correct? DoesJVM_OPTSget translated toJAVA_OPTSsomewhere? Also, there are those-Jprefixes in theJVM_OPTSenv var, are these stripped by some script?Also, I don't think that
OTEL_LOG_LEVELis used by anything, if you want to enable the javaagent debug mode tryOTEL_JAVAAGENT_DEBUG = true.