Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RecordCSIOperationLatencyMetrics (0.27 sec)

  1. pkg/volume/util/metrics.go

    	storageOperationEndToEndLatencyMetric.WithLabelValues(plugin, operationName).Observe(secondsTaken)
    }
    
    // RecordCSIOperationLatencyMetrics records the CSI operation latency and grpc status
    // into metric csi_kubelet_operations_seconds
    func RecordCSIOperationLatencyMetrics(driverName string,
    	operationName string,
    	operationErr error,
    	operationDuration time.Duration,
    	migrated string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 23 23:05:31 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_metrics.go

    		additionalInfoVal, ok := additionalInfoVal.(additionalInfo)
    		if !ok {
    			return err
    		}
    		migrated = additionalInfoVal.Migrated
    	}
    	// Record the metric latency
    	volumeutil.RecordCSIOperationLatencyMetrics(cmm.driverName, method, err, duration, migrated)
    
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top