func MetricToTimeSeries(m metric.Metric) model.TimeSeries {
	ts := model.TimeSeries{
		Labels:  make(map[string]string, len(m.Metric)),
		Samples: []*model.Sample{},
	}
	for k, v := range m.Metric {
		ts.Labels[string(k)] = string(v)
	}
	return ts
}
MetricToTimeSeries converts the prometheus storage metric type to a Vulcan
model TimeSeries.
package convert
import (
	"github.com/digitalocean/vulcan/model"
	prommodel "github.com/prometheus/common/model"
	"github.com/prometheus/prometheus/storage/metric"
)