Documentation ¶
Index ¶
Constants ¶
View Source
const ResourceClaimSubsystem = "resourceclaim_controller"
ResourceClaimSubsystem - subsystem name used for ResourceClaim creation
Variables ¶
View Source
var ( // ResourceClaimCreateAttempts tracks the number of // ResourceClaims().Create calls (both successful and unsuccessful) ResourceClaimCreateAttempts = metrics.NewCounter( &metrics.CounterOpts{ Subsystem: ResourceClaimSubsystem, Name: "create_attempts_total", Help: "Number of ResourceClaims creation requests", StabilityLevel: metrics.ALPHA, }) // ResourceClaimCreateFailures tracks the number of unsuccessful // ResourceClaims().Create calls ResourceClaimCreateFailures = metrics.NewCounter( &metrics.CounterOpts{ Subsystem: ResourceClaimSubsystem, Name: "create_failures_total", Help: "Number of ResourceClaims creation request failures", StabilityLevel: metrics.ALPHA, }) // NumResourceClaims tracks the current number of ResourceClaims. NumResourceClaims = metrics.NewGauge( &metrics.GaugeOpts{ Subsystem: ResourceClaimSubsystem, Name: "resource_claims", Help: "Number of ResourceClaims", StabilityLevel: metrics.ALPHA, }) // NumAllocatedResourceClaims tracks the current number of allocated ResourceClaims. NumAllocatedResourceClaims = metrics.NewGauge( &metrics.GaugeOpts{ Subsystem: ResourceClaimSubsystem, Name: "allocated_resource_claims", Help: "Number of allocated ResourceClaims", StabilityLevel: metrics.ALPHA, }) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.