]> Cypherpunks repositories - gostls13.git/commit
runtime/metrics: add Read examples
authorMichael Anthony Knyszek <mknyszek@google.com>
Mon, 7 Dec 2020 15:11:46 +0000 (15:11 +0000)
committerMichael Knyszek <mknyszek@google.com>
Mon, 21 Dec 2020 19:28:12 +0000 (19:28 +0000)
commit6cff874c47bdb4567f5c84bc59d93311493caefe
treee6e5ef748935f183b08f63620f86d640970ea4d5
parent8438a5779b76620237d608282a99d17467b91f4c
runtime/metrics: add Read examples

This change adds two examples of using the Read function: one that reads
one metric and one that reads all metrics.

Change-Id: I4940a44c9b1d65f3f7a1554e3145ff07e6492fc1
Reviewed-on: https://go-review.googlesource.com/c/go/+/275855
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Trust: Michael Knyszek <mknyszek@google.com>
src/runtime/metrics/example_test.go [new file with mode: 0644]