With creates a Factory using the provided Registerer for registration of the created Collectors. If the provided Registerer is nil, the returned Factory creates Collectors that are not registered with any Registerer.
(r prometheus.Registerer)
| 256 | // created Collectors. If the provided Registerer is nil, the returned Factory |
| 257 | // creates Collectors that are not registered with any Registerer. |
| 258 | func With(r prometheus.Registerer) Factory { return Factory{r} } |
| 259 | |
| 260 | // NewCounter works like the function of the same name in the prometheus package |
| 261 | // but it automatically registers the Counter with the Factory's Registerer. |
no outgoing calls