Skip to content

Commit

Permalink
autogen README
Browse files Browse the repository at this point in the history
  • Loading branch information
ant0ine committed Aug 4, 2014
1 parent 68b30a6 commit 98f9a23
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,6 @@ func (mw *StatsdMiddleware) MiddlewareFunc(handler rest.HandlerFunc) rest.Handle

statusCode := request.Env["STATUS_CODE"].(int)
statsd.Counter(1.0, keyBase+"status_code."+strconv.Itoa(statusCode), 1)
log.Print(keyBase + "status_code." + strconv.Itoa(statusCode))

elapsedTime := request.Env["ELAPSED_TIME"].(*time.Duration)
statsd.Timing(1.0, keyBase+"elapsed_time", *elapsedTime)
Expand Down

0 comments on commit 98f9a23

Please sign in to comment.