-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Transient error StatusCode.UNAVAILABLE encountered while exporting span batch #6363
Comments
Is this resolved. I can see the same issue while using grpc. |
I'm also seeing this over both grpc and http.
I'm running the jaeger all in one image like this:
|
I had a similar issue, and I found that this error will emit if your application cannot reach the collector. This could happen if you are running the application and the collector on two different networks (or on two different docker-compose files that do not share the same network). I hope this helps!. |
I am also getting this issue in a docker container between a instrumented Python app and the collector. They are on the same network with the bridge as a driver. Can't seem to fix it. |
May I ask why this issue has been closed? |
I am also having the same problem. Script template used:
|
I noticed that in nginx (proxy)
|
Any updates about this one? sounds like haven't resolved but been closed |
In my case i was using wrong name of host, because of the docker-compose, we should use the name of container, in my case
|
The same issue hast just happened with our application... Looks like the issue hasn't been resolved yet |
We're having the same problem. I don't feel this should be closed. |
I'm encountering the same issue as well. Running otel-collector in a docker container with the gRPC port exposed and connecting to it from a native python application. The line |
We're having the same issue. Any ideas what can be causing it? |
I run a jaeger-all-in-one.exe binary on Windows, and export span from an instrumented Sanic app, failed with error "Failed to export batch. Status code: StatusCode.UNAVAILABLE" |
The solution (using python-opentelemtry) for me was to fix my OTLPSpanExporter import. I was attempting to export gRPC spans, but was importing with:
Instead I needed to import:
If you're exporting using It's a very subtle difference. I suppose I should've paid closer attention when my IDE made an import suggestion for me. |
Describe the bug
I have noticed an issue on opentelemetry http collector port , that it gives StatusCode.UNAVAILABLE when sending traces
Steps to reproduce
Setup docker compose or k8s setup for opentemetry collector , ( i have confirmed this on both k8s and docker compose ) and use this repo to produce traces, (edit ./src/helpers/tracing/index.ts to change the endpoint if neccesary)
What did you expect to see?
no error for status code and traces being collected , as otlp over grpc is working
What did you see instead?
StatusCode.UNAVAILABLE only on otlp http
What version did you use?
Version: 0.60.0
What config did you use?
docker-compose.yaml
otel-collector-config.yaml
Environment
OS: any
Additional context
this issue is only happening on otlp http and not on otlp grpc
The text was updated successfully, but these errors were encountered: