n1ql

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metric

type Metric struct {
	Name string            `json:"name"`
	Help string            `json:"help"`
	Type common.MetricType `json:"type"`
}

type MetricSet

type MetricSet map[string]Metric

type Metrics

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

func NewMetrics

func NewMetrics(logger *zap.SugaredLogger, node couchbase.NodeCommon, ms MetricSet) (*Metrics, error)

func (*Metrics) Collect

func (m *Metrics) Collect(metrics chan<- prometheus.Metric)

func (*Metrics) Describe

func (m *Metrics) Describe(descs chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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