Skip to content

Commit

Permalink
No globally registered metrics in pkg/querier (cortexproject/cortex#2210
Browse files Browse the repository at this point in the history
)

* No globally registered metrics in pkg/querier

Signed-off-by: Marco Pracucci <marco@pracucci.com>
  • Loading branch information
pracucci committed Mar 5, 2020
1 parent df18913 commit 7a6e377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func NewHTTPService(
}
}

func (s *HTTPService) metrics() (_ string, err error) {
func (s *HTTPService) Metrics() (_ string, err error) {
// Map the container port to the local port
localPort := s.networkPortsContainerToLocal[s.httpPort]

Expand Down Expand Up @@ -522,7 +522,7 @@ func (s *HTTPService) WaitSumMetrics(isExpected func(sums ...float64) bool, metr
sums := make([]float64, len(metricNames))

for s.retryBackoff.Reset(); s.retryBackoff.Ongoing(); {
metrics, err := s.metrics()
metrics, err := s.Metrics()
if err != nil {
return err
}
Expand Down

0 comments on commit 7a6e377

Please sign in to comment.