package metricutil

import "github.com/docker/buildx/util/metricutil"

Index

Functions

func Meter

func Meter(mp metric.MeterProvider) metric.Meter

Meter returns a Meter from the MetricProvider that indicates the measurement comes from buildx with the appropriate version.

func Shutdown

func Shutdown(ctx context.Context, mp command.MeterProvider)

Shutdown invokes Shutdown on the MeterProvider and then reports any error to the OTEL handler.

Source Files

metric.go

Version
v0.14.0-rc2
Published
Apr 17, 2024
Platform
js/wasm
Imports
5 packages
Last checked
6 hours ago

Tools for package owners.