Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainsCollector ¶
type ChainsCollector struct {
// contains filtered or unexported fields
}
ChainsCollector captures metrics from chains stacks with a defined frequency.
func New ¶
func New( chainStacks map[tableland.ChainID]chains.ChainStack, collectFrequency time.Duration, ) (*ChainsCollector, error)
New returns a new *ChainsCollector.
func (*ChainsCollector) Start ¶
func (cc *ChainsCollector) Start(ctx context.Context)
Start starts collecting chains stack telemetry metrics until the context is canceled.
Click to show internal directories.
Click to hide internal directories.