Add missing fields

This commit is contained in:
Cody Soyland 2019-06-05 12:46:16 -05:00 • committed by Matt Jaffee
parent 68e89c63f8
commit d3db48a1fd
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF

View file

@ -56,6 +56,8 @@ func NewPrometheusClient() (*prometheusClient, error) {
counterVecs: make(map[string]*prometheus.CounterVec),
gauges: make(map[string]prometheus.Gauge),
gaugeVecs: make(map[string]*prometheus.GaugeVec),
observers: make(map[string]prometheus.Observer),
summaryVecs: make(map[string]*prometheus.SummaryVec),
}, nil
}
@ -86,6 +88,8 @@ func (c *prometheusClient) WithTags(tags ...string) stats.StatsClient {
counterVecs: c.counterVecs,
gauges: c.gauges,
gaugeVecs: c.gaugeVecs,
observers: c.observers,
summaryVecs: c.summaryVecs,
}
}