kubernetes/pkg/volume/csi/csi_metrics.go

var _

type metricsCsi

// NewMetricsCsi creates a new metricsCsi with the Volume ID and path.
func NewMetricsCsi(volumeID string, targetPath string, driverName csiDriverName) volume.MetricsProvider {}

func (mc *metricsCsi) GetMetrics() (*volume.Metrics, error) {}

type MetricsManager

// NewCSIMetricsManager creates a CSIMetricsManager object
func NewCSIMetricsManager(driverName string) *MetricsManager {}

type additionalInfo

type additionalInfoKeyType

var additionalInfoKey

// RecordMetricsInterceptor is a grpc interceptor that is used to
// record CSI operation
func (cmm *MetricsManager) RecordMetricsInterceptor(
	ctx context.Context,
	method string,
	req, reply interface{}