train: Index | Files

package statsd

import ""


Package Files


func New Uses

func New(stats statsd.Client) train.Interceptor

New returns a statsd interceptor that logs the following metrics: * requests (counter) - request count * requests.method.<method> (counter) - requests by method * request.size (timer) - request content-length * response.ok (counter) - successful requests * response.errors.client (counter) - client errors * response.errors.server (counter) - server errors * response.duration (timer) - request duration * response.size (timer) - response size in bytes

Package statsd imports 4 packages (graph). Updated 2016-08-01. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).