PackageTrack
Sign in Get early access

prometheus-client

Open Metrics client library allowing users to natively instrument applications.

0.25.0 40M downloads/mo #1431 most downloaded on crates.io prometheus/client_rust

What this package is like to depend on

Last release 2 months ago

15 Jun 2026

Ships fairly regularly

a new release about every 3 months

Some releases are documented

notes for 11 of 21 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

23 releases · first in 2022

2 releases in the last 12 months

see the full history below

Release timeline

23 releases · Jan 2022 to Jun 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 23
  1. 0.25.0 15 Jun 2026
    Release notes

    Highlights

    Added

    • Native histogram support, including native-only histograms and histograms with both classic and native buckets.
    • An off-by-default protobuf-protox feature to build protobuf support without requiring an external protoc binary.

    Changed

    • prometheus_protobuf now generates and encodes Prometheus io.prometheus.client protobuf messages (from metrics.proto) instead of the OpenMetrics protobuf data model (prometheus/OpenMetrics/issues/296). The protobuf and openmetrics_protobuf features retain the now-deprecated OpenMetrics protobuf support, which will be removed in a future release.
    • Updated prost, prost-build, and prost-types to v0.14.

    What's Changed

    New Contributors

    Full Changelog: v0.24.1...v0.25.0

    Open source →
  2. 0.24.1 31 Mar 2026
    Release notes

    What's Changed

    • refactor(encoding): remove as casts by @jalil-salame in #281
    • fix(encoding): do not encode descriptor of empty family by @spoutn1k in #279
    • feat(metrics/histogram): 🍪 count() and sum() accessors by @cratelyn in #242
    • feat(metrics/family): 🍬 contains() checks if metrics exist by @cratelyn in #245
    • feat(metrics/family): 🍭 len() returns the number of metrics by @cratelyn in #246
    • feat(encoding): encode usize and isize by @jalil-salame in #282

    New Contributors

    Full Changelog: v0.23.1...v0.24.1

    Open source →
  3. 0.24.0 15 Aug 2025
    Release notes

    What's Changed

    • feat(encoding)!: EncodeLabelSet::encode() uses reference by @cratelyn in #257
    • feat(metrics/family): 🍫 add Family::get_or_create_owned() by @cratelyn in #244
    • Add example using std::io::Write by @RandomInsano in #261
    • fix(derive-encode): expand prelude symbols to absolute paths by @ADD-SP in #265
    • fix: remove unnecessary Sized boundaries by @slonkazoid in #274
    • feat: impl<T: Collector> Collector for std::sync::Arc by @hanabi1224 in #273
    • Add support for timestamp encoding in exemplars by @bobrik in #276

    New Contributors

    Full Changelog: v0.23.1...v0.24.0

    Open source →
  4. 0.23.1 15 Jan 2025
    Release notes

    See changelog for details.

    Open source →
  5. 0.23.0 07 Jan 2025
    Release notes

    See changelog for details.

    Open source →
  6. 0.22.3 17 Jul 2024
    Release notes

    See changelog for details.

    Open source →
  7. 0.22.2 07 Mar 2024
    Release notes

    See changelog for details.

    Open source →
  8. 0.22.1 30 Jan 2024
    Release notes

    See changelog for details.

    Open source →
  9. 0.22.0 25 Oct 2023
    Release notes

    See changelog for details.

    Open source →
  10. 0.21.2 10 Jul 2023

    Nothing published for this version

  11. 0.21.1 16 May 2023

    Nothing published for this version

  12. 0.21.0 14 May 2023

    Nothing published for this version

  13. 0.20.0 04 Apr 2023

    Nothing published for this version

  14. 0.19.0 22 Dec 2022

    Nothing published for this version

  15. 0.19.0-alpha.2 10 Dec 2022 pre-release

    Nothing published for this version

  16. 0.19.0-alpha 10 Dec 2022 pre-release

    Nothing published for this version

  17. 0.18.1 14 Oct 2022

    Nothing published for this version

  18. 0.18.0 16 Aug 2022

    Nothing published for this version

  19. 0.17.0 18 Jul 2022

    Nothing published for this version

  20. 0.16.0 03 May 2022

    Nothing published for this version

  21. 0.15.1 04 Feb 2022
    Release notes

    Added

    • Expose Encoder methods. See PR 41.

    Changed

    • Use AtomicU32 on platforms that don't support AtomicU64. See PR 42.
    Open source →
  22. 0.15.0 16 Jan 2022
    Release notes

    Changed

    • Release as prometheus-client and prometheus-client-derive-text-encode.
    Open source →
  23. 0.1.0 13 Jan 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive