Skip to content

Commit

Permalink
test_service: Sort imports and vars
Browse files Browse the repository at this point in the history
  • Loading branch information
iknite committed Mar 4, 2019
1 parent 14fd097 commit 7735678
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/e2e/test_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@ import (
"sync/atomic"
"time"

"github.com/prometheus/client_golang/prometheus"

"github.com/bbva/qed/api/metricshttp"
"github.com/bbva/qed/log"
"github.com/bbva/qed/protocol"

"github.com/prometheus/client_golang/prometheus"
)

var (

// Prometheus

QedStoreInstancesCount = prometheus.NewGauge(
prometheus.GaugeOpts{
Name: "qed_store_instances_count",
Expand Down Expand Up @@ -67,9 +69,9 @@ var (
QedStoreSnapshotsRetrievedTotal,
QedStoreAlertsGeneratedTotal,
}
)

var registerMetrics sync.Once
registerMetrics sync.Once
)

// Register all metrics.
func Register(r *prometheus.Registry) {
Expand Down

0 comments on commit 7735678

Please sign in to comment.