]> Cypherpunks.ru repositories - gostls13.git/commit
runtime/metrics: update documentation to current interface
authorBranden J Brown <zephyrtronium@gmail.com>
Tue, 16 Feb 2021 04:12:15 +0000 (23:12 -0500)
committerMichael Knyszek <mknyszek@google.com>
Tue, 16 Feb 2021 16:26:30 +0000 (16:26 +0000)
commit1004a7cb31ae31d2ca0b54b507b996c12403d54c
treecc21c90c24037aed8117189f7862ce0e171772aa
parent6530f2617f3100d8f1036afc5cb9b30b36628aaa
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>
src/runtime/metrics/doc.go
src/runtime/metrics/sample.go