Skip to content

Commit

Permalink
docs: change SumObserver to UpDownSumObserver because before we were …
Browse files Browse the repository at this point in the history
…mention UpDownSumObserver (open-telemetry#642)
  • Loading branch information
DotSpy authored Jun 15, 2020
1 parent 93ef54a commit 0f5ec2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/metrics/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ opposed to `UpDownSumObserver`?
Consider how to report the size of a queue asynchronously. Both
`ValueObserver` and `UpDownSumObserver` logically apply in this case.
Asynchronous instruments capture only one measurement per interval, so
in this example the `SumObserver` reports a current sum, while the
in this example the `UpDownSumObserver` reports a current sum, while the
`ValueObserver` reports a current sum (equal to the max and the min)
and a count equal to 1. When there is no aggregation, these results
are equivalent.
Expand Down

0 comments on commit 0f5ec2a

Please sign in to comment.