https://github.com/one-com/plack-middleware-accesslog-statsd
Log request info to StatsD
https://github.com/one-com/plack-middleware-accesslog-statsd
Last synced: about 1 year ago
JSON representation
Log request info to StatsD
- Host: GitHub
- URL: https://github.com/one-com/plack-middleware-accesslog-statsd
- Owner: One-com
- Created: 2012-12-12T14:55:01.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-12T14:55:59.000Z (over 13 years ago)
- Last Synced: 2025-02-05T07:49:09.680Z (over 1 year ago)
- Language: Perl
- Size: 102 KB
- Stars: 2
- Watchers: 13
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
NAME
Plack::Middleware::AccessLog::StatsD - Logs requests to StatsD server
SYNOPSIS
#in app.psgi
use Plack::Builder;
builder {
enable "Plack::Middleware::AccessLog::StatsD",
host => 'statsd.example.net',
port => 8125,
prefix => 'my_app';
$app;
};
DESCRIPTION
Plack::Middleware::AccessLog::StatsD logs information about individual
requests to a StatsD server. Currently the following metrics are logged:
.response. (counter)
.response_time. (timer)
.response_time. (timer)
CONFIGURATION
The following configuration parameters are available:
host
Hostname for the StatsD server
port (default: 8125)
Port the StatsD server is listeneing on
prefix
Prefix for the keys added to StatsD
SEE ALSO
AUTHOR
Peter Makholm
COPYRIGHT AND LICENSE
Copyright (C) 2012 by Peter Makholm.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.