metrics

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelSucceeded is a metric label indicating whether associated metric
	// series is for success or failure.
	LabelSucceeded = "succeeded"
	// ValueSucceededTrue is value True for metric label succeeded.
	ValueSucceededTrue = "true"
	// ValueSucceededFalse is value False for metric label failed.
	ValueSucceededFalse = "false"

	// EtcdNamespace is the label for prometheus metrics to indicate etcd namespace
	EtcdNamespace = "etcd_namespace"
)

Variables

View Source
var (
	// DruidLabels are the labels for prometheus metrics
	DruidLabels = map[string][]string{
		LabelSucceeded: {
			ValueSucceededFalse,
			ValueSucceededTrue,
		},
	}
)

Functions

func GenerateLabelCombinations

func GenerateLabelCombinations(labelValues map[string][]string) []map[string]string

GenerateLabelCombinations generates combinations of label values for metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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