diff --git a/prometheus/examples_test.go b/prometheus/examples_test.go index 5283569..5f909a6 100644 --- a/prometheus/examples_test.go +++ b/prometheus/examples_test.go @@ -23,10 +23,10 @@ import ( "strings" "time" - dto "github.com/prometheus/client_model/go" + "github.com/golang/protobuf/proto" "github.com/prometheus/common/expfmt" - "github.com/golang/protobuf/proto" + dto "github.com/prometheus/client_model/go" "github.com/prometheus/client_golang/prometheus" ) diff --git a/prometheus/metric.go b/prometheus/metric.go index a2da491..06897f2 100644 --- a/prometheus/metric.go +++ b/prometheus/metric.go @@ -18,6 +18,7 @@ import ( "time" "github.com/gogo/protobuf/proto" + dto "github.com/prometheus/client_model/go" )