Files
pezkuwi-subxt/substrate/primitives/consensus/common/Cargo.toml
T
Benjamin Kampmann 247822bb33 Additional Metrics collected and exposed via prometheus (#5414)
This PR refactors the metrics measuring and Prometheus exposing entity in sc-service into its own submodule and extends the parameters it exposes by:

- system load average (over one, five and 15min)
- the TCP connection state of the process (lsof), refs #5304
- number of tokio threads
- number of known forks
- counter for items in each unbounded queue (with internal unbounded channels)
- number of file descriptors opened by this process (*nix only at this point)
- number of system threads (*nix only at this point)

refs #4679

Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Ashley <ashley.ruglys@gmail.com>
2020-04-04 15:13:35 +02:00

39 lines
1.4 KiB
TOML

[package]
name = "sp-consensus"
version = "0.8.0-alpha.5"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "GPL-3.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Common utilities for building and using consensus engines in substrate."
documentation = "https://docs.rs/sp-consensus/"
[dependencies]
derive_more = "0.99.2"
libp2p = { version = "0.16.2", default-features = false }
log = "0.4.8"
sp-core = { path= "../../core" , version = "2.0.0-alpha.5"}
sp-inherents = { version = "2.0.0-alpha.5", path = "../../inherents" }
sp-state-machine = { version = "0.8.0-alpha.5", path = "../../../primitives/state-machine" }
futures = { version = "0.3.1", features = ["thread-pool"] }
futures-timer = "3.0.1"
futures-diagnose = "1.0"
sp-std = { version = "2.0.0-alpha.5", path = "../../std" }
sp-version = { version = "2.0.0-alpha.5", path = "../../version" }
sp-runtime = { version = "2.0.0-alpha.5", path = "../../runtime" }
sp-utils = { version = "2.0.0-alpha.5", path = "../../utils" }
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
parking_lot = "0.10.0"
serde = { version = "1.0", features = ["derive"] }
[dev-dependencies]
sp-test-primitives = { version = "2.0.0-dev", path = "../../test-primitives" }
[features]
default = []
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]