SIGN IN SIGN UP

chore(deps): Bump metrics from 0.21.1 to 0.22.0 (#19463)

* chore(deps): Bump metrics from 0.21.1 to 0.22.0

Bumps [metrics](https://github.com/metrics-rs/metrics) from 0.21.1 to 0.22.0.
- [Changelog](https://github.com/metrics-rs/metrics/blob/main/release.toml)
- [Commits](https://github.com/metrics-rs/metrics/compare/metrics-v0.21.1...metrics-v0.22.0)

---
updated-dependencies:
- dependency-name: metrics
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update metrics usage

* More test fixes

* Fix more tests

* Update versions

* Drop unused local recorder

* Init the global metrics recorder for tests

* Fix async test recorder usage with a wrapper type

* Simplify registry handling wrapper

* Cleanup test recorder future init

* Revert all of the `with_test_recorder` related changes

* Fix integration tests

* Fix goofy reformatting

* Fix loki internal event

* Fix check-events

* Fix licenses

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruce Guenter <bruce.guenter@datadoghq.com>
D
dependabot[bot] committed
b2aea48a374259fd289f3ee3bc9a23eb0446b025
Parent: fd35e1c
Committed by GitHub <noreply@github.com> on 7/22/2024, 1:47:31 PM