diff --git a/cmd/csi-provisioner/csi-provisioner.go b/cmd/csi-provisioner/csi-provisioner.go index 5631a531b8..9fb8ca36ff 100644 --- a/cmd/csi-provisioner/csi-provisioner.go +++ b/cmd/csi-provisioner/csi-provisioner.go @@ -222,7 +222,10 @@ func main() { klog.V(2).Infof("Supports migration from in-tree plugin: %s", supportsMigrationFromInTreePluginName) // Create a new connection with the metrics manager with migrated label - metricsManager = metrics.NewCSIMetricsManagerWithOptions(provisionerName, metrics.WithMigration()) + metricsManager = metrics.NewCSIMetricsManagerWithOptions(provisionerName, + // Will be provided via default gatherer. + metrics.WithProcessStartTime(false), + metrics.WithMigration()) migratedGrpcClient, err := ctrl.Connect(*csiEndpoint, metricsManager) if err != nil { klog.Error(err.Error())