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

Parent traceID not propogating to REST calls using otelgin.Middleware #8

Open
Connect2naga opened this issue Aug 19, 2023 · 0 comments

Comments

@Connect2naga
Copy link

HI

Trying sample Application using Gin and otelgin.Middleware() to stich chain of REST API calls. Below is the scenario tried. (which is mentioned in https://signoz.io/blog/opentelemetry-gin/)

  1. Make rest call to Books Application
  2. Books applications make call to Stores Applications to get all books from All stores
  3. Store applications just return empty.

image

Actually Books API call and Store Api calls' should be linked. But it not happening and both calls having different TraceID.

Note : Same tried with Mux it is working. Signoz used for view traces

Screenshots:
Books Application:
image

Store Application:
image

Example code available in https://github.com/Connect2naga/Examples/tree/main/Standalone

Please correct me if any thing missed or need to change the configuration.

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

1 participant