From f0dc2fe44191357847ddfbf4bdd3f3bb4711201d Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Mon, 6 May 2024 09:56:07 -0700 Subject: [PATCH] Fix HistogramConfig docs --- metric/syncfloat64.go | 4 ++-- metric/syncint64.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/metric/syncfloat64.go b/metric/syncfloat64.go index 5420d546eb7..e2f604cce98 100644 --- a/metric/syncfloat64.go +++ b/metric/syncfloat64.go @@ -133,8 +133,8 @@ type Float64Histogram interface { Record(ctx context.Context, incr float64, options ...RecordOption) } -// Float64HistogramConfig contains options for synchronous counter instruments -// that record int64 values. +// Float64HistogramConfig contains options for synchronous histogram +// instruments that record int64 values. type Float64HistogramConfig struct { description string unit string diff --git a/metric/syncint64.go b/metric/syncint64.go index 0dcbf06db99..ec96c7f1816 100644 --- a/metric/syncint64.go +++ b/metric/syncint64.go @@ -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