MCPcopy Index your code
hub / github.com/docker/cli / getDefaultMeter

Function getDefaultMeter

cli/command/telemetry_utils.go:177–182  ·  view source on GitHub ↗

getDefaultMeter gets the default metric.Meter for the application using the given metric.MeterProvider

(mp metric.MeterProvider)

Source from the content-addressed store, hash-verified

175// getDefaultMeter gets the default metric.Meter for the application
176// using the given metric.MeterProvider
177func getDefaultMeter(mp metric.MeterProvider) metric.Meter {
178 return mp.Meter(
179 "github.com/docker/cli",
180 metric.WithInstrumentationVersion(version.Version),
181 )
182}

Callers 1

startCobraCommandTimerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…