chainscollector

package
v1.0.1-beta-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: MIT, Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL