metrics_collector

package
v5.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const PluginType = "metrics_collector"

Variables

This section is empty.

Functions

func QuickSetup

func QuickSetup(bp sequence.BQ, s string) (any, error)

QuickSetup format: metrics_name

Types

type Collector

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

func NewCollector

func NewCollector(r prometheus.Registerer, name string) (*Collector, error)

NewCollector inits a new Collector with given name to r. name must be unique in the r.

func (*Collector) Exec

Jump to

Keyboard shortcuts

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