Expand description
Stat
Structs§
Enums§
- Metric
Event - There are five events to record pass + block == Total
Constants§
- GLOBAL_
STATISTIC_ NON_ REUSABLE_ ERROR - ILLEGAL_
GLOBAL_ STATISTIC_ PARAMS_ ERROR - ILLEGAL_
STATISTIC_ PARAMS_ ERROR
Traits§
- Concurrency
Stat - Read
Stat - Stat
Node - StatNode holds real-time statistics for resources.
- Write
Stat
Functions§
- check_
validity_ for_ reuse_ statistic - check_validity_for_reuse_statistic check the compliance whether readonly metric statistic can be built based on resource’s global statistic The parameters, sample_count and interval_ms, are the parameters of the metric statistic you want to build The parameters, parent_sample_count and parent_interval_ms, are the parameters of the resource’s global statistic If compliance passes, return Ok(()), if not returns specific error
- check_
validity_ for_ statistic - nop_
read_ stat - nop_
write_ stat