We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95c5531 + abe1a0e commit 3ea7e68Copy full SHA for 3ea7e68
cmd/csi-provisioner/csi-provisioner.go
@@ -222,7 +222,10 @@ func main() {
222
klog.V(2).Infof("Supports migration from in-tree plugin: %s", supportsMigrationFromInTreePluginName)
223
224
// Create a new connection with the metrics manager with migrated label
225
- metricsManager = metrics.NewCSIMetricsManagerWithOptions(provisionerName, metrics.WithMigration())
+ metricsManager = metrics.NewCSIMetricsManagerWithOptions(provisionerName,
226
+ // Will be provided via default gatherer.
227
+ metrics.WithProcessStartTime(false),
228
+ metrics.WithMigration())
229
migratedGrpcClient, err := ctrl.Connect(*csiEndpoint, metricsManager)
230
if err != nil {
231
klog.Error(err.Error())
0 commit comments