metrics

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CounterIncrease

func CounterIncrease(metric *echoprom.Metric, labels map[string]string)

func HistogramObserve

func HistogramObserve(metric *echoprom.Metric, observedValue float64, labels map[string]string)

Types

type Metrics

type Metrics struct {
	PipelinesStartedCount *echoprom.Metric
	PipelinesDuration     *echoprom.Metric
	JobsDuration          *echoprom.Metric
}

func NewMetrics

func NewMetrics() *Metrics

counter, counter_vec, gauge, gauge_vec, histogram, histogram_vec, summary, summary_vec

func (*Metrics) MetricList

func (m *Metrics) MetricList() []*echoprom.Metric

Jump to

Keyboard shortcuts

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