Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Resolve package dimension for internal metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Rucknar committed Jan 22, 2017
1 parent 17cceba commit eafae96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gather.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func getJSON(url string, accessKey string, secretKey string, target interface{})

// Timings recorded as part of internal metrics
elapsed := float64((time.Since(start)) / time.Microsecond)
measure.FunctionDurations.WithLabelValues("hosts", "getJSON").Observe(elapsed)
measure.FunctionDurations.WithLabelValues("main", "getJSON").Observe(elapsed)

// Close the response body, the underlying Transport should then close the connection.
resp.Body.Close()
Expand Down

0 comments on commit eafae96

Please sign in to comment.