metric

package
v0.0.0-...-42b859f Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Namespace = "mo_operator"
)

Variables

View Source
var (
	CnRPCDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{
		Namespace: Namespace,
		Name:      "cn_rpc_duration",
		Help:      "The client request histogram of CN RPC",
		Buckets:   prometheus.ExponentialBuckets(10, 2, 6),
	}, []string{"type", "pod", "response"})

	HAKeeperRPCDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{
		Namespace: Namespace,
		Name:      "hakeeper_rpc_duration",
		Help:      "The client request histogram of HAKeeper RPC",
		Buckets:   prometheus.ExponentialBuckets(10, 2, 6),
	}, []string{"type", "logset", "response"})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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