Documentation
¶
Overview ¶
Package customrunmetrics provides metrics collection for CustomRun resources.
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
}
Recorder is used to actually record CustomRun metrics
func NewRecorder ¶
NewRecorder creates a new metrics recorder instance to log the CustomRun related metrics
func (*Recorder) DurationAndCountDeleted ¶
func (r *Recorder) DurationAndCountDeleted(ctx context.Context, cfg *config.Metrics, cr *pipelinev1beta1.CustomRun) error
DurationAndCountDeleted counts deleted number and record duration for CustomRuns
Click to show internal directories.
Click to hide internal directories.