kubernetes/staging/src/k8s.io/cloud-provider/app/webhook_metrics.go

const subSystemName

type registerables

// init registers all metrics
func init() {}

var requestTotal

var requestLatency

var toRegister

// RecordRequestTotal increments the total number of requests for the webhook.
func recordRequestTotal(ctx context.Context, code string, webhookName string) {}

// RecordRequestLatency measures request latency in seconds for the delegated authorization. Broken down by status code.
func recordRequestLatency(ctx context.Context, code string, webhookName string, latency float64) {}