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.
The latest
metricsas of now is0.21.1, which is not the same as the versionopinionated_metricsdepends on (that is0.20.1). The staticRECORDERs of the twometricsversions are different instances. If users added the wrongmetricsversion,counter!()will be sent to the wrong uninitializedRECORDER, instead of being collected by the initiated one.It will be great if the docs explicitly tell users which
metricsversion to use.