statsd

package
v0.0.0-...-523ebca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL