CounterVec is a Collector that bundles a set of Counters that all share the same Desc, but have different values for their variable labels. This is used if you want to count the same thing partitioned by various dimensions (e.g. number of HTTP requests, partitioned by response code and method). Crea
| 186 | // (e.g. number of HTTP requests, partitioned by response code and |
| 187 | // method). Create instances with NewCounterVec. |
| 188 | type CounterVec struct { |
| 189 | *MetricVec |
| 190 | } |
| 191 | |
| 192 | // NewCounterVec creates a new CounterVec based on the provided CounterOpts and |
| 193 | // partitioned by the given label names. |
nothing calls this directly
no outgoing calls
no test coverage detected