chore: fix function names in comments for package otelmetric (#3493)

This commit is contained in:
writegr 2024-04-18 20:04:23 +08:00 committed by GitHub
parent adb813fbad
commit fa4f31f3dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ type localObservableCounterPerformer struct {
metric.Float64ObservableCounter
}
// newCounterPerformer creates and returns a CounterPerformer that truly takes action to implement Counter.
// newObservableCounterPerformer creates and returns a CounterPerformer that truly takes action to implement Counter.
func (l *localMeterPerformer) newObservableCounterPerformer(
meter metric.Meter,
metricName string,

View File

@ -23,7 +23,7 @@ type localObservableGaugePerformer struct {
metric.Float64ObservableGauge
}
// newGaugePerformer creates and returns a GaugePerformer that truly takes action to implement Gauge.
// newObservableGaugePerformer creates and returns a GaugePerformer that truly takes action to implement Gauge.
func (l *localMeterPerformer) newObservableGaugePerformer(
meter metric.Meter,
metricName string,

View File

@ -26,7 +26,7 @@ type localMeterPerformer struct {
*metric.MeterProvider
}
// newPerformer creates and returns gmetric.Meter.
// newMeterPerformer creates and returns gmetric.Meter.
func newMeterPerformer(provider *metric.MeterProvider, option gmetric.MeterOption) gmetric.MeterPerformer {
meterPerformer := &localMeterPerformer{
MeterOption: option,