Skip to content

Declarative (file-based) Configuration [META] #7658

Description

@stevejgordon

Overview

This is the tracking issue for the OpenTelemetry.Configuration.Declarative package, which adds file-based declarative configuration (YAML) support for the OpenTelemetry .NET SDK, following the OpenTelemetry Configuration specification.

The package parses a declarative YAML file into a typed internal model, which is the source of truth for the SDK. When a document is registered, OTEL_* settings come only from that document, as the spec requires: earlier IConfiguration sources and environment variables do not layer over it, and flat projection into IConfiguration remains only as a compatibility transport to the SDK's existing read sites. .NET-style layering is provided instead through an explicit model overlay. The package also exposes a spec-compliant API surface for component construction and a plugin provider abstraction for building and selecting SDK components from configuration.

Task breakdown

Phases group related units of work into manageable implementation units and PRs. The numbering is a stable label and does not suggest an implementation sequence. Incomplete dependencies are shown in short form against each entry.

Future tasks

These are intentionally not assigned to committed phases yet:

  • ConfigProvider and instrumentation config API. The spec's ConfigProvider type (Development status) follows spec stabilisation. Its destination package (declarative, core, or API) is an open question.

Supersedes #6380

Activity

  1. added
    enhancementNew feature or request
    needs-triageNew issues which have not been classified or triaged by a community member
    on Aug 19, 2026
  2. changed the title [-][feature request] Dynamic Control [META}[/-] [+]Dynamic Control [META][/+] on Aug 19, 2026
  3. changed the title [-]Dynamic Control [META][/-] [+]Declarative (file-based) Configuration [META][/+] on Aug 19, 2026
  4. removed
    needs-triageNew issues which have not been classified or triaged by a community member
    on Aug 19, 2026
  5. stevejgordon commented on Aug 19, 2026

    @stevejgordon
    ContributorAuthor

    @martincostello - please assign to me as I hope to progress these from my master design plan!

  6. martincostello commented on Oct 23, 2026

    @martincostello
    Member

    Something to add to your overall tracking: once we've shipped a first version of the NuGet package to NuGet.org, the Compliance of Implementations with Specification document should be updated with the relevant entries for .NET.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions