PerlGuard::Agent - Trace your application performance with PerlGuard
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
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
Jonathan Taylor, <jon@stackhaus.com>
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.
To install PerlGuard::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlGuard::Agent
CPAN shell
perl -MCPAN -e shell install PerlGuard::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.