const namespace …
const subsystem …
const requestKind …
const priorityLevel …
const flowSchema …
const phase …
const LabelNamePhase …
const LabelValueWaiting …
const LabelValueExecuting …
var queueLengthBuckets …
var requestDurationSecondsBuckets …
var registerMetrics …
func Register() { … }
type resettable …
func Reset() { … }
func GatherAndCompare(expected string, metricNames ...string) error { … }
type Registerables …
func (rs Registerables) Append(more ...compbasemetrics.Registerable) Registerables { … }
var apiserverRejectedRequestsTotal …
var apiserverDispatchedRequestsTotal …
var PriorityLevelExecutionSeatsGaugeVec …
var PriorityLevelConcurrencyGaugeVec …
var readWriteConcurrencyGaugeVec …
var apiserverCurrentR …
var apiserverDispatchR …
var apiserverLatestS …
var apiserverNextSBounds …
var apiserverNextDiscountedSBounds …
var apiserverCurrentInqueueRequests …
var apiserverCurrentInqueueSeats …
var apiserverRequestQueueLength …
var apiserverRequestConcurrencyLimit …
var apiserverCurrentExecutingRequests …
var apiserverCurrentExecutingSeats …
var apiserverRequestConcurrencyInUse …
var apiserverRequestWaitingSeconds …
var apiserverRequestExecutionSeconds …
var watchCountSamples …
var apiserverEpochAdvances …
var apiserverWorkEstimatedSeats …
var apiserverDispatchWithNoAccommodation …
var apiserverNominalConcurrencyLimits …
var apiserverMinimumConcurrencyLimits …
var apiserverMaximumConcurrencyLimits …
var ApiserverSeatDemands …
var apiserverSeatDemandHighWatermarks …
var apiserverSeatDemandAverages …
var apiserverSeatDemandStandardDeviations …
var apiserverSeatDemandSmootheds …
var apiserverSeatDemandTargets …
var apiserverFairFracs …
var apiserverCurrentConcurrencyLimits …
var metrics …
type indexOnce …
func (io *indexOnce) getGauge() RatioedGauge { … }
var waitingReadonly …
var executingReadonly …
var waitingMutating …
var executingMutating …
var GetWaitingReadonlyConcurrency …
var GetExecutingReadonlyConcurrency …
var GetWaitingMutatingConcurrency …
var GetExecutingMutatingConcurrency …
func AddRequestsInQueues(ctx context.Context, priorityLevel, flowSchema string, delta int) { … }
func AddSeatsInQueues(ctx context.Context, priorityLevel, flowSchema string, delta int) { … }
func AddRequestsExecuting(ctx context.Context, priorityLevel, flowSchema string, delta int) { … }
func SetCurrentR(priorityLevel string, r float64) { … }
func SetDispatchMetrics(priorityLevel string, r, s, sMin, sMax, discountedSMin, discountedSMax float64) { … }
func AddSeatConcurrencyInUse(priorityLevel, flowSchema string, delta int) { … }
func AddReject(ctx context.Context, priorityLevel, flowSchema, reason string) { … }
func AddDispatch(ctx context.Context, priorityLevel, flowSchema string) { … }
func ObserveQueueLength(ctx context.Context, priorityLevel, flowSchema string, length int) { … }
func ObserveWaitingDuration(ctx context.Context, priorityLevel, flowSchema, execute string, waitTime time.Duration) { … }
func ObserveExecutionDuration(ctx context.Context, priorityLevel, flowSchema string, executionTime time.Duration) { … }
func ObserveWatchCount(ctx context.Context, priorityLevel, flowSchema string, count int) { … }
func AddEpochAdvance(ctx context.Context, priorityLevel string, success bool) { … }
func ObserveWorkEstimatedSeats(priorityLevel, flowSchema string, seats int) { … }
func AddDispatchWithNoAccommodation(priorityLevel, flowSchema string) { … }
func SetPriorityLevelConfiguration(priorityLevel string, nominalCL, minCL, maxCL int) { … }
func NotePriorityLevelConcurrencyAdjustment(priorityLevel string, seatDemandHWM, seatDemandAvg, seatDemandStdev, seatDemandSmoothed, seatDemandTarget float64, currentCL int) { … }
func SetFairFrac(fairFrac float64) { … }