Skip to content

chore(deps): update rust crate metrics to v0.24.6#69

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/metrics-0.x-lockfile
Open

chore(deps): update rust crate metrics to v0.24.6#69
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/metrics-0.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 28, 2026

This PR contains the following updates:

Package Type Update Change
metrics dependencies patch 0.24.30.24.6

Release Notes

metrics-rs/metrics (metrics)

v0.24.6

Compare Source

v0.24.5

Compare Source

v0.24.4

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update rust crate metrics to v0.24.4 chore(deps): update rust crate metrics to v0.24.5 Apr 29, 2026
@renovate renovate Bot force-pushed the renovate/metrics-0.x-lockfile branch from e71ae50 to cc8e38c Compare April 29, 2026 18:45
@renovate renovate Bot changed the title chore(deps): update rust crate metrics to v0.24.5 chore(deps): update rust crate metrics to v0.24.6 May 13, 2026
@renovate renovate Bot force-pushed the renovate/metrics-0.x-lockfile branch from cc8e38c to 5f9ec08 Compare May 13, 2026 20:41
Copy link
Copy Markdown

@doubleword-code doubleword-code Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

This PR updates the metrics crate from v0.24.3 to v0.24.6 via Cargo.lock. This is a routine dependency update that includes three upstream releases (v0.24.4, v0.24.5, v0.24.6) containing internal improvements and critical bug fixes.

Verdict: Approved - This is a safe update with no breaking changes for this codebase's usage pattern.

Research notes

I reviewed the metrics crate changelog for versions 0.24.4 through 0.24.6:

  • v0.24.6 (2026-05-13): Fixed a regression in the deprecated KeyHasher that caused hash map entry duplication after resize in metrics_util::registry::Registry
  • v0.24.5 (2026-04-29): Fixed a label hashing regression where identical label names with different values could collide
  • v0.24.4 (2026-04-28): Internal hasher swapped from ahash to rapidhash for faster allocation-free hashing; key hashes now computed eagerly at construction time

The outlet codebase only uses the counter!() emission macro (e.g., counter!("outlet_queue_dropped_total").increment(1)), which is part of the stable public API unaffected by these internal hasher changes. The KeyHasher fix in v0.24.6 specifically benefits users of metrics_util::registry::Registry or the deprecated metrics::KeyHasher type—neither of which this project uses.

Suggested next steps

  1. Merge as-is - This update includes upstream bug fixes that improve correctness without any API changes affecting this codebase.

General findings

None. The change is limited to Cargo.lock and correctly reflects the transitive dependency shift from ahash to rapidhash. The metrics usage in src/lib.rs (lines 99, 319, 321, 544, 767, 771, 881, 884) uses only the standard emission macros which remain unchanged.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants