Skip to content

> 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

Description

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)

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions