Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
Recorder is used to actually record TaskRun metrics.
func NewRecorder ¶
NewRecorder creates a new metrics recorder instance to log the TaskRun related metrics.
func (*Recorder) RecordCountMetrics ¶
RecordCountMetrics implements github.com/tektoncd/chains/pkg/metrics.Recorder.RecordCountMetrics
func (*Recorder) RecordErrorMetric ¶ added in v0.26.0
func (r *Recorder) RecordErrorMetric(ctx context.Context, errType common.MetricErrorType)
RecordErrorMetric records a TaskRun signing failure with a given error type tag.
type RecorderKey ¶
type RecorderKey struct{}
RecorderKey is used for associating the Recorder inside the context.Context.
Click to show internal directories.
Click to hide internal directories.