Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ControllerSubsystem is prometheus subsystem name.
ControllerSubsystem = "controller"
)
Variables ¶
View Source
var ( // PersistentVolumeClaimProvisionTotal is used to collect accumulated count of persistent volumes provisioned. PersistentVolumeClaimProvisionTotal = M.PersistentVolumeClaimProvisionTotal // PersistentVolumeClaimProvisionFailedTotal is used to collect accumulated count of persistent volume provision failed attempts. PersistentVolumeClaimProvisionFailedTotal = M.PersistentVolumeClaimProvisionFailedTotal // PersistentVolumeClaimProvisionDurationSeconds is used to collect latency in seconds to provision persistent volumes. PersistentVolumeClaimProvisionDurationSeconds = M.PersistentVolumeClaimProvisionDurationSeconds // PersistentVolumeDeleteTotal is used to collect accumulated count of persistent volumes deleted. PersistentVolumeDeleteTotal = M.PersistentVolumeDeleteTotal // PersistentVolumeDeleteFailedTotal is used to collect accumulated count of persistent volume delete failed attempts. PersistentVolumeDeleteFailedTotal = M.PersistentVolumeDeleteFailedTotal // PersistentVolumeDeleteDurationSeconds is used to collect latency in seconds to delete persistent volumes. PersistentVolumeDeleteDurationSeconds = M.PersistentVolumeDeleteDurationSeconds )
These variables are defined merely for API compatibility.
View Source
var M = New(ControllerSubsystem)
M contains the metrics with ControllerSubsystem as subsystem name.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { // PersistentVolumeClaimProvisionTotal is used to collect accumulated count of persistent volumes provisioned. PersistentVolumeClaimProvisionTotal *prometheus.CounterVec // PersistentVolumeClaimProvisionFailedTotal is used to collect accumulated count of persistent volume provision failed attempts. PersistentVolumeClaimProvisionFailedTotal *prometheus.CounterVec // PersistentVolumeClaimProvisionDurationSeconds is used to collect latency in seconds to provision persistent volumes. PersistentVolumeClaimProvisionDurationSeconds *prometheus.HistogramVec // PersistentVolumeDeleteTotal is used to collect accumulated count of persistent volumes deleted. PersistentVolumeDeleteTotal *prometheus.CounterVec // PersistentVolumeDeleteFailedTotal is used to collect accumulated count of persistent volume delete failed attempts. PersistentVolumeDeleteFailedTotal *prometheus.CounterVec // PersistentVolumeDeleteDurationSeconds is used to collect latency in seconds to delete persistent volumes. PersistentVolumeDeleteDurationSeconds *prometheus.HistogramVec }
Metrics contains the metrics for a certain subsystem name.
Click to show internal directories.
Click to hide internal directories.