Skip to content

Conversation

@kurtharriger
Copy link
Contributor

This is the minimal changes needed to use the otel agent to start emitting xray spans and log the trace id.

wget https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.13.1/opentelemetry-javaagent.jar

FLUREE_LOG_LEVEL=debug clj -X:otel:run-dev 

For deployment the opentelemetry-javaagent.jar will need to be in the docker container and added to java commandline via -javaagent:opentelemetry-javaagent.jar

setting `CONSOLE_APPENDER=CONSOLE_JSON will also emit JSON logs instead of plain text which makes it easier to query logs with cloudwatch

@kurtharriger
Copy link
Contributor Author

@kurtharriger kurtharriger requested review from jakep36 and zonotope June 9, 2025 21:21
Copy link
Contributor

@zonotope zonotope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants