Skip to content

Decide how to handle metric.WithExemplarFilter(nil) #8240

@dashpole

Description

@dashpole

The SDK will currently panic if you provide metric.WithExemplarFilter(nil) when creating a MeterProvider.

We should consider one of:

  • Document that nil is not an acceptable filter, and leave behavior as-is.
  • Ignore nil exemplar filters.

Split out of #8211 at @pellared's request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions