| commit | c2c787d73e6fadd57ebcc9fb07532332637b9164 | [log] [tgz] |
|---|---|---|
| author | Nayef Ghattas <nayef.ghattas@datadoghq.com> | Wed Apr 12 11:09:01 2023 +0200 |
| committer | Michael Knyszek <mknyszek@google.com> | Mon Apr 24 14:10:02 2023 +0000 |
| tree | 2ac54984de43a2ad6b25f31293c65609146ce86e | |
| parent | 21c2fdd91c1c5885990663a054c66bddfa4986fc [diff] |
runtime/metrics: set /sched/latencies:seconds as cumulative The current implementation for this metric populates a histogram that is never reset, i.e. where each bucket count increases monotonically. The comment in the definition of the Cumulative attribute calls out that cumulative means that if the metric is a distribution, then each bucket count increases monotonically. In that sense, the cumulative attribute should be set to true for this metric. Change-Id: Ifc34e965a62f2d7881b5c8e8cbb8b7207a4d5757 Reviewed-on: https://go-review.googlesource.com/c/go/+/486755 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com> Reviewed-by: Michael Pratt <mpratt@google.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.