Plack-Middleware-Statsd
view release on metacpan or search on metacpan
"Test::Portability::Files" : "0",
"Test::TrailingSpace" : "0.0203",
"Test::Vars" : "0.015"
}
},
"runtime" : {
"recommends" : {
"HTTP::Status" : "6.16",
"List::Util::XS" : "0",
"Net::Statsd::Tiny" : "v0.3.0",
"Ref::Util::XS" : "0"
},
"requires" : {
"List::Util" : "0",
"Plack::Middleware" : "0",
"Ref::Util" : "0",
"Time::HiRes" : "0",
"Try::Tiny" : "0",
"experimental" : "0",
"parent" : "0",
"perl" : "v5.20.0",
"warnings" : "0"
}
},
"test" : {
"recommends" : {
version: '1.4'
name: Plack-Middleware-Statsd
provides:
Plack::Middleware::Statsd:
file: lib/Plack/Middleware/Statsd.pm
version: v0.8.0
recommends:
HTTP::Status: '6.16'
List::Util::XS: '0'
Net::Statsd::Tiny: v0.3.0
Ref::Util::XS: '0'
requires:
List::Util: '0'
Plack::Middleware: '0'
Ref::Util: '0'
Time::HiRes: '0'
Try::Tiny: '0'
experimental: '0'
parent: '0'
perl: v5.20.0
warnings: '0'
resources:
bugtracker: https://github.com/robrwo/Plack-Middleware-Statsd/issues
homepage: https://metacpan.org/pod/Plack::Middleware::Statsd
repository: git://github.com/robrwo/Plack-Middleware-Statsd.git
Makefile.PL view on Meta::CPAN
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Plack-Middleware-Statsd",
"LICENSE" => "artistic_2",
"MIN_PERL_VERSION" => "5.020000",
"NAME" => "Plack::Middleware::Statsd",
"PREREQ_PM" => {
"List::Util" => 0,
"Plack::Middleware" => 0,
"Ref::Util" => 0,
"Time::HiRes" => 0,
"Try::Tiny" => 0,
"experimental" => 0,
"parent" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"File::Spec" => 0,
"HTTP::Request" => 0,
"HTTP::Request::Common" => 0,
Makefile.PL view on Meta::CPAN
"HTTP::Request" => 0,
"HTTP::Request::Common" => 0,
"List::Util" => 0,
"Module::Metadata" => "1.000015",
"Plack::Builder" => 0,
"Plack::MIME" => 0,
"Plack::Middleware" => 0,
"Plack::Middleware::ContentLength" => 0,
"Plack::Middleware::Head" => 0,
"Plack::Test" => 0,
"Ref::Util" => 0,
"Sub::Util" => "1.40",
"Test::Differences" => 0,
"Test::MockObject" => 0,
"Test::More" => 0,
"Test::Most" => 0,
"Test::Vars" => "0.015",
"Test::Warnings" => 0,
"Time::HiRes" => 0,
"Try::Tiny" => 0,
"experimental" => 0,
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.032
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
requires "List::Util" => "0";
requires "Plack::Middleware" => "0";
requires "Ref::Util" => "0";
requires "Time::HiRes" => "0";
requires "Try::Tiny" => "0";
requires "experimental" => "0";
requires "parent" => "0";
requires "perl" => "v5.20.0";
requires "warnings" => "0";
recommends "HTTP::Status" => "6.16";
recommends "List::Util::XS" => "0";
recommends "Net::Statsd::Tiny" => "v0.3.0";
recommends "Ref::Util::XS" => "0";
on 'build' => sub {
requires "ExtUtils::MakeMaker" => "7.22";
requires "Module::Metadata" => "1.000015";
};
on 'test' => sub {
requires "File::Spec" => "0";
requires "HTTP::Request" => "0";
requires "HTTP::Request::Common" => "0";
lib/Plack/Middleware/Statsd.pm view on Meta::CPAN
package Plack::Middleware::Statsd;
# ABSTRACT: send statistics to statsd
# RECOMMEND PREREQ: Net::Statsd::Tiny v0.3.0
# RECOMMEND PREREQ: HTTP::Status 6.16
# RECOMMEND PREREQ: List::Util::XS
# RECOMMEND PREREQ: Ref::Util::XS
use v5.20;
use warnings;
use parent qw/ Plack::Middleware /;
use List::Util qw/ first /;
use Plack::Util;
use Plack::Util::Accessor
qw/ client sample_rate histogram increment set_add catch_errors /;
use Ref::Util qw/ is_coderef /;
use Time::HiRes;
use Try::Tiny;
use experimental qw/ postderef signatures /;
our $VERSION = 'v0.8.0';
# Note: You may be able to omit the client if there is a client
# defined in the environment hash at C<psgix.monitor.statsd>, and the
# L</histogram>, L</increment> and L</attributes> are set. But that
t/00-report-prereqs.dd view on Meta::CPAN
'Test::Portability::Files' => '0',
'Test::TrailingSpace' => '0.0203',
'Test::Vars' => '0.015'
}
},
'runtime' => {
'recommends' => {
'HTTP::Status' => '6.16',
'List::Util::XS' => '0',
'Net::Statsd::Tiny' => 'v0.3.0',
'Ref::Util::XS' => '0'
},
'requires' => {
'List::Util' => '0',
'Plack::Middleware' => '0',
'Ref::Util' => '0',
'Time::HiRes' => '0',
'Try::Tiny' => '0',
'experimental' => '0',
'parent' => '0',
'perl' => 'v5.20.0',
'warnings' => '0'
}
},
'test' => {
'recommends' => {
( run in 0.259 second using v1.01-cache-2.11-cpan-4d50c553e7e )