Skip to content

Commit

Permalink
Only monotonic sum are counters (with _total) (open-telemetry#2644)
Browse files Browse the repository at this point in the history
Signed-off-by: Goutham Veeramachaneni <[email protected]>

Co-authored-by: Joshua MacDonald <[email protected]>
  • Loading branch information
gouthamve and jmacd authored Jul 8, 2022
1 parent 244c931 commit d853173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/metrics/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ An [OpenTelemetry Gauge](#gauge) MUST be converted to a Prometheus Gauge.
- The new data point's start time must match the time of the accumulated data point. If not, see [detecting alignment issues].(#sums-detecting-alignment-issues).
- Otherwise, it MUST be dropped.

Sum metric points MUST have `_total` added as a suffix to the metric name.
Monotonic sum metric points MUST have `_total` added as a suffix to the metric name.

#### Histograms

Expand Down

0 comments on commit d853173

Please sign in to comment.