Hello,
I have re-compiled Nginx v1.6 (on RHEL 6.2 x64) and I would like to include the dt Agent during the compilation.
Our documentation refers to "NGINX Agent source code". What does it mean? Where can I found the "NGINX Agent source code"?
Thank you
Jerome
Answer by Scott D. ·
LOL. Apparently it's like finding the project plan for the Vogon's Hyperspace Bypass..
Hi Scott. Lot has changed since the posting in July last year - shouldnt be as tough as to find your way through the galaxy
I forwarded this to our team who handles Nginx to get an updated comment on this. Nginx has been fully supported with dynatrace for a whlie now and we have some great examples and updated help on this. If you have specifiy questions let us know
Cheers
Hi Andreas,
Thank you! If someone has a URL where i could download the agent source code for Nginx, that would be marvellous. Thank you very much!
Hi Scott,
indeed a lot has changed since July last year. The original approach was to have the option to compile the agent into nginx. But this option was dropped and therefore you can't find a source code. The (only) way to place the agent into nginx is by using LD_PRELOAD. However, nginx is currently working on the support of dynamically loadable modules, we will also support that.
-Harald
Answer by Roman S. ·
Hi Jerome,
The agent source code (or actually the source code of the agent loader) is not available yet. Once 6.0 is GA the preferred method will be to use the debug symbols (which you can create using the gcc option -g if you compile nginx yourself). We have a script that will generate a config file for the agent out of the debug symbols - but it is also not ready yet
Best, Roman
JANUARY 15, 3:00 PM GMT / 10:00 AM ET