prometheussink has the same number of params again

This commit is contained in:
Kit Patella 2020-11-16 14:01:40 -08:00
parent 6290be054a
commit 64c82130b9
1 changed files with 4 additions and 4 deletions

View File

@ -377,12 +377,12 @@ func InitTelemetry(cfg TelemetryConfig) (*metrics.InmemSink, error) {
if err := addSink(circonusSink); err != nil {
return nil, err
}
promSink, err := prometheusSink(cfg, metricsConf.HostName)
if err != nil {
if err := addSink(circonusSink); err != nil {
return nil, err
}
if err := addSink(prometheusSink); err != nil {
return nil, err
}
sinks = append(sinks, promSink)
if len(sinks) > 0 {
sinks = append(sinks, memSink)