Skip to content

Commit f9e6017

Browse files
committed
Document removal of _total from metric name.
It's only in the timeseries name now.
1 parent b1b80f2 commit f9e6017

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ c.inc() # Increment by 1
7272
c.inc(1.6) # Increment by given value
7373
```
7474

75+
If there is a suffix of `_total` on the metric name, it will be removed. This
76+
is for compatibility between OpenMetrics and the Prometheus text format.
77+
7578
There are utilities to count exceptions raised:
7679

7780
```python

0 commit comments

Comments
 (0)