Expand description
Substrate Prometheus metrics client for Partner Chain data sources
Modules§
Macros§
- observed_
async_ trait - Logs each method invocation and each returned result. Has to be made at the level of trait, because otherwise #[async_trait] is expanded first. ‘&self’ matching yields “__self” identifier not found error, so “&$self:tt” is required. Works only if return type is Result.
Structs§
- McFollower
Metrics - Substrate Prometheus metrics client used by Partner Chain data sources
Functions§
- register_
metrics_ warn_ errors - Registers new metrics with Substrate Prometheus metrics service and returns a client instance