Skip to content

Commit

Permalink
Only monotonic sum are counters (with _total) (#2644)
Browse files Browse the repository at this point in the history
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
  • Loading branch information
gouthamve and jmacd authored Jul 8, 2022
1 parent a64bade commit 7933549
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 7933549

Please sign in to comment.