Skip to content

[feature request] Real-time update of Exporter's header configuration #181 #6325

Open
@jjyangbiu

Description

@jjyangbiu

Package

None

Is your feature request related to a problem?

I found that the default Exporter’s Headers in opentelemetry cannot be updated in real time.

Background

My trace and metric data is collected and reported to the cloud, and the upload requires using the cloud provider’s AccessKey.
According to the provider’s protocol, the AccessKey needs to be included in the Exporter’s Headers.
The AccessKey may change when permissions are updated, so it needs to be updated in real time within the Exporter to ensure that log reporting does not fail.

Image

What is the expected behavior?

I hope there is a way to update the Exporter’s Headers, rather than having to re-implement the entire Exporter initialization process at the application level.

Which alternative solutions or features have you considered?

I tried customizing the Exporter, but this approach requires rewriting many processes.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-triageNew issues which have not been classified or triaged by a community member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions