func (p *Prometheus) collectGauge(mx map[string]int64, mf *prometheus.MetricFamily) {
    for _, m := range mf.Metrics() {
        if m.Gauge() == nil || math.IsNaN(m.Gauge().Value()) {
            continue
        }