src/utils_format_stackdriver.c: Fix initial value of cumulative metrics.
authorFlorian Forster <octo@collectd.org>
Tue, 9 Oct 2018 11:54:50 +0000 (13:54 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 11 Oct 2018 08:47:25 +0000 (10:47 +0200)
commitf1b0dfc4b036b2e10418075ca7e7de9c8f3dfb5e
tree89e9aa8172c9e01dc055c1cb9252e222eba8c4da
parent157437f4e1d1f167480521b2a338169a7a553ef2
src/utils_format_stackdriver.c: Fix initial value of cumulative metrics.

The start value of cumulative metrics is stored in the cache. The first
value of a cumulative metric is then skipped, since Stackdriver required
the interval to be non-zero.

While looking into this, I realized that "absolute" metrics are not
cumulative and changed them accordingly.
src/utils_format_stackdriver.c