Skip to content
Commit e75ad88a authored by sandreim's avatar sandreim Committed by GitHub
Browse files

Add support for wasm runtime metrics try #2 (#4483)



* Add runtime metrics provider

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Runner changes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Some sample metrics in paras_inherent

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* update cargo toml

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* bug

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* more fmt after merge

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Refactor metric prefix override

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* remove bug comment

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Add runtime metric primitives

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Impl trace event parsing

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Update metrics

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* cargo lock

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix target check

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Runtime metrics primitives

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Review feedback

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Runtime metrics crate

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Node side runtime metric changes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* use runtime CounterVec instead of macro

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt nice

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* remove dead code

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* base58 decoding

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* base58 encoding

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix warn

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* typo

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Review feedback

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Finish label support

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* please compile

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* add feature gate

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Comment cargo toml

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix cargo toml description

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Update doc.

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* switch to `runtime-metrics` feature

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* cargo toml

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix tests

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fixes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* better ux

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* from_utf8_unchecked is safe

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Add Counter and refactor

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fixes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* review fixes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* more fixes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* add integration test

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* dev deps

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* gitlab script update

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* review fixes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix merge damage

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Run tests twice

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* small fix

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* typo

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* cargo lock

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* tests

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* spellcheck happy ?

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* more fixes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Guard tracing init

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* missing copyright

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* update lockfile for substrate

Co-authored-by: parity-processbot <>
parent 6f2f9fe3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment