Skip to content

[feature request] Remove manually vendored EnvironmentVariablesConfigurationProvider #7141

@stevejgordon

Description

@stevejgordon

Package

OpenTelemetry

Is your feature request related to a problem?

As identified in #7093 there exists a manually vendored copy of EnvironmentVariablesConfigurationProvider with no automated sync mechanism. The best choice would be taking a dependency on Microsoft.Extensions.Configuration.EnvironmentVariables. This package is lightweight and introduces no new transitive dependencies beyond what the SDK already resolves.

What is the expected behavior?

Use the Microsoft.Extensions.Configuration.EnvironmentVariables package directly

Which alternative solutions or features have you considered?

Leaving the existing vendored code but introducing a sync mechanism.

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

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-triageNew issues which have not been classified or triaged by a community memberpkg:OpenTelemetryIssues related to OpenTelemetry NuGet package

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions