mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-29 00:57:24 +00:00
9d49d917f6
This patch renames the crate for the following two reasons: 1. The prometheus-exporter crate introduces native in-process Prometheus style instrumentation to the Substrate project. Within the Prometheus ecosystem the term "exporter" is used for external processes exposing metrics for e.g. the Linux Kernel. In-process exposition would be described via the term "endpoint". 2. "prometheus-exporter" is generic and ignores the fact that it is only usable within the context of Substrate. In addition the name "prometheus-exporter" is already taken on crates.io.
21 lines
671 B
TOML
21 lines
671 B
TOML
[package]
|
|
description = "Endpoint to expose Prometheus metrics"
|
|
name = "substrate-prometheus-endpoint"
|
|
version = "0.8.0-alpha.2"
|
|
license = "GPL-3.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
|
|
[dependencies]
|
|
log = "0.4.8"
|
|
prometheus = "0.7"
|
|
futures-util = { version = "0.3.1", default-features = false, features = ["io"] }
|
|
derive_more = "0.99"
|
|
|
|
[target.'cfg(not(target_os = "unknown"))'.dependencies]
|
|
async-std = { version = "1.0.1", features = ["unstable"] }
|
|
hyper = { version = "0.13.1", default-features = false, features = ["stream"] }
|
|
tokio = "0.2"
|