metric

package
v1.1.34 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricCollector

func NewMetricCollector(client couchbase.Client, stream stream.Stream, vBucketDiscovery stream.VBucketDiscovery) *metricCollector

Types

type Registerer

type Registerer struct {
	// contains filtered or unexported fields
}

func WrapWithRegisterer

func WrapWithRegisterer(reg prometheus.Registerer) *Registerer

func (*Registerer) Register

func (u *Registerer) Register(c prometheus.Collector) error

func (*Registerer) RegisterAll

func (u *Registerer) RegisterAll(cs []prometheus.Collector) error

func (*Registerer) Unregister

func (u *Registerer) Unregister(c prometheus.Collector) bool

func (*Registerer) UnregisterAll

func (u *Registerer) UnregisterAll() bool

Jump to

Keyboard shortcuts

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