(ch chan<- prometheus.Metric)
| 49 | } |
| 50 | |
| 51 | func (v *CachedGaugeVec) Collect(ch chan<- prometheus.Metric) { |
| 52 | v.m.Lock() |
| 53 | defer v.m.Unlock() |
| 54 | |
| 55 | v.gaugeVec.Collect(ch) |
| 56 | } |
| 57 | |
| 58 | func (v *CachedGaugeVec) WithLabelValues(operation VectorOperation, value float64, labelValues ...string) { |
| 59 | switch operation { |