Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify documentation around what constructors do (#1125)
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 <[email protected]> Signed-off-by: Rafael Franco <[email protected]>
- Loading branch information