Skip to content

Consider specify metrics version for opinionated_metrics #17

Description

@Banyc

The latest metrics as of now is 0.21.1, which is not the same as the version opinionated_metrics depends on (that is 0.20.1). The static RECORDERs of the two metrics versions are different instances. If users added the wrong metrics version, counter!() will be sent to the wrong uninitialized RECORDER, instead of being collected by the initiated one.

It will be great if the docs explicitly tell users which metrics version to use.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions