Splunk AppDynamics

Proxyless NodeJS - BTs being named with "FIXME" suffix

CommunityUser
Splunk Employee
Splunk Employee

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)

Labels (1)
0 Karma
1 Solution

Kyle_Furlong
Contributor

Hi Gabriel,

Very interesting. We'll keep that in mind in the future. Nice detective work.

Regards,

Kyle

View solution in original post

0 Karma

Kyle_Furlong
Contributor

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

CommunityUser
Splunk Employee
Splunk Employee

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)

0 Karma

Kyle_Furlong
Contributor

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

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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.

0 Karma

Kyle_Furlong
Contributor

Hmm, it's possible. Could you try stopping the app, deleting the BTs, then restarting the app?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Kyle,

I've done it. The authenticate BT is showing only as "authenticate.FIXME". No regular BT. =(

0 Karma

Kyle_Furlong
Contributor

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

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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)

0 Karma

Kyle_Furlong
Contributor

Hi Gabriel,

Very interesting. We'll keep that in mind in the future. Nice detective work.

Regards,

Kyle

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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)

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...