-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting transport-otlp-http errors #639
Comments
I'm seeing these issues as well, sporadically, with our service which uses Faro. We're on |
cc: @codecapitano : Can you have a look into this issue? 🙏 |
Hi @miniengineer in this case the Would you mind inspecting one of those failed requests in the browser network panel to get some hints what's going on? Are you using Faro with Grafana Cloud or with Alloy? |
Thank you so much for the reply.
It's interesting that for each console error like the one I attached there's a one request that is stuck in the Since the status is
Hmm...
We're using free community version |
Hey @miniengineer
So Faro as web-sdk and a OTEL collector.
I don't have a satisfactory answer yet, but yes these thing can happen e.g because of network or server issue etc. Do you see any related warnings in the browser console? |
Hi, sorry for the late reply and thank you for the follow-up 🙏 It took me a while, but I did test it locally. I used otel-tui viewer and was able to verify the traces 👍 Then as suggested I checked the collector logs hoping to find some information, but there was none :( Do you have any other thoughts what could be wrong? 🤔 |
Hi @miniengineer no worries and thanks a lot for your investigation. The issue you outlined may be related to this issue. Out of the box I have no good idea yet what's causing it. |
@miniengineer unfortunatey I can't reproduce the issue, but found that the otlp-http-transport didn't consume the request body which an lead to several issues like hanging requests, memory leaks etc. We'll release the update soon. Since I couldn't reproduce the issue it would be helpful if you can observer any positive impacts. |
Thank you 🙏 understood. |
Hi 👋 I am open to contribute to the library 👀 |
Hi @miniengineer I'll release the updates otlp-http-transport today. In general contributions are always welcome. 🎉 |
Thank you for letting me know 🙏 I updated packages, but unfortunately this doesn't fix our issue 😢 I was testing on my local before, I will try to check the production collector logs and see maybe it will point to anything. For now it's an ongoing issue. |
Oh no, had a slight hope that not closing he connection caused the issue. The otel spec for partial-success states that the server must initialize the
Thank you for your support and continouus testing! |
Thank you for following up.
Response that we get for those requests is the following:
No error message, just empty object.
Looks fine, TBH 🤔 Since I don't have capacity to focus on this issue right now, I will leave it as is and will come back to it once I have a bit more time. For now I would like to keep this issue open 🙏 Thank you again. |
Heads up since you are using the otlp-http-transport, we are going to release a new Faro version with updated otel dependencies. We aligned semantic attributes with the current otel spec.
You can read about the changes in the CHANGELOG |
Awesome, thank you!! |
IGNORE THISI probably need to open another issue, but getting errors related to imports after updating faro libraries to In
The errors related to imports. Seems that the libraries don't export them ⬇ |
pls ignore the previous message 👍 |
Description
Hi 👋
We're using faro libraries to send logs and traces to our collectors.
We're seeing some errors in the console (check them below) and
partialSuccess
on network requests.These are the packages we use:
And this is our configuration
These are the errors we see in the console
Steps to reproduce
Expected behavior
All traces and metrics should be captured and response should be FullSuccess
Actual behavior
Some logs and metrics are captured but some are lost.
And we keep getting those errors in the console.
Environment
1.8.0
@grafana/faro-react, @grafana/faro-transport-otlp-http, @grafana/faro-web-sdk, @grafana/faro-web-tracing;
Demo
Context
The text was updated successfully, but these errors were encountered: