Documentation ¶
Index ¶
- func InitMetrics(subsystem string)
- func RecordDuration(operation string, duration time.Duration)
- func RecordError(errorStage string, errorName string)
- func RecordHTTPStats(path string, success bool)
- func RecordImageAnnotation(annotator string, imageName string)
- func RecordPodAnnotation(annotator string, podName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMetrics ¶
func InitMetrics(subsystem string)
InitMetrics must be called before using any metrics
func RecordDuration ¶
RecordDuration records the duration of an operation
func RecordError ¶
RecordError records metric information related to errors
func RecordHTTPStats ¶
RecordHTTPStats records metric information related to http requests
func RecordImageAnnotation ¶
RecordImageAnnotation records metric information related to image annotations
func RecordPodAnnotation ¶
RecordPodAnnotation records metric information related to pod annotations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.