Andrei Sandu
4060017059
Availability: provisioner bitfield metrics ( #5484 )
...
* Add histogram for inherent data bitfields
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* -500ms bitfield sign job delay, +500ms bitfield gossip
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Revert "-500ms bitfield sign job delay, +500ms bitfield gossip"
This reverts commit 3d3f2c0fae651653ffdca50c1ad38c5757166edc.
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update node/core/provisioner/src/metrics.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-05-19 18:53:43 +02:00
Tsvetomir Dimitrov
20e56a453c
Disputes which are unknown for the Runtime are sent with priority by the Provisioner when preparing inherent data ( #5336 )
...
* Implement MallocSizeOf for DisputeState
* Implementation of `Disputes` Runtime API message
* Modify on-chain dispute import
* Add feature flag for the new functionality
* Update node/core/provisioner/src/onchain_disputes.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Add target to log messages
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Use `staging-client` feature to enable the client code using the staging runtime api
* Remove TODO comment
* Don't filter out DisputeState
* Fix disputes selection logic
* spelling
* Tests
* Rename `Disputes` message to `StagingDisputes`
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Code review feedback
- Logging
- Separate error module
- Add additional fields for GetOnchainDisputesErr
- logging and impl MallocSizeOf
- fix impl MallocSizeOf for DisputeState
- fix tests
* Update node/core/provisioner/src/error.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Apply suggestions from code review
dummy metrics instance
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Revert "Apply suggestions from code review"
This reverts commit 6dc518cbf77e037ff4760d315938a68c806e662e.
* Code review feedback: #[cfg(test)] for new_dummy() in metrics
* Code review feedback: break the disputes generation logic in separate functions
* Code review feedback - align_eight
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-05-06 12:58:04 +00:00
Qinxuan Chen
74078d8eb9
Comanion for substrate#11136 ( #5218 )
...
* Comanion for substrate#11136
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* revert changes in bridge
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-04-04 11:13:34 +02:00
Pierre Krieger
77d70ac0d3
Companion PR for removing Prometheus metrics prefix ( #3623 )
...
* Companion PR for removing Prometheus metrics prefix
* Was missing some metrics
* Fix missing renames
* Fix test
* Fixes
* Update test
* Update Substrate
* Second time
* remove prefix from intergration test for zombienet
* update zombienet image
* Update Substrate
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: Javier Viola <pepoviola@gmail.com >
2021-12-10 15:24:54 +01:00
sandreim
e4e22f405d
Fix Provisioner dispute metrics naming ( #4374 )
...
* update dispute metric names
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2021-11-26 11:31:22 +01:00
sandreim
66aed0d0a4
fix provisioner metric docs ( #4359 )
...
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2021-11-24 15:12:08 +01:00
sandreim
e08b0fb506
Add Provisioner dispute metrics ( #4352 )
...
* Metrics for InherentDataProvider
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Integrate metrics
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* more changes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* avoid naming confusion
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Move to Provisioner.
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add metric documentation
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2021-11-24 10:35:46 +00:00
Bernhard Schuster
d5d916a915
remove provisioner checks ( #4254 )
...
* chore/provisioner: move metrics to a separate module
* avoid the duplicate names
* reduce all checks
* fixup tests
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
* chore: fmt
* chore: spellcheck
* doc
* remove the enum anti-pattern
* guide update - remove all the responsibilities
* add another trivial check
* Update node/core/provisioner/src/metrics.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update roadmap/implementers-guide/src/node/utility/provisioner.md
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update node/core/provisioner/src/metrics.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-11-19 18:15:59 +00:00