*: Rename prometheus-exporter crate to substrate-prometheus-end… (#5076)

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.
This commit is contained in:
Max Inden
2020-02-27 17:48:26 +01:00
committed by GitHub
parent 9b67ac43ef
commit 9d49d917f6
8 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ sp-core = { version = "2.0.0-alpha.2", path = "../../primitives/core" }
sc-service = { version = "0.8.0-alpha.2", default-features = false, path = "../service" }
sp-state-machine = { version = "0.8.0-alpha.2", path = "../../primitives/state-machine" }
sc-telemetry = { version = "2.0.0-alpha.2", path = "../telemetry" }
prometheus-exporter = { path = "../../utils/prometheus" , version = "0.8.0-alpha.2"}
substrate-prometheus-endpoint = { path = "../../utils/prometheus" , version = "0.8.0-alpha.2"}
sp-keyring = { version = "2.0.0-alpha.2", path = "../../primitives/keyring" }
names = "0.11.0"
structopt = "0.3.8"