diff --git a/handlers.go b/handlers.go index 168f553..b5deb8f 100644 --- a/handlers.go +++ b/handlers.go @@ -13,10 +13,11 @@ import ( "path/filepath" "strings" "time" - "goji.io/middleware" - "goji.io/pat" + "github.com/miolini/datacounter" "github.com/prometheus/client_golang/prometheus" + "goji.io/middleware" + "goji.io/pat" ) func isHashed(dir string) bool { diff --git a/metrics.go b/metrics.go index 0a0f321..086a5a4 100644 --- a/metrics.go +++ b/metrics.go @@ -2,7 +2,6 @@ package restserver import "github.com/prometheus/client_golang/prometheus" - var metricBlobWriteTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "rest_server_blob_write_total",