statistics

package
v0.0.0-...-09e6e34 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gatherer

type Gatherer interface {
	Gather() error
}

a reflection of an object in the processor (e.g. trigger, runtime, worker) that holds prometheus metrics. when Gather() is called, the resource is queried for its primitive statistics. this way we decouple prometheus metrics from the fast path

type MetricPusher

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

func NewMetricPusher

func NewMetricPusher(parentLogger logger.Logger,
	triggerProvider triggerProvider,
	metricSinkConfiguration *platformconfig.MetricSink) (*MetricPusher, error)

func (*MetricPusher) Start

func (mp *MetricPusher) Start() error

Jump to

Keyboard shortcuts

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