metrics

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 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 {
	SetLatency(node, storageClass string, readLatency, writeLatency float64)
	IncrementCreateProbeCount(node string, storageClass string, onTime bool)
	IncrementPerformanceProbeCount(node string, storageClass string, succeed bool)
}

func NewMetrics

func NewMetrics() MetricsExporter

Jump to

Keyboard shortcuts

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