Alien::nragent - (Deprecated) Download and install the NewRelic agent
version 0.08
use FFI::Platypus; use Alien::nragent; my $ffi = FFI::Platypus->new; $ffi->lib(Alien::nragent->dynamic_libs); ...
NOTE: This Alien is deprecated. It is based on the NewRelic Agent SDK, which was only ever released as beta software. Please use Alien::libnewrelic and NewFangle instead.
This Alien dist installs and makes available the NewRelic agent library.
If the NewRelic agent library is already in your library path, then they will be used.
If the NewRelic agent library is installed in /opt/newrelic, then that will be used.
/opt/newrelic
Otherwise the NewRelic agent library will be downloaded, and installed.
The SDK binaries provided by New Relic only work on Linux x86_64. The binaries are labeled as a "beta". The most recent version available (as of this writing) is dated July 1, 2019. However, I believe the New Relic Agent SDK is no longer being actively developed, and you are encouraged to consider the New Relic C SDK instead.
I have found that previous versions worked on Ubuntu Precise and Xenial, but not Cent OS 7. Your mileage my vary.
Bad things will happen if you call newrelic_init before forking. So don't do that.
Graham Ollis <plicease@cpan.org>
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.
To install Alien::nragent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::nragent
CPAN shell
perl -MCPAN -e shell install Alien::nragent
For more information on module installation, please visit the detailed CPAN module installation guide.