Help us shape the future of Go! Take the 2026 Go Developer Survey

metrics

package
v0.27.5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 7 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 {
	ReportingPeriod time.Duration
	// contains filtered or unexported fields
}

Recorder holds keys for metrics.

func NewRecorder

func NewRecorder() (*Recorder, error)

NewRecorder creates a new metrics recorder instance to log the PAC PipelineRun related metrics.

func (*Recorder) Count

func (r *Recorder) Count(provider, event string) error

Count logs number of times a pipelinerun is ran for a provider.

Jump to

Keyboard shortcuts

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