On 24 March 2017 at 19:19, <
kkli...@gmail.com> wrote:
> I cannot figure out the right combination of functions, rates and
> resolutions to get this to happen. Does anyone have any advice?
`irate` with a range selector that safely covers the last two data
points (e.g. `irate(my_counter_total[2m])` with a 30s scrape interval)
should do the trick. It will give you a sharp peak whenever the
counter increases.
--
Björn Rabenstein, Engineer
http://soundcloud.com/brabenstein
SoundCloud Ltd. | Rheinsberger Str. 76/77, 10115 Berlin, Germany
Managing Director: Alexander Ljung | Incorporated in England & Wales
with Company No. 6343600 | Local Branch Office | AG Charlottenburg |
HRB 110657B