mirror of
https://gitee.com/johng/gf.git
synced 2024-11-29 18:57:44 +08:00
chore: fix function names in comments for package otelmetric
(#3493)
This commit is contained in:
parent
adb813fbad
commit
fa4f31f3dd
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user