2020-09-26 19:26:39 -07:00
|
|
|
[package]
|
|
|
|
name = "metrics-exporter-prometheus"
|
2020-11-02 16:58:55 -08:00
|
|
|
version = "0.1.0-alpha.7"
|
2020-09-26 19:26:39 -07:00
|
|
|
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
license = "MIT"
|
|
|
|
|
|
|
|
description = "A metrics-compatible exporter that serves a Prometheus scrape endpoint."
|
|
|
|
homepage = "https://github.com/metrics-rs/metrics"
|
|
|
|
repository = "https://github.com/metrics-rs/metrics"
|
|
|
|
documentation = "https://docs.rs/metrics-exporter-prometheus"
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
categories = ["development-tools::debugging"]
|
|
|
|
keywords = ["metrics", "telemetry", "prometheus"]
|
|
|
|
|
2020-10-27 12:53:57 -07:00
|
|
|
[features]
|
|
|
|
default = ["tokio-exporter"]
|
|
|
|
tokio-exporter = ["hyper", "tokio"]
|
|
|
|
|
2020-09-26 19:26:39 -07:00
|
|
|
[dependencies]
|
2020-10-29 14:18:13 -07:00
|
|
|
metrics = { version = "0.13.0-alpha.1", path = "../metrics" }
|
|
|
|
metrics-util = { version = "0.4.0-alpha.1", path = "../metrics-util" }
|
2020-09-26 19:29:36 -07:00
|
|
|
hdrhistogram = "7.1"
|
|
|
|
parking_lot = "0.11"
|
2020-09-27 05:45:27 -07:00
|
|
|
thiserror = "1.0"
|
2020-09-26 19:26:39 -07:00
|
|
|
|
2020-10-27 12:53:57 -07:00
|
|
|
# Optional
|
|
|
|
hyper = { version = "0.13", default-features = false, features = ["tcp"], optional = true }
|
|
|
|
tokio = { version = "0.2", features = ["rt-core", "tcp", "time", "macros"], optional = true }
|
|
|
|
|
2020-09-26 19:26:39 -07:00
|
|
|
[dev-dependencies]
|
2020-09-26 19:29:36 -07:00
|
|
|
quanta = "0.6"
|
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.2"
|