forked from mirror/client_golang
7c46c150bd
The wording of the documentation is slightly misleading. Before this commit, it says that the returned collectors are "already registered". This could be interpreted in two ways, one could think that promauto keeps some sort of cache of already registered Collectors that are returned by this package, and the other way is that the Collectors constructed are registered before being returned. What is actually happening is the latter, and the wording after this PR leaves no room to think that the former could be the case. Signed-off-by: Rafael Franco <me@rafaelfranco.es> Signed-off-by: Rafael Franco <me@rafaelfranco.es> |
||
---|---|---|
.. | ||
auto.go | ||
auto_test.go |