Skip to content

[Feature]: Modify OTLP's WithHttpConfig to accept Into<Arc> to allow users to re-use HttpClients  #3467

@DoumanAsh

Description

@DoumanAsh

Related Problems?

Currently the same client can be freely copied without needing of creating extra shared pointers, but due to internal design of opentelemetry that requires trait object, it is not possible to avoid extra layer of indirection from shared pointer

Describe the solution you'd like:

Reduce number of pointers created by allowing user to pass existing client wrapped in pointer ( in case user initialises more than 1 recorder)

Considered Alternatives

None

Additional Context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:p3Lowest priority issues and bugs.triage:acceptedHas been triaged and accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions