Add support for wasm runtime metrics try #2 (#4483)
* Add runtime metrics provider Signed-off-by:Andrei Sandu <andrei-mihail@parity.io> * Runner changes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Some sample metrics in paras_inherent Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * update cargo toml Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * bug Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * more fmt after merge Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Refactor metric prefix override Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * remove bug comment Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Add runtime metric primitives Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Impl trace event parsing Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Update metrics Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * cargo lock Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix target check Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Runtime metrics primitives Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Review feedback Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Runtime metrics crate Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Node side runtime metric changes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * use runtime CounterVec instead of macro Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt nice Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * remove dead code Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * base58 decoding Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * base58 encoding Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix warn Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * typo Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Review feedback Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Finish label support Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * please compile Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add feature gate Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Comment cargo toml Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix cargo toml description Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Update doc. Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * switch to `runtime-metrics` feature Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * cargo toml Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fixes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * better ux Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * from_utf8_unchecked is safe Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Add Counter and refactor Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fixes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * review fixes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * more fixes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add integration test Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * dev deps Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * gitlab script update Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * review fixes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix merge damage Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Run tests twice Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * small fix Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * typo Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * cargo lock Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * spellcheck happy ? Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * more fixes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Guard tracing init Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * missing copyright Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * update lockfile for substrate Co-authored-by: parity-processbot <>
Showing
- polkadot/Cargo.lock 199 additions, 172 deletionspolkadot/Cargo.lock
- polkadot/Cargo.toml 2 additions, 1 deletionpolkadot/Cargo.toml
- polkadot/cli/Cargo.toml 2 additions, 0 deletionspolkadot/cli/Cargo.toml
- polkadot/cli/src/command.rs 14 additions, 5 deletionspolkadot/cli/src/command.rs
- polkadot/node/client/Cargo.toml 6 additions, 0 deletionspolkadot/node/client/Cargo.toml
- polkadot/node/metrics/Cargo.toml 19 additions, 1 deletionpolkadot/node/metrics/Cargo.toml
- polkadot/node/metrics/src/lib.rs 14 additions, 0 deletionspolkadot/node/metrics/src/lib.rs
- polkadot/node/metrics/src/runtime.rs 210 additions, 0 deletionspolkadot/node/metrics/src/runtime.rs
- polkadot/node/metrics/src/tests.rs 70 additions, 0 deletionspolkadot/node/metrics/src/tests.rs
- polkadot/node/service/Cargo.toml 8 additions, 0 deletionspolkadot/node/service/Cargo.toml
- polkadot/primitives/src/v1/metrics.rs 139 additions, 0 deletionspolkadot/primitives/src/v1/metrics.rs
- polkadot/primitives/src/v1/mod.rs 6 additions, 0 deletionspolkadot/primitives/src/v1/mod.rs
- polkadot/runtime/kusama/Cargo.toml 1 addition, 0 deletionspolkadot/runtime/kusama/Cargo.toml
- polkadot/runtime/metrics/Cargo.toml 24 additions, 0 deletionspolkadot/runtime/metrics/Cargo.toml
- polkadot/runtime/metrics/src/lib.rs 33 additions, 0 deletionspolkadot/runtime/metrics/src/lib.rs
- polkadot/runtime/metrics/src/with_runtime_metrics.rs 126 additions, 0 deletionspolkadot/runtime/metrics/src/with_runtime_metrics.rs
- polkadot/runtime/metrics/src/without_runtime_metrics.rs 52 additions, 0 deletionspolkadot/runtime/metrics/src/without_runtime_metrics.rs
- polkadot/runtime/parachains/Cargo.toml 4 additions, 0 deletionspolkadot/runtime/parachains/Cargo.toml
- polkadot/runtime/parachains/src/paras_inherent/mod.rs 78 additions, 4 deletionspolkadot/runtime/parachains/src/paras_inherent/mod.rs
- polkadot/runtime/polkadot/Cargo.toml 1 addition, 0 deletionspolkadot/runtime/polkadot/Cargo.toml
Please register or sign in to comment