Documentation ¶
Index ¶
- Constants
- func GetMetricParameters(disk *gce.CloudDisk) (string, string)
- func IsGKEComponentVersionAvailable() bool
- type MetricsManager
- func (mm *MetricsManager) EmitGKEComponentVersion() error
- func (mm *MetricsManager) GetRegistry() metrics.KubeRegistry
- func (mm *MetricsManager) InitializeHttpHandler(address, path string)
- func (mm *MetricsManager) RecordOperationErrorMetrics(operationName string, operationErr error, diskType string, ...)
- func (mm *MetricsManager) RegisterPDCSIMetric()
- type Server
Constants ¶
View Source
const ( DefaultDiskTypeForMetric = "unknownDiskType" DefaultEnableConfidentialCompute = "unknownConfidentialMode" )
Variables ¶
This section is empty.
Functions ¶
func GetMetricParameters ¶ added in v1.9.8
func IsGKEComponentVersionAvailable ¶
func IsGKEComponentVersionAvailable() bool
Types ¶
type MetricsManager ¶ added in v1.7.10
type MetricsManager struct {
// contains filtered or unexported fields
}
func NewMetricsManager ¶
func NewMetricsManager() MetricsManager
func (*MetricsManager) EmitGKEComponentVersion ¶ added in v1.7.10
func (mm *MetricsManager) EmitGKEComponentVersion() error
func (*MetricsManager) GetRegistry ¶ added in v1.7.10
func (mm *MetricsManager) GetRegistry() metrics.KubeRegistry
func (*MetricsManager) InitializeHttpHandler ¶ added in v1.7.10
func (mm *MetricsManager) InitializeHttpHandler(address, path string)
InitializeHttpHandler sets up a server and creates a handler for metrics.
func (*MetricsManager) RecordOperationErrorMetrics ¶ added in v1.7.10
func (mm *MetricsManager) RecordOperationErrorMetrics( operationName string, operationErr error, diskType string, enableConfidentialStorage string)
func (*MetricsManager) RegisterPDCSIMetric ¶ added in v1.7.10
func (mm *MetricsManager) RegisterPDCSIMetric()
Click to show internal directories.
Click to hide internal directories.