Documentation ¶
Index ¶
- func InitMetrics(appStatusHandler core.AppStatusHandler, pubkeyStr string, ...) error
- func SaveStringMetric(ash core.AppStatusHandler, key, value string)
- func SaveUint64Metric(ash core.AppStatusHandler, key string, value uint64)
- func StartMachineStatisticsPolling(ash core.AppStatusHandler, pollingInterval time.Duration) error
- func StartStatusPolling(ash core.AppStatusHandler, pollingInterval time.Duration, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMetrics ¶
func InitMetrics( appStatusHandler core.AppStatusHandler, pubkeyStr string, nodeType core.NodeType, shardCoordinator sharding.Coordinator, nodesConfig *sharding.NodesSetup, version string, economicsConfig *config.EconomicsConfig, roundsPerEpoch int64, ) error
InitMetrics will init metrics for status handler
func SaveStringMetric ¶
func SaveStringMetric(ash core.AppStatusHandler, key, value string)
SaveStringMetric will save a string metric in status handler
func SaveUint64Metric ¶
func SaveUint64Metric(ash core.AppStatusHandler, key string, value uint64)
SaveUint64Metric will save a uint64 metric in status handler
func StartMachineStatisticsPolling ¶
func StartMachineStatisticsPolling(ash core.AppStatusHandler, pollingInterval time.Duration) error
StartMachineStatisticsPolling will start read information about current running machini
func StartStatusPolling ¶
func StartStatusPolling( ash core.AppStatusHandler, pollingInterval time.Duration, networkComponents *mainFactory.NetworkComponents, processComponents *factory.Process, shardCoordinator sharding.Coordinator, ) error
StartStatusPolling will start save information in status handler about network
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.