metrics

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReplicationDelay           prometheus.Gauge
	CloneCount                 prometheus.Counter
	CloneFailureCount          prometheus.Counter
	CloneDurationSeconds       prometheus.Summary
	CloneInProgress            prometheus.Gauge
	LogRotationCount           prometheus.Counter
	LogRotationFailureCount    prometheus.Counter
	LogRotationDurationSeconds prometheus.Summary
)

moco-agent metrics

Functions

func Init added in v0.6.1

func Init(registry prometheus.Registerer, name string, index int)

Init initializes and registers MOCO's metrics to the registry

func RegisterReplicationMetrics added in v0.6.1

func RegisterReplicationMetrics(registry prometheus.Registerer)

func UnregisterReplicationMetrics added in v0.6.1

func UnregisterReplicationMetrics(registry prometheus.Registerer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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