diff --git a/metrics/prometheus/reporter.go b/metrics/prometheus/reporter.go index 1dce679ac21cadff9de37a019bb214580e03453f..bd1e7986ca709a4e10dfcad04d2380931308d568 100644 --- a/metrics/prometheus/reporter.go +++ b/metrics/prometheus/reporter.go @@ -23,7 +23,12 @@ import ( "strings" "sync" "time" +) +import ( + "github.com/prometheus/client_golang/prometheus" +) +import ( "github.com/apache/dubbo-go/common" "github.com/apache/dubbo-go/common/constant" "github.com/apache/dubbo-go/common/extension" @@ -31,7 +36,6 @@ import ( "github.com/apache/dubbo-go/config" "github.com/apache/dubbo-go/metrics" "github.com/apache/dubbo-go/protocol" - "github.com/prometheus/client_golang/prometheus" ) const ( diff --git a/metrics/reporter.go b/metrics/reporter.go index aac961d7e7a0c644ee435bc95bbf577fc774f9c8..9a7094fa62d9c0fa3e6ee0a8ef373f91c28d2c90 100644 --- a/metrics/reporter.go +++ b/metrics/reporter.go @@ -20,7 +20,8 @@ package metrics import ( "context" "time" - +) +import ( "github.com/apache/dubbo-go/protocol" )