Send logs to OTEL collector via OTLP #6810
Unanswered
aliarman1373
asked this question in
Q&A
Replies: 1 comment
-
Do you see any interesting metrics on localhost:8880/metrics ? It should show how many entries the receiver has seen. If it's zero, there might be something wrong with the components before the collector. |
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
-
I am trying to send my React app logs to the OTEL collector by loglevel package. Logs are getting sent from the app but the OTEL collector does not receive anything. I should mention that I do not have a problem with sending and receiving traces. The only issue is when I try to send my customized logs.
Here are my configs:
Docker Compose file:
the log format is json it is like this:
I am sending logs to "http://localhost:4318/v1/logs" and even when I try that with postman I receive 200 but cannot see logs in any determined exporter and the console log.
Can someone tell me what is the issue? Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions