func (e *Envoy) collectCounter(mfs prometheus.MetricFamilies, metric string, process func(name string, m prometheus.Metric)) {
    if mf := mfs.GetCounter(metric); mf != nil {
        for _, m := range mf.Metrics() {
            process(mf.Name(), m)
        }