Docs.rs
  • axum-prometheus-0.9.0
    • axum-prometheus 0.9.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • Ptrskay3
    • Dependencies
      • axum ^0.8.4 normal
      • bytes ^1.10.1 normal
      • futures-core ^0.3.24 normal
      • http ^1.3.1 normal
      • http-body ^1.0.0 normal
      • matchit ^0.8 normal
      • metrics ^0.24.2 normal
      • metrics-exporter-prometheus ^0.17 normal optional
      • pin-project-lite ^0.2.16 normal
      • tokio ^1.47.1 normal
      • tower ^0.5.1 normal
      • tower-http ^0.6.6 normal
      • http-body-util ^0.1.0 dev
      • insta ^1.41.1 dev
    • Versions
    • 83.61% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

axum_prometheus0.9.0

Crate Items

  • Structs
  • Enums
  • Constants
  • Traits
  • Functions
  • Type Aliases

List of all items

Structs

  • BaseMetricLayer
  • BodySizeRecorder
  • GenericMetricLayer
  • Handle
  • MetricLayerBuilder
  • MetricsData
  • Traffic
  • lifecycle::layer::LifeCycleLayer
  • lifecycle::service::LifeCycle

Enums

  • EndpointLabel
  • lifecycle::FailedAt

Traits

  • MakeDefaultHandle
  • lifecycle::Callbacks
  • lifecycle::OnBodyChunk

Functions

  • utils::requests_duration_name
  • utils::requests_pending_name
  • utils::requests_total_name
  • utils::response_body_size_name

Type Aliases

  • PrometheusMetricLayer
  • PrometheusMetricLayerBuilder

Constants

  • AXUM_HTTP_REQUESTS_DURATION_SECONDS
  • AXUM_HTTP_REQUESTS_PENDING
  • AXUM_HTTP_REQUESTS_TOTAL
  • AXUM_HTTP_RESPONSE_BODY_SIZE
  • utils::SECONDS_DURATION_BUCKETS