Skip to content

[extension/headersetter] Support chaining with other auth providers #43935

@dashpole

Description

@dashpole

Component(s)

extension/headerssetter

Is your feature request related to a problem? Please describe.

A user of the prometheusremovewrite exporter would like to use the headersetter extension with the oauth2 auth extension. #43797

Describe the solution you'd like

Add a configuration parameter (e.g. additional_auth) that allows using headersetter with another auth extension. Use the Dependent interface to ensure the additional auth extension is started first: https://github.com/open-telemetry/opentelemetry-collector/blob/6f29b34c24f60ed6adcf3d987b943bf7222a35d4/extension/extensioncapabilities/interfaces.go#L16-L22

Describe alternatives you've considered

No response

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions