(out chan<- prometheus.Metric, desc *prometheus.Desc, gauge string)
| 282 | } |
| 283 | |
| 284 | func (d MetricFamiliesPerTenant) SendMaxOfGauges(out chan<- prometheus.Metric, desc *prometheus.Desc, gauge string) { |
| 285 | d.foldGauges(out, desc, func(familyMap MetricFamilyMap) float64 { return familyMap.MaxGauges(gauge) }, func(val, res float64) float64 { |
| 286 | if val > res { |
| 287 | return val |
| 288 | } |
| 289 | return res |
| 290 | }) |
| 291 | } |
| 292 | |
| 293 | func (d MetricFamiliesPerTenant) SendMaxOfGaugesPerTenant(out chan<- prometheus.Metric, desc *prometheus.Desc, gauge string) { |
| 294 | for _, tenantEntry := range d { |