NewHistogramVec creates a new HistogramVec based on the provided HistogramOpts and partitioned by the given label names.
(opts HistogramOpts, labelNames []string)
| 1177 | // NewHistogramVec creates a new HistogramVec based on the provided HistogramOpts and |
| 1178 | // partitioned by the given label names. |
| 1179 | func NewHistogramVec(opts HistogramOpts, labelNames []string) *HistogramVec { |
| 1180 | return V2.NewHistogramVec(HistogramVecOpts{ |
| 1181 | HistogramOpts: opts, |
| 1182 | VariableLabels: UnconstrainedLabels(labelNames), |
| 1183 | }) |
| 1184 | } |
| 1185 | |
| 1186 | // NewHistogramVec creates a new HistogramVec based on the provided HistogramVecOpts. |
| 1187 | func (v2) NewHistogramVec(opts HistogramVecOpts) *HistogramVec { |