Codebase list golang-github-go-kit-kit / 81da6c1
Fix typo. Thanks, @groob! Peter Bourgon 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3636
3737 func (mw instrmw) Count(s string) (n int) {
3838 defer func(begin time.Time) {
39 lvs := []string{"method", "uppercase"}
39 lvs := []string{"method", "count"}
4040 mw.requestCount.With(lvs...).Add(1)
4141 mw.requestLatency.With(lvs...).Observe(time.Since(begin).Seconds())
4242 mw.countResult.Observe(float64(n))