Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
11-29-2017 02:13 PM
Hi there!
I'was experimenting the proxyless NodeJS agent by setting "libagent: true" in the appdynamics profile settings.
Although, new Business Transactions were created with a "FIXME" suffix.
E.g.: /authenticate => /authenticate.FIXME
Do you guys have any idea why that happens and how I could fix that?
Thanks in advance,
- Gabriel Saldanha (@gcrsaldanha)
Solved! Go to Solution.
11-30-2017 11:27 AM
Hi Gabriel,
Could you provide a small code sample of what you're trying to instrument? Also, what version of the agent is this?
Regards,
Kyle
Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)
12-04-2017 12:31 PM
Hi Kyle!
Thanks for your reply and sorry for taking so long to post this.
My NodeJS Agent is 4.3.5.
I'm not sure I can provide a code sample, I can give an overview of the architecture though:
- I have a config.js file containing a JavaScript object with the AppDynamics configuration (which would be placed in the .profile(...) method of the agent). For example:
appdynamics : {
libagent: true,
controllerHostName: ...,
controllerPort: ...,
...
}
This config object is imported by an app.js file, which also imports the appdynamics agent and initiliazes it:
app.js:
import appd from 'appdynamics';
import config from '../config';
appd.profile(config.appdynamics);
When libagent is NOT true (or is inexistent), my BTs are showing fine in the Controller view. Although, as soon as I run my app with libagent: true, every BT is suffixed with ".FIXME" as said in the post.
I have no ideia what could be wrong. Please let me know if there's anything else I can provide to make it clearer (e.g., a sample app on a Github repo).
Thanks in advance,
- Gabriel Saldanha (@gcrsaldanha)
12-04-2017 12:46 PM
Hey Gabriel,
No worries, always in your own time, and thanks for all the good data. Could you try running with the 4.3.8 agent we just released and libagent mode? Does it still show the FIXME BT naming?
Thanks an regards,
Kyle
Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)
12-04-2017 02:49 PM
Hi Kyle!
I've installed the 4.3.8 agent and it's still showing 'FIXME' suffix.
Would it be possible that this issue happens because of the fact I had previously discovered BTs (using proxy) and their names would now be duplicated (when running proxyless agent), therefore the suffix is a way to avoid this duplication... Just guessing.
12-04-2017 03:02 PM
Hmm, it's possible. Could you try stopping the app, deleting the BTs, then restarting the app?
Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)
12-04-2017 03:44 PM
Hi Kyle,
I've done it. The authenticate BT is showing only as "authenticate.FIXME". No regular BT. =(
12-04-2017 03:49 PM
Hi Gabriel,
I hate to do this, but I think the only way forward at this point would be to put together a small app that reproduces the issue so that our engineers can take a look at this. Would that be possible?
Regards,
Kyle
Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)
12-05-2017 03:08 AM
Hi Kyle!
No problem, I'll make it and I post the code to the GitHub repo here.
Thanks again for your attention,
- Gabriel Saldanha (@gcrsaldanha)
12-05-2017 09:08 AM
Hi Kyle!
I didn't have time to create a sample app yet, although I tried creating a new AppDynamics App and from the beginning setting my agent to NOT use the Proxy (i.e., libagent = true). I am using the SAME NodeJS app.
The outcome is that everything works normally, so it's good and bad news. Good because it's working, bad because we won't be able to find the root cause of the ".FIXME" problem.
It's a temporary solution (creating another AppDynamics app). Hope it helps anyone else changing from Proxy -> Proxyless mode.
Cheers,
- Gabriel Saldanha (@gcrsaldanha)
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form