metric

package
v0.0.0-...-f05999e Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 License: MIT Imports: 0 Imported by: 2

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
	Value  interface{}
	Labels map[string]string
}

Metric is internal struct for operating metric values within the exporter

func NewMetric

func NewMetric(name string, value interface{}, tags map[string]string) Metric

NewMetric creates new internal metric struct

Jump to

Keyboard shortcuts

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