Documentation ¶
Index ¶
- func InitMetrics(appStatusHandler core.AppStatusHandler, pubKey crypto.PublicKey, ...)
- func SaveCurrentNodeNameAndPubKey(ash core.AppStatusHandler, txSignPk string, nodeName string)
- func StartMachineStatisticsPolling(ash core.AppStatusHandler, pollingInterval int) error
- func StartStatusPolling(ash core.AppStatusHandler, pollingInterval int, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMetrics ¶
func InitMetrics( appStatusHandler core.AppStatusHandler, pubKey crypto.PublicKey, nodeType core.NodeType, shardCoordinator sharding.Coordinator, nodesConfig *sharding.NodesSetup, version string, economicsConfig *config.ConfigEconomics, )
InitMetrics will init metrics for status handler
func SaveCurrentNodeNameAndPubKey ¶ added in v1.0.36
func SaveCurrentNodeNameAndPubKey(ash core.AppStatusHandler, txSignPk string, nodeName string)
SaveCurrentNodeNameAndPubKey will save metric in status handler with nodeName and transaction sign public key
func StartMachineStatisticsPolling ¶
func StartMachineStatisticsPolling(ash core.AppStatusHandler, pollingInterval int) error
StartMachineStatisticsPolling will start read information about current running machini
func StartStatusPolling ¶
func StartStatusPolling( ash core.AppStatusHandler, pollingInterval int, networkComponents *factory.Network, processComponents *factory.Process, ) 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.