From 5e290c909d208915f4cb6383c225279f63889a26 Mon Sep 17 00:00:00 2001 From: Lalit Kumar Bhasin Date: Fri, 26 May 2023 02:42:54 -0700 Subject: [PATCH] [DOC] Small fix for Histogram documentation. (#2156) --- api/include/opentelemetry/metrics/sync_instruments.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/include/opentelemetry/metrics/sync_instruments.h b/api/include/opentelemetry/metrics/sync_instruments.h index b81a412680..b26e527c2c 100644 --- a/api/include/opentelemetry/metrics/sync_instruments.h +++ b/api/include/opentelemetry/metrics/sync_instruments.h @@ -97,14 +97,14 @@ class Histogram : public SynchronousInstrument /** * Records a value. * - * @param value The increment amount. May be positive, negative or zero. + * @param value The measurement value. MUST be non-negative. */ virtual void Record(T value, const context::Context &context) noexcept = 0; /** * Records a value with a set of attributes. * - * @param value The increment amount. May be positive, negative or zero. + * @param value The measurement value. MUST be non-negative. * @param attributes A set of attributes to associate with the count. */ virtual void Record(T value,