From 4999908fbcb63904bda26cc94f642e8ac971a275 Mon Sep 17 00:00:00 2001 From: "Jonathan A. Sternberg" Date: Mon, 18 Mar 2024 10:32:47 -0500 Subject: [PATCH] progress: remove the experimental label from progress metrics Removes the experimental label from progress metrics. User-metrics themselves are still experimental so this is still blocked behind the experimental flag, but this will allow the docker otlp endpoint to receive these metrics. Signed-off-by: Jonathan A. Sternberg --- util/progress/printer.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/util/progress/printer.go b/util/progress/printer.go index 5047b192..6cbb2e26 100644 --- a/util/progress/printer.go +++ b/util/progress/printer.go @@ -6,7 +6,6 @@ import ( "sync" "github.com/containerd/console" - "github.com/docker/buildx/util/confutil" "github.com/docker/buildx/util/logutil" "github.com/moby/buildkit/client" "github.com/moby/buildkit/util/progress/progressui" @@ -176,9 +175,7 @@ func WithDesc(text string, console string) PrinterOpt { func WithMetrics(mp metric.MeterProvider, attrs attribute.Set) PrinterOpt { return func(opt *printerOpts) { - if confutil.IsExperimental() { - opt.mw = newMetrics(mp, attrs) - } + opt.mw = newMetrics(mp, attrs) } }