metrics-exporter-prometheus 0.12.1

A metrics-compatible exporter for sending metrics to Prometheus.
Documentation
[[example]]
name = "prometheus_push_gateway"
required-features = ["push-gateway"]

[[example]]
name = "prometheus_server"
required-features = ["http-listener"]
[dependencies.base64]
default-features = false
features = ["std"]
version = "0.21.0"

[dependencies.hyper]
default-features = false
features = ["tcp", "http1"]
optional = true
version = "0.14"

[dependencies.indexmap]
default-features = false
version = "1"

[dependencies.ipnet]
optional = true
version = "2"

[dependencies.metrics]
version = "^0.21"

[dependencies.metrics-util]
default-features = false
features = ["recency", "registry", "summary"]
version = "^0.15"

[dependencies.quanta]
default-features = false
version = "0.11"

[dependencies.thiserror]
default-features = false
version = "1"

[dependencies.tokio]
features = ["rt", "net", "time"]
optional = true
version = "1"

[dependencies.tracing]
optional = true
version = "0.1.26"
[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[features]
async-runtime = ["tokio", "hyper"]
default = ["http-listener", "push-gateway"]
http-listener = ["async-runtime", "hyper/server", "ipnet"]
push-gateway = ["async-runtime", "hyper/client", "tracing"]

[package]
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
categories = ["development-tools::debugging"]
description = "A metrics-compatible exporter for sending metrics to Prometheus."
documentation = "https://docs.rs/metrics-exporter-prometheus"
edition = "2018"
homepage = "https://github.com/metrics-rs/metrics"
keywords = ["metrics", "telemetry", "prometheus"]
license = "MIT"
name = "metrics-exporter-prometheus"
readme = "README.md"
repository = "https://github.com/metrics-rs/metrics"
rust-version = "1.61.0"
version = "0.12.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]