NewSummary works like the function of the same name in the prometheus package but it automatically registers the Summary with the prometheus.DefaultRegisterer. If the registration fails, NewSummary panics.
(opts prometheus.SummaryOpts)
| 209 | // but it automatically registers the Summary with the |
| 210 | // prometheus.DefaultRegisterer. If the registration fails, NewSummary panics. |
| 211 | func NewSummary(opts prometheus.SummaryOpts) prometheus.Summary { |
| 212 | return With(prometheus.DefaultRegisterer).NewSummary(opts) |
| 213 | } |
| 214 | |
| 215 | // NewSummaryVec works like the function of the same name in the prometheus |
| 216 | // package but it automatically registers the SummaryVec with the |
nothing calls this directly
no test coverage detected