NewHistogramVec works like the function of the same name in the prometheus package but it automatically registers the HistogramVec with the prometheus.DefaultRegisterer. If the registration fails, NewHistogramVec panics.
(opts prometheus.HistogramOpts, labelNames []string)
| 232 | // prometheus.DefaultRegisterer. If the registration fails, NewHistogramVec |
| 233 | // panics. |
| 234 | func NewHistogramVec(opts prometheus.HistogramOpts, labelNames []string) *prometheus.HistogramVec { |
| 235 | return With(prometheus.DefaultRegisterer).NewHistogramVec(opts, labelNames) |
| 236 | } |
| 237 | |
| 238 | // NewUntypedFunc works like the function of the same name in the prometheus |
| 239 | // package but it automatically registers the UntypedFunc with the |
nothing calls this directly
no test coverage detected