Skip to content

Commit

Permalink
docs(api): fix counter negative value wording (#3396)
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Nov 8, 2022
1 parent d154066 commit 85c62ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ All notable changes to this project will be documented in this file.

### :books: (Refine Doc)

* docs(api): fix counter negative value wording [#3396](https://github.com/open-telemetry/opentelemetry-js/pull/3396) @legendecas

### :house: (Internal)

* ci: run browser tests without circle [#3328](https://github.com/open-telemetry/opentelemetry-js/pull/3328) @dyladan
Expand Down
2 changes: 1 addition & 1 deletion api/src/metrics/Metric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export enum ValueType {
*/
export interface Counter<AttributesTypes extends MetricAttributes = MetricAttributes> {
/**
* Increment value of counter by the input. Inputs may not be negative.
* Increment value of counter by the input. Inputs must not be negative.
*/
add(value: number, attributes?: AttributesTypes, context?: Context): void;
}
Expand Down

0 comments on commit 85c62ef

Please sign in to comment.