metric

package
v1.59.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: AGPL-3.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metric

type Metric struct {
	H    MetricHandler
	Chan chan *decoder.HEP
	// contains filtered or unexported fields
}

func New

func New(name string) *Metric

func (*Metric) End

func (m *Metric) End()

func (*Metric) Run

func (m *Metric) Run() error

type MetricHandler

type MetricHandler interface {
	// contains filtered or unexported methods
}

type Prometheus

type Prometheus struct {
	TargetEmpty bool
	TargetIP    []string
	TargetName  []string
	TargetMap   map[string]string
	TargetConf  *sync.RWMutex
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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