metrics

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpCreate       = "Create"
	OpUpdate       = "Update"
	OpUpdateStatus = "UpdateStatus"
	OpDelete       = "Delete"
)

Variables

This section is empty.

Functions

func K8sOPLatencyObserve added in v1.3.0

func K8sOPLatencyObserve(obj, op string, elapsed time.Duration)

func KeyProcessLatencyObserve added in v1.3.0

func KeyProcessLatencyObserve(crd string, elapsed time.Duration)

func PendingKeysSet

func PendingKeysSet(kind string, value float64)

func WebhookCallsInc

func WebhookCallsInc(driverName, webhookName string)

func WebhookErrorsInc

func WebhookErrorsInc(driverName, webhookName string)

func WebhookFailsInc

func WebhookFailsInc(driverName, webhookName string)

func WebhookLatencyObserve

func WebhookLatencyObserve(driverName, webhookName string, elapsed time.Duration)

func WorkingKeysDec

func WorkingKeysDec(kind string)

func WorkingKeysInc

func WorkingKeysInc(kind string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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