Skip to content

Commit

Permalink
fix other inconsistencies in statsd metric documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Shantanu Joshi committed Oct 22, 2019
1 parent 4335006 commit b1460c0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions hooks/statsd/statsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ func NewStatsdServerHooks(stats Statter) *twirp.ServerHooks {
}

// ResponseSent:
// - inc twirp.total.response
// - inc twirp.<method>.response
// - inc twirp.status_codes.total.<code>.response
// - inc twirp.status_codes.<method>.<code>.response
// - time twirp.total.response
// - inc twirp.total.responses
// - inc twirp.<method>.responses
// - inc twirp.status_codes.total.<code>
// - inc twirp.status_codes.<method>.<code>
// - time twirp.all_methods.response
// - time twirp.<method>.response
// - time twirp.status_codes.total.<code>.response
// - time twirp.status_codes.<method>.<code>.response
// - time twirp.status_codes.all_methods.<code>
// - time twirp.status_codes.<method>.<code>
hooks.ResponseSent = func(ctx context.Context) {
// Three pieces of data to get, none are guaranteed to be present:
// - time that the request started
Expand Down

0 comments on commit b1460c0

Please sign in to comment.