Skip to content

OTLP*HTTP Exporter: Custom HTTP client #2632

Closed
@roidelapluie

Description

@roidelapluie

Problem Statement

It would be useful to be able to pass a custom HTTP client to this instrumentation library.

Proposed Solution

Add a WithClient() option.

Alternatives

Configuring everything with options, but it's quite complex and it costs a lot when you already have a fully featured http client.

Additional Context

I would use this for Prometheus, which has a fully featured http client.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpkg:exporter:otlpRelated to the OTLP exporter package

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions