Skip to content

Commit

Permalink
rename hit measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
xiam committed Sep 15, 2021
1 parent d1c9606 commit b69828b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ func sample(start time.Time, r *http.Request, ww middleware.WrapResponseWriter)
}

httpMetrics.RecordDuration("request", labels, start, time.Now().UTC())
httpMetrics.RecordHit("request", labels)
httpMetrics.RecordHit("requests", labels)
}

0 comments on commit b69828b

Please sign in to comment.