Is a 204 status code error something I should worry about when using opentelemetry-cpp. #2635
Unanswered
Odinaka-git
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've built an application that sends telemetry data to a grafana cloud stack. The application sends both logs and traces. And I can query the traces and logs I send to grafana without any issues. The problem is though, when I send traces to grafana, I get a status code of 200, and opentelemetry-cpp logs a success message in cout. On the other hand for logs, I get a 204 status code which opentelemetry-cpp logs as an error message in cout. From my understanding of http status codes the 200 status codes are successes, plus my logs show up in the grafana data source, and I can query them without any issues. I was wondering if I could get confirmation on whether it's something I should worry about. And if it's something trivial, is there a way I can stop these logs from showing up in std::out.
Describe your environment
I'm using windows 11. And My IDE of choice is visual studio.
The log message in question
What is the expected behavior?
I didn't expect it to be logged as an error.
Additional context
Non , but if there's any information you need from me, please ask.
Beta Was this translation helpful? Give feedback.
All reactions