Documentation ¶
Index ¶
- func InitMetrics(appStatusHandler core.AppStatusHandler, pubkeyStr string, ...)
- 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, )
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.