collect better memory stats (#3612)

* add jemalloc memory statistics tracking

* chore: move Metronome in a separate file

* add meta flag spellcheck

* adjust metrics names

* account for new metrics in test
This commit is contained in:
Bernhard Schuster
2021-08-13 12:40:45 +02:00
committed by GitHub
parent dd60af513e
commit ac338b6c28
15 changed files with 278 additions and 69 deletions
+6
View File
@@ -17,3 +17,9 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" }
jemalloc-ctl = { version = "0.3.3", optional = true }
[features]
default = []
memory-stats = ["jemalloc-ctl"]