- SEE ALSO
- COPYRIGHT AND LICENSE
Alien::nragent - (Deprecated) Download and install the NewRelic agent
use FFI::Platypus; use Alien::nragent; my $ffi = FFI::Platypus->new; $ffi->lib(Alien::nragent->dynamic_libs); ...
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.
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 <firstname.lastname@example.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.