Replies: 2 comments
-
Can you start with https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp/examples/basic-otlp and see if it works and then modify it to your needs? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It turns out I indeed was sending logs but there is probably a problem with my exporter (quickwit) that is not accepting/writing the log, I also noticed that within the Trace I see logs so maybe I will only keep traces since keeps the span and the logs, I mean all the output of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can send traces, but I can't send logs, I am trying with this:
The app gets stuck/idle if I use the
otel_logs_layer
in the subscriber, it only works after I comment it out:I am sending this to an otel-collector
OTEL_EXPORTER_OTLP_ENDPOINT
, any idea of how this should be done?Without using the logger (because of the fmt) I see logs via stdout but I would like to have traces/logs so that the collector can push both to the provider.
Beta Was this translation helpful? Give feedback.
All reactions