Skip to content

Real-time update of Exporter's header configuration #181

@jjyangbiu

Description

@jjyangbiu

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

Background

My log 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.

Expectation

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions