go/src/runtime/metrics
Branden J Brown 1004a7cb31 runtime/metrics: update documentation to current interface
The package documentation referenced sample metadata that was removed in CL 282632. Update this documentation to be less specific
about what metadata is available.

Additionally, the documentation on the Sample type referred to Descriptions instead of All as the source of metrics names.

Fixes #44280.

Change-Id: I24fc63a744bf498cb4cd5bda56c1599f6dd75929
Reviewed-on: https://go-review.googlesource.com/c/go/+/292309
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Trust: Michael Knyszek <mknyszek@google.com>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
2021-02-16 16:26:30 +00:00
..
description.go runtime/metrics: mark histogram metrics as cumulative 2021-01-08 18:15:53 +00:00
description_test.go runtime/metrics: add ordering line to supported metrics docs 2020-12-10 21:08:10 +00:00
doc.go runtime/metrics: update documentation to current interface 2021-02-16 16:26:30 +00:00
example_test.go runtime/metrics: fix panic in readingAllMetric example 2021-02-08 16:09:01 +00:00
histogram.go runtime,runtime/metrics: use explicit histogram boundaries 2021-01-08 03:43:44 +00:00
sample.go runtime/metrics: update documentation to current interface 2021-02-16 16:26:30 +00:00
value.go runtime/metrics: fix a couple of documentation typpos 2021-02-09 02:00:01 +00:00