fts

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

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

func NewCollector

func NewCollector(logger *zap.SugaredLogger, node couchbase.NodeCommon, metrics MetricSet, fakeCollections bool) *Collector

func (*Collector) Collect

func (c *Collector) Collect(metrics chan<- prometheus.Metric)

func (*Collector) Describe

func (c *Collector) Describe(descs chan<- *prometheus.Desc)

type Metric

type Metric struct {
	Name   string `json:"name"`
	Global bool   `json:"global"`
}

type MetricSet

type MetricSet map[string]Metric

Jump to

Keyboard shortcuts

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