NAME

PerlGuard::Agent - Trace your application performance with PerlGuard

SYNOPSIS

use PerlGuard::Agent;
my $agent = PerlGuard::Agent->new($config);
my $profile = $agent->create_new_profile();
$profile->start_recording;
$profile->url( $my_url );
$profile->http_method( $my_http_method );
$profile->controller( "My::Controller" );
$profile->controller_action( "index_pages" );
$profile->finish_recording;
# Let variables fall out of scope to perform cleanup

DESCRIPTION

This is the PerlGuard agent which will help you collect and store metrics also known as application performance monitoring. You will usually use on of the plugins to integrate assuming you are using a supported framework.

DBI is required for DBI monitoring Net::HTTP is requires for HTTP monitoring

AUTHOR

Jonathan Taylor, <jon@stackhaus.com>

COPYRIGHT AND LICENSE

Copyright (C) 2015 by Stackhaus LTD

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.1 or, at your option, any later version of Perl 5 you may have available.