build(deps): metrics-exporter-prometheus 0.16 is two minor lines behind; upgrade needs a rig-quantified pass
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 157
- Forks
- 32
- Avg merge
- 1h 25m
- Merged PRs (30d)
- 145
Description
What
The Prometheus exporter stack is two minor lines behind: metrics-exporter-prometheus 0.16.2 (latest 0.18.3), which pins metrics-util 0.19.1. This surfaced in the dependency-hygiene audit as the holder of three duplicate-version groups (rand 0.9, hashbrown 0.15, thiserror 1 via the exporter), and as an outdated version of a performance-sensitive dependency.
Why this is not a drive-by upgrade
metrics-utilis the hot-path metrics registry (per-requestrecord()path); an upgrade can move per-request cost in either direction and must be quantified on the benchmark rig (same-rig A/B, saturation grid) before landing.- The exporter renders the
/metricstext exposition; an upgrade must pass the series-diff harness byte-identically (or any diff must be explicitly reviewed as a rendering change, not a data change).
Suggested acceptance
- Same-rig A/B within the noise gate (±5%), fail=0
- Series-diff harness: zero unexplained diffs against the same traffic
- Duplicate groups
rand 0.9.xandhashbrown 0.15.xcollapse or shift as expected
No behavior or performance numbers are claimed here; this issue only records the version gap and the gate it must pass.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the dependency configuration and the metrics-exporter-prometheus integration, then review the benchmark rig and series-diff harness used for the exporter’s /metrics output. Upgrade the exporter and its metrics-util dependency, run the same-rig A/B saturation grid and series-diff checks, and confirm the duplicate dependency groups change as expected with no unexplained diffs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- observability
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100