prom

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoMetricFound = fmt.Errorf("no metric found")
)

Functions

func CheckMetric

func CheckMetric(promAddress, metricName string, validMetric map[string]string) error

func CheckMetricFromBuffer added in v0.0.17

func CheckMetricFromBuffer(prometheusMetricData []byte, metricName string, validMetric map[string]string) error

func ParseReaderPrometheusMetrics added in v0.0.17

func ParseReaderPrometheusMetrics(input io.Reader) (map[string]*promclient.MetricFamily, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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