NAME

Mojolicious::Plugin::Statsd::Adapter::Statsd - Statsd UDP recording

DESCRIPTION

This adapter for Mojolicious::Plugin::Statsd sends stats immediately over UDP to a statsd service.

INHERITANCE

Mojolicious::Plugin::Statsd::Adapter::Statsd is a Mojo::Base

ATTRIBUTES

addr

The statsd service address. Defaults to the value of $ENV{STATSD_ADDR}, or localhost:8125.

socket

An IO::Socket::INET. Opened connecting to "addr" when necessary.

METHODS

timing

See "timing" in Mojolicious::Plugin::Statsd.

counter

See "counter" in Mojolicious::Plugin::Statsd.

gauge

See "gauge" in Mojolicious::Plugin::Statsd.

set_add

See "set_add" in Mojolicious::Plugin::Statsd.