metric

package
v0.0.0-...-7e344fb Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: AGPL-3.0 Imports: 15 Imported by: 0

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