metrics

package
v0.0.0-...-6172eb1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	Collect()
	Start()
	Stop()
}

func New

func New(client hg612.Client, host string, identifier string, collectIntervalSeconds int) Collector

type MetricsCollector

type MetricsCollector struct {
	// contains filtered or unexported fields
}

func (MetricsCollector) Collect

func (c MetricsCollector) Collect()

func (MetricsCollector) Start

func (c MetricsCollector) Start()

func (MetricsCollector) Stop

func (c MetricsCollector) Stop()

Jump to

Keyboard shortcuts

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