Skip to content

Commit f23078e

Browse files
authored
Fix HistogramConfig docs (open-telemetry#5301)
1 parent f8840b9 commit f23078e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

metric/syncfloat64.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ type Float64Histogram interface {
133133
Record(ctx context.Context, incr float64, options ...RecordOption)
134134
}
135135

136-
// Float64HistogramConfig contains options for synchronous counter instruments
137-
// that record float64 values.
136+
// Float64HistogramConfig contains options for synchronous histogram
137+
// instruments that record float64 values.
138138
type Float64HistogramConfig struct {
139139
description string
140140
unit string

metric/syncint64.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ type Int64Histogram interface {
133133
Record(ctx context.Context, incr int64, options ...RecordOption)
134134
}
135135

136-
// Int64HistogramConfig contains options for synchronous counter instruments
136+
// Int64HistogramConfig contains options for synchronous histogram instruments
137137
// that record int64 values.
138138
type Int64HistogramConfig struct {
139139
description string

0 commit comments

Comments
 (0)