NAME NewRelic::Agent::FFI - Perl Agent for NewRelic APM VERSION version 0.01 SYNOPSIS use NewRelic::Agent; my $agent = NewRelic:Agent->new( license_key => 'abc123', app_name => 'REST API', ); $agent->embed_collector; $agent->init; my $txn_id = $agent->begin_transaction; ... my $err_id = $agent->end_transaction($txn_id); DESCRIPTION WARNING: This module should be considered Alpha Quality! This module provides bindings for the NewRelic Agent SDK. It is a drop in replacement for NewRelic::Agent that is implemented using FFI::Platypus instead of XS and C++. Why use this module instead of the other one? As of this writing, you should definitely not use it in production! See the warning above and the caveats below. One advantage is that this module uses powerful Alien technology to source the NewRelic agent libraries. The other module has a serious bug which will break when the install files are removed . Another advantage to this module is that it does not require a C++ compiler, or even a C compiler for that matter. I think requiring C++ is overkill for using the NewRelic SDK. CAVEATS This module attempts to replicate the same interface as NewRelic::Agent, and this module includes a superset of the same tests. Unfortunately, the existing test suite for NewRelic::Agent is completely insufficient to have a high degree of confidence that either module works. AUTHOR Graham Ollis COPYRIGHT AND LICENSE This software is copyright (c) 2018 by Graham Ollis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.