-
Notifications
You must be signed in to change notification settings - Fork 81
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
Got error when tracing kafka #1049
Comments
Hi @NhatVuDuy, it appears that the issue is with Otel-go-auto parsing the go modules for analyzing offsets. It discovered a module with version (devel), e.g. "Malformed version: (devel)". It's something we should fix. Do you mind sharing what your go.mod looks like if possible? |
It looks like the log output was truncated. Can you post the full message? |
Hi @MrAlias, Thank you! |
Thank you for your reply. For go.mod, sorry I can't show the full content, because it's not my personal project. But I can share you the relevant info, like the version of packages which you need. Please tell me which you need. Thank you so much! |
@NhatVuDuy are you sure that is the full output of the auto-instrumentation container log? It looks like it got cut off at the end here:
(Also if you paste the log in 3 backticks like ``` it can be easier to read) |
@damemi Thank you. |
@NhatVuDuy I copied and pasted exactly what you shared, please re-run to get the full log of the otel container and share here. Thanks! |
@damemi Here it is. Hope this is correct.
|
It looks like your version of kafka-go is unknown, Do you happen to be using a local/development version of kafka-go/consumer? |
I used kafka from standard dependency: https://github.com/segmentio/kafka-go (go vendor mode). |
What happens when you run this with the upstream module directly? I'm guessing this is where that package is reporting a |
Let me try to check this. Because the system is separated from direct internet. So I have to use vendor mode to transfer dependencies via file transfer system. |
In fact, every service I encountered has this kind of error. I will provide one of them first images:ghcr.io/open-telemetry/opentelemetry-go-instrumentation/autoinstrumentation-go:latest logs:
go.mod:
|
@Will-Will-Will-Wu thanks for the additional information. The following looks to be the source of the error:
I do not see any clear indication from your go.mod or logging info where that dependency is coming from. Can you search your codebase for I expect that module is returning a non-canonical Go version. |
Zeroapiend is the name of the service itself, not a third-party module. |
Describe the bug
I got a crash when using otel auto instrumentation docker container with the main container has kafka service.
Environment
To Reproduce
Steps to reproduce the behavior:
Run otel auto instrumentation docker container with main docker container.
Got the error if main container has kafka service.
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
The log is:
Please give me any suggestion.
Thank you so much.
The text was updated successfully, but these errors were encountered: