testutil

package
v29.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectMetrics

func CollectMetrics(ch chan prometheus.Metric, debugMetrics bool) map[string]*dto.MetricFamily

func CountMetrics

func CountMetrics(metricFamilies map[string]*dto.MetricFamily) int

func GetGaugeValue

func GetGaugeValue(metricFamilies map[string]*dto.MetricFamily, metricDesc string, labelName string, labelValue string) (float64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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