Versions in this module Expand all Collapse all v1 v1.0.1 Jun 25, 2024 Changes in this version + func GetSizeBucket(size float64) string + func SinceInMicroseconds(start time.Time) float64 + func SinceInSeconds(start time.Time) float64 + func UnaryInterceptor() grpc.UnaryServerInterceptor + type Metrics struct + func Instance() *Metrics + func New(config *libconfig.MetricsConfig) *Metrics + func (m *Metrics) MetricContainersEventsDroppedInc() + func (m *Metrics) MetricContainersOOMCountTotalDelete(name string) + func (m *Metrics) MetricContainersOOMCountTotalInc(name string) + func (m *Metrics) MetricContainersOOMTotalInc() + func (m *Metrics) MetricContainersSeccompNotifierCountTotalInc(name, syscall string) + func (m *Metrics) MetricImageLayerReuseInc(layer string) + func (m *Metrics) MetricImagePullsBytesAdd(add float64, mediatype string, size int64) + func (m *Metrics) MetricImagePullsFailuresInc(image references.RegistryImageReference, label string) + func (m *Metrics) MetricImagePullsLayerSizeObserve(size int64) + func (m *Metrics) MetricImagePullsSkippedBytesAdd(add float64) + func (m *Metrics) MetricImagePullsSuccessesInc(name references.RegistryImageReference) + func (m *Metrics) MetricOperationsErrorsInc(operation string) + func (m *Metrics) MetricOperationsInc(operation string) + func (m *Metrics) MetricOperationsLatencySet(operation string, start time.Time) + func (m *Metrics) MetricOperationsLatencyTotalObserve(operation string, start time.Time) + func (m *Metrics) MetricResourcesStalledAtStage(stage string) + func (m *Metrics) Start(stop chan struct{}) error