Skip to content

How can I forward my sl4j logs which are generated in my spring microservices to otel-collector ? #11872

Closed Answered by laurit
yatamraghu7 asked this question in Q&A
Discussion options

You must be logged in to vote

Trace and span id are part of the otlp payload. Only when the log message is emitted within a trace will it have a trace/span id. You can confirm this by turning on verbose output in otel collector https://opentelemetry.io/docs/collector/troubleshooting/ If you don't see the trace/span id in your observability backend but see it in the collector then please seek assistance from appropriate channels for your observability backend.

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@yatamraghu7
Comment options

@laurit
Comment options

@yatamraghu7
Comment options

@laurit
Comment options

Answer selected by yatamraghu7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants