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

> I also can't get the fields I want from the "spans" in "ScopeSpans", such as the remote IP and port of the httpclient component. #13013

Open
huangtao730 opened this issue Jan 8, 2025 · 1 comment
Labels
needs author feedback Waiting for additional feedback from the author

Comments

@huangtao730
Copy link

I also can't get the fields I want from the "spans" in "ScopeSpans", such as the remote IP and port of the httpclient component.

Can you elaborate where you want to get attributes like remote IP and port in span? In your application or elsewhere?

Can the generation logic of traceId here be modified?

You can do it by using a custom IdGenerator, refer to https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/examples/extension#extensions-examples

Originally posted by @steverao in #12970 (reply in thread)

@laurit
Copy link
Contributor

laurit commented Jan 8, 2025

@huangtao730 it is not clear what you are asking for

@laurit laurit added the needs author feedback Waiting for additional feedback from the author label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs author feedback Waiting for additional feedback from the author
Projects
None yet
Development

No branches or pull requests

2 participants