Skip to content

Commit

Permalink
Merge pull request #146 from m-lab/promtest
Browse files Browse the repository at this point in the history
package moved
  • Loading branch information
pboothe authored Apr 1, 2019
2 parents e23b1e6 + b31d8b7 commit a9fcac8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions cloud/tq/tq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import (
"log"
"testing"

"github.com/m-lab/go/prometheusx"

"github.com/m-lab/etl-gardener/cloud"
"github.com/m-lab/etl-gardener/cloud/tq"
"github.com/m-lab/go/prometheusx/promtest"
)

func init() {
Expand All @@ -33,5 +32,5 @@ func TestPostOneTask(t *testing.T) {

func TestMetrics(t *testing.T) {
tq.EmptyStatsRecoveryTimeHistogramSecs.WithLabelValues("x")
prometheusx.LintMetrics(t)
promtest.LintMetrics(t)
}
4 changes: 2 additions & 2 deletions metrics/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package metrics
import (
"testing"

"github.com/m-lab/go/prometheusx"
"github.com/m-lab/go/prometheusx/promtest"
)

func TestLintMetrics(t *testing.T) {
Expand All @@ -16,5 +16,5 @@ func TestLintMetrics(t *testing.T) {
StateTimeHistogram.WithLabelValues("x")
FilesPerDateHistogram.WithLabelValues("x")
BytesPerDateHistogram.WithLabelValues("x")
prometheusx.LintMetrics(t)
promtest.LintMetrics(t)
}

0 comments on commit a9fcac8

Please sign in to comment.