Skip to content

Loosen "MetricProducer MUST accept configuration for the Resource" requirement #3615

@aabmass

Description

@aabmass

Initially discussed in #3601 (comment). The spec currently says

If the batch of [Metric points](./data-model.md#metric-points) returned by
`Produce()` includes a [Resource](../resource/sdk.md), the `MetricProducer` MUST
accept configuration for the [Resource](../resource/sdk.md).

Since SDK's may throw away the Resource returned by a MetricProducer, we can loosen this requirement to a SHOULD or MAY

Part of #3599 @dashpole

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec:metricsRelated to the specification/metrics directory

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions