Skip to content

Enforce metric instrument naming rule #4378

@jack-berg

Description

@jack-berg

We do no validation on instrument names, but should according to the spec.

Maybe a question to be answered by the spec, but if we add rules enforcing instrument naming rules and they are violated, what should we do? Some options:

  • Throw an exception
  • Log a warning but allow the invalid name to be used
  • Log a warning and transform the name to a valid name
  • Log a warning and return a noop instrument

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions