metrics

package
v0.0.0-...-321f6a0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSBMetricsCollector

type OSBMetricsCollector struct {
	Actions *prom.CounterVec
}

OSBMetricsCollector - action counter

func New

func New() *OSBMetricsCollector

New - constructs a metrics collector with an action counter

func (*OSBMetricsCollector) Collect

func (c *OSBMetricsCollector) Collect(ch chan<- prom.Metric)

Collect returns the current state of all metrics of the collector.

func (*OSBMetricsCollector) Describe

func (c *OSBMetricsCollector) Describe(ch chan<- *prom.Desc)

Describe returns all descriptions of the collector.

Jump to

Keyboard shortcuts

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