metrics

package
v0.0.0-...-6216ddd Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 4 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 {
	Name string
	Type string
	Help string
}

func MetricFromDto

func MetricFromDto(m dto.MetricFamily) Metric

type Metrics

type Metrics []Metric

func Decode

func Decode(input io.Reader) (Metrics, error)

func (Metrics) Filter

func (m Metrics) Filter(predicate func(m Metric) bool) Metrics

func (Metrics) Len

func (m Metrics) Len() int

func (Metrics) Less

func (m Metrics) Less(i, j int) bool

func (Metrics) Swap

func (m Metrics) Swap(i, j int)

Jump to

Keyboard shortcuts

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