prometheus

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert added in v0.3.0

func Convert(r []*loggregator_v2.Envelope) map[string]*dto.MetricFamily

func Sanitize added in v0.4.0

func Sanitize(s string) string

Types

type MetricsCollection added in v0.4.0

type MetricsCollection struct {
	MetricTypes   map[string]string
	MetricsByType map[string][]string
	// contains filtered or unexported fields
}

func CreateMetricsCollection added in v0.4.0

func CreateMetricsCollection() MetricsCollection

func (*MetricsCollection) Append added in v0.4.0

func (metrics *MetricsCollection) Append(
	metricFams *map[string]*dto.MetricFamily,
) error

func (*MetricsCollection) Write added in v0.4.0

func (metrics *MetricsCollection) Write(writer io.Writer)

Jump to

Keyboard shortcuts

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