metrics

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

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

func MustMakeRecorder

func MustMakeRecorder() *Recorder

func NewRecorder

func NewRecorder() *Recorder

func (*Recorder) Collectors

func (r *Recorder) Collectors() []prometheus.Collector

func (*Recorder) DeleteTranslatorCondition

func (r *Recorder) DeleteTranslatorCondition(translator *configv1alpha1.ArgoTranslator, conditionType string)

DeleteCondition deletes the condition metrics for the ref.

func (*Recorder) RecordTranslatorCondition

func (r *Recorder) RecordTranslatorCondition(translator *configv1alpha1.ArgoTranslator)

RecordCondition records the condition as given for the ref.

Jump to

Keyboard shortcuts

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