roust-metrics

Crates.ioroust-metrics
lib.rsroust-metrics
version0.0.1
created_at2025-07-13 02:19:57.813076+00
updated_at2025-07-13 02:19:57.813076+00
descriptionIt provides drop-in support for Prometheus and OpenTelemetry metrics, making it easy to monitor, analyze, and scale your Roust-based services.
homepagehttps://github.com/rustkit/roust-metrics
repositoryhttps://github.com/rustkit/roust-metrics
max_upload_size
id1749901
size5,665
Billgo (billgo)

documentation

https://docs.rs/roust-metrics

README

roust-metrics

📊 roust-metrics is the official metrics instrumentation extension for the Roust framework. It provides drop-in support for Prometheus and OpenTelemetry metrics, making it easy to monitor, analyze, and scale your Roust-based services.


✨ Features

  • 📈 Automatic collection of HTTP metrics:
    • Request count
    • In-flight requests
    • Latency histogram
    • Response status code breakdown
  • 🔌 Pluggable exporters:
  • 🔧 Minimal setup — just plug in the middleware
  • 🧩 Works seamlessly with roust and roust-server

🚀 Getting Started

# Cargo.toml
[dependencies]
roust = "0.1"
roust-metrics = "0.1"
Commit count: 0

cargo fmt