Skip to content

Commit

Permalink
Document removal of _total from metric name.
Browse files Browse the repository at this point in the history
It's only in the timeseries name now.
  • Loading branch information
brian-brazil committed Sep 4, 2018
1 parent b1b80f2 commit f9e6017
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ c.inc() # Increment by 1
c.inc(1.6) # Increment by given value
```

If there is a suffix of `_total` on the metric name, it will be removed. This
is for compatibility between OpenMetrics and the Prometheus text format.

There are utilities to count exceptions raised:

```python
Expand Down

0 comments on commit f9e6017

Please sign in to comment.