Skip to content

Commit

Permalink
Fix global.MeterProvider documentation (#3774)
Browse files Browse the repository at this point in the history
  • Loading branch information
KasonBraley authored Feb 24, 2023
1 parent 1d6704c commit 6fa6afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metric/global/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func Meter(instrumentationName string, opts ...metric.MeterOption) metric.Meter
return MeterProvider().Meter(instrumentationName, opts...)
}

// MeterProvider returns the registered global trace provider.
// MeterProvider returns the registered global meter provider.
// If none is registered then a No-op MeterProvider is returned.
func MeterProvider() metric.MeterProvider {
return global.MeterProvider()
Expand Down

0 comments on commit 6fa6afb

Please sign in to comment.