prometheus

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Define constants again because importing the operators doesn't work
	LocalManagerName   = "LocalManager"
	KubeManagerName    = "KubeManager"
	ParamContainerName = "containername"
	ParamPodName       = "podname"
	ParamNamespace     = "namespace"
)

Variables

This section is empty.

Functions

func CreateMetrics

func CreateMetrics(ctx context.Context, config *config.Config, meterProvider otelmetric.MeterProvider) (func(), error)

Types

type Counter

type Counter struct {
	config.Metric
}

type Gauge

type Gauge struct {
	config.Metric
	// contains filtered or unexported fields
}

type Histogram added in v0.19.0

type Histogram struct {
	config.Metric
}

type Instruments

type Instruments struct {
	Counters   []*Counter
	Gauges     []*Gauge
	Histograms []*Histogram
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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