Skip to content

Commit

Permalink
[DOC] Small fix for Histogram documentation. (#2156)
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb authored May 26, 2023
1 parent 770fce3 commit 5e290c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/include/opentelemetry/metrics/sync_instruments.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5e290c9

Please sign in to comment.