Minor cleanup.

This commit is contained in:
Johannes 'fish' Ziemke 2013-05-14 15:45:38 +02:00
parent b199e6dbc3
commit 26e294c1af
3 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ func New(configFile string) (e exporter, err error) {
registry := prometheus.NewRegistry()
e = exporter{
configFile: configFile,
scrapeDurations: prometheus.NewDefaultHistogram(),
scrapeDurations: prometheus.NewDefaultHistogram(),
metricsUpdated: prometheus.NewGauge(),
listeningAddress: ":8080",
scrapeInterval: 60 * time.Second,

View file

@ -8,8 +8,8 @@ import (
"github.com/prometheus/node_exporter/exporter/ganglia"
"io"
"net"
"time"
"strings"
"time"
)
const (