package metricutil
import "github.com/docker/buildx/util/metricutil"
Index ¶
- func Meter(mp metric.MeterProvider) metric.Meter
- func Shutdown(ctx context.Context, mp command.MeterProvider)
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 ¶
- Version
- v0.14.0
- Published
- Apr 17, 2024
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 7 hours ago –
Tools for package owners.