metrics

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricsClientSubsystem    = "metrics_client"
	MetricsClientFailTotalKey = "fail_total"
)

Variables

This section is empty.

Functions

func NewReceiver

func NewReceiver(m MetricsExporter) http.Handler

Types

type MetricsExporter

type MetricsExporter interface {
	SetLatencyOnMountProbe(pieProbeName, node, storageClass string, readLatency, writeLatency float64)
	IncrementPerformanceOnMountProbeCount(pieProbeName string, node string, storageClass string, succeed bool)
	IncrementProvisionProbeCount(pieProbeName string, storageClass string, onTime bool)
	IncrementMountProbeCount(pieProbeName string, node string, storageClass string, onTime bool)
}

func NewMetrics

func NewMetrics() MetricsExporter

Jump to

Keyboard shortcuts

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