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 <jonathan.sternberg@docker.com>
This commit is contained in:
Jonathan A. Sternberg 2024-03-18 10:32:47 -05:00
parent 4af0ed5159
commit 4999908fbc
No known key found for this signature in database
GPG Key ID: 6603D4B96394F6B1
1 changed files with 1 additions and 4 deletions

View File

@ -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)
}
}