Skip to content

Commit

Permalink
Fix HistogramConfig docs (#5301)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed May 6, 2024
1 parent f8840b9 commit f23078e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions metric/syncfloat64.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ type Float64Histogram interface {
Record(ctx context.Context, incr float64, options ...RecordOption)
}

// Float64HistogramConfig contains options for synchronous counter instruments
// that record float64 values.
// Float64HistogramConfig contains options for synchronous histogram
// instruments that record float64 values.
type Float64HistogramConfig struct {
description string
unit string
Expand Down
2 changes: 1 addition & 1 deletion metric/syncint64.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ type Int64Histogram interface {
Record(ctx context.Context, incr int64, options ...RecordOption)
}

// Int64HistogramConfig contains options for synchronous counter instruments
// Int64HistogramConfig contains options for synchronous histogram instruments
// that record int64 values.
type Int64HistogramConfig struct {
description string
Expand Down

0 comments on commit f23078e

Please sign in to comment.