Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use count.try_into() as inc_by argument.
The Counter type used by Prometheus is platform specific, e.g. for MIPS it uses a u32 instead of u64. Using try_into() we can make the inc_by argument platform agnostic.
- Loading branch information