helper

package
v0.0.0-...-60afc60 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyLabels

func CopyLabels(in prometheus.Labels) (out prometheus.Labels)

CopyLabels copies prometheus labels

func IteratePerformanceData

func IteratePerformanceData(input string) <-chan PerformanceData

IteratePerformanceData returns an iterator for an given performancedata string

Types

type PerformanceData

type PerformanceData struct {
	Label string
	Unit  string
	Data  map[string]float64
}

PerformanceData is struct to represent nagioslike performancedata

Jump to

Keyboard shortcuts

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