hyperlane-plugin-metrics 22.14.0

A lock-free atomic Prometheus/OpenMetrics observability plugin for the Hyperlane framework with built-in HTTP request counters, in-flight gauges, latency histograms, custom user metric registration, and a scrapeable /metrics endpoint.
Documentation

hyperlane-plugin-metrics

Prometheus & Runtime Metrics Plugin

crates.io docs.rs Rust 2024 License: MIT

Workspace Overview · API Docs


Overview

Opt-in HTTP request counters, latency histograms, in-flight gauges, and Prometheus text-format scrape endpoint hook.

This crate is a member of the hyperlane unified Rust 2024 workspace. All plugin crates are opt-in and transparent (Status::Continue) when unconfigured.

Responsibilities & Module Layout

  • struct / trait / impl — Lock-free metric collectors and scrape handler

Installation

cargo add hyperlane-plugin-metrics

Verification

Run crate-scoped formatting, lint, and test gates from the workspace root:

cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-plugin-metrics --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-metrics --all-features

Documentation & Governance

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.