Open
Description
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.
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