prometheus-client VS rust-prometheus

Compare prometheus-client vs rust-prometheus and see what are their differences.

prometheus-client

Haskell client library for exposing prometheus.io metrics. (by fimad)

rust-prometheus

Prometheus instrumentation library for Rust applications (by tikv)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
prometheus-client rust-prometheus
1 5
83 1,021
- 1.7%
5.9 4.2
15 days ago 28 days ago
Haskell Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

prometheus-client

Posts with mentions or reviews of prometheus-client. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-14.

rust-prometheus

Posts with mentions or reviews of rust-prometheus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-03.
  • Exporter for Digital Ocean Metrics to Prometheus
    3 projects | /r/rust | 3 May 2023
    I used the prometheus library because it was the most popular and easiest to find. Some unusual and unexpected aspects were that, to delete metrics, all labels must be specified at once, and to record metrics, I always needed the full list of labels that were used during creation. However, these issues were manageable.
  • The importance of SemVer for your applications
    6 projects | dev.to | 23 Jan 2022
    [dependencies] prometheus = { git = "https://github.com/tikv/rust-prometheus", rev = "ac86a264223c8d918a43e739ca3c48bb4aaedb90", features = ["process"] }
  • Monitoring Rust web application with Prometheus and Grafana
    8 projects | dev.to | 6 Jan 2022
    Metrics exposition is implemented with prometheus crate.
  • Vinted Search Scaling Chapter 6: 4th generation of Elasticsearch metrics
    6 projects | dev.to | 21 Dec 2021
    The new Elasticsearch exporter is written in the Rust programming language and is open-sourced on GitHub: github.com/vinted/elasticsearch-exporter-rs. The exporter uses asynchronous Tokio runtime, Rust Prometheus instrumentation library and the official Elasticsearch client library. Metrics collection is decoupled from the serving /metrics endpoint. In addition, Elasticsearch time-based metrics in milliseconds are converted into seconds to comply with Prometheus best practices (metrics ending in “millis” are replaced by “seconds”, “_bytes” and “_seconds” and postfixes are added where appropriate).
  • New Ada Folks (<2 years), what made you pick up (or leave) Ada?
    10 projects | /r/ada | 14 Sep 2021
    Rust has a popular binding: https://github.com/tikv/rust-prometheus

What are some alternatives?

When comparing prometheus-client and rust-prometheus you can also consider the following projects:

curl - A Haskell binding to the curl library

tonic - A native gRPC client & server implementation with async/await support.

pcap - Haskell bindings for the pcap library, which provides a low level interface to packet capture systems.

node_exporter - Exporter for machine metrics

json-rpc - Fully-featured JSON-RPC 2.0 library for Haskell programs

tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

tls - TLS/SSL implementation in haskell

Sphinx - Sphinx search server

haskoin - Haskoin Core is a Bitcoin and Bitcoin Cash library

grpc-rust - Rust implementation of gRPC

riak - A fast Haskell client library for the Riak decentralized data store

portable_ada