Skip to content

Clarify meaning of the Attribute Requirement Levels #2885

@dmitryax

Description

@dmitryax

In the OTel Collector, we are adding an option for end users to re-aggregate metrics scraped by receivers. The config interface will be automatically generated for each receiver and will allow users to disable certain attributes that are emitted by default, or enable opt-in attributes.

We want to adopt Attribute Requirement Levels to mark which attributes are emitted by default and which are opt-in.

The initial idea was to allow users to disable any attributes emitted by default. The question from @ChrsMark in this thread is how to treat the Required level. Does it mean that required attributes cannot be disabled by users? If so, do we enforce this requirement in SDKs in any way?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions