commit | 172e675e5b05b025f106b0bd94c77a17c26ad3e3 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Thu Jun 10 10:38:41 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Jun 11 17:43:46 2021 +0000 |
tree | f6be12339c29c930cb9200f633e4b3cda7224c1e | |
parent | 50e41a6b1145aeeb7501c6cd38dcc10f573004e8 [diff] |
event: constructors require metric description Require a description in NewCounter, etc. Also unexport MetricDescriptor.description for consistency with other fields. Change-Id: Id91279f89be9a65a528f3a3c9b4bde00ce622e54 Reviewed-on: https://go-review.googlesource.com/c/exp/+/326674 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.