]> Cypherpunks.ru repositories - gostls13.git/commit
runtime/metrics: mark histogram metrics as cumulative
authorMichael Anthony Knyszek <mknyszek@google.com>
Fri, 8 Jan 2021 17:12:50 +0000 (17:12 +0000)
committerMichael Knyszek <mknyszek@google.com>
Fri, 8 Jan 2021 18:15:53 +0000 (18:15 +0000)
commit6250833911fc979a4ca5ba8b7f0612d054a3aeec
tree8b8f351bf5a934842f31228fc8e813dfe8f675b4
parent8f6a9acbb3f63a77175eaa153cace5f3b6d611b2
runtime/metrics: mark histogram metrics as cumulative

All the current histogram metrics accumulate counts from program start
to infinity, and can be reasonably used to compute rates (also to
generate windowed distributions).

Change-Id: I5196c59867de34fba41bb8552606fa315460cef9
Reviewed-on: https://go-review.googlesource.com/c/go/+/282633
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/metrics/description.go