Skip to content
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

[Bug/Question] Same Trace ID for different requests #31

Open
gazandic opened this issue Sep 21, 2022 · 1 comment
Open

[Bug/Question] Same Trace ID for different requests #31

gazandic opened this issue Sep 21, 2022 · 1 comment

Comments

@gazandic
Copy link

gazandic commented Sep 21, 2022

Hi keyval-dev team,

Thanks for making this library for auto instrumentation otel in go.
Before read the report below, i would like to ask how do you group spans into one tracing id?
is it coming from same goroutine id?

Thanks,

Expected Behavior

Different request different tracing id

Actual Behavior

Different request same tracing id, (idk, maybe because golang/mux reused goroutine for another requests)

Screen Shot 2022-09-21 at 12 11 31

Steps to Reproduce the Problem

  1. Add patch yaml for running k8s golang service
  2. Add jaeger
  3. Wait 5 minutes, and will be like this.

Additional Info

  • Kubernetes version:
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:38:33Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.12-gke.500", GitCommit:"26604476cf3bcb64bec486e4b5880a5773a52e75", GitTreeState:"clean", BuildDate:"2022-07-20T09:22:48Z", GoVersion:"go1.16.15b7", Compiler:"gc", Platform:"linux/amd64"}
  • operation-system/kernel version:
    Darwin 21.1.0

  • go version:
    1.17

@gazandic gazandic changed the title [ASK] Same Goroutine ID for different requests [ASK] Same Trace ID for different requests Sep 21, 2022
@gazandic gazandic changed the title [ASK] Same Trace ID for different requests [Bug/Question] Same Trace ID for different requests Sep 21, 2022
@edeNFed
Copy link
Contributor

edeNFed commented Sep 29, 2022

Hi, can you please try version v0.6.0? We made a big refactoring regarding the way we calculate trace ids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants