AppD Archive

Nodejs, no data load found

CommunityUser
Splunk Employee
Splunk Employee

Hi, 

I am running the whine cellar app, and I can't see any data in the controller. 

https://github.com/Appdynamics/Node.js-Demo-App

require("appdynamics").profile({
controllerHostName: 'netaporter646.saas.appdynamics.com',
controllerPort: 443, // If SSL, be sure to enable the next line
accountName: 'Netaporter646', // Required for a controller running in multi-tenant mode
accountAccessKey: 'wc82snzcqv2n', // Required for a controller running in multi-tenant mode
applicationName: 'product-page',
tierName: 'productpageapp',
nodeName: 'Node 1 d8c7-', // Node names must be unique. A unique name has been generated for you.
debug: true
});

I am running it on localhost, and even aws ... just can't seem to get data to show. 

appdynamics v4.0.4.0 (17-03-2015 11:46:08.400): { type: 'CONFIG',
configReq:
{ lastVersion: -1,
nodejsProcessMetrics:
{ cpuUsage: 0,
heapSize: 35,
nodeRss: 86,
numOfFullGCs: 0,
numOfIncGCs: 0,
heapSizeChange: 0,
diskIOKBReadPerSec: 0,
diskIOKBWrittenPerSec: 0,
netwIOKBReadPerSec: 0,
netwIOKBWrittenPerSec: 0,
socketIOConnections: 0,
socketIOConnectionsTotal: 0,
socketIOMessagesSent: 0,
socketIOMessagesReceived: 0,
socketIOSentMessagesSize: 0,
socketIOReceivedMessagesSize: 0,
eventLoopTickCount: 11,
eventLoopMinTickLength: 0,
eventLoopMaxTickLength: 0,
eventLoopAvgTickLength: 0,
eventLoopAvgIOTime: 0 } } }

please help

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Ok found the answer, 

require("appdynamics").profile({
controllerHostName: 'netaporter646.saas.appdynamics.com',
controllerPort: 80, // If SSL, be sure to enable the next line
controllerSslEnabled: false,
accountName: 'xxx', // Required for a controller running in multi-tenant mode
accountAccessKey: 'xxx', // Required for a controller running in multi-tenant mode
applicationName: 'product-page',
tierName: 'productpageapp',
nodeName: '34, // Node names must be unique. A unique name has been generated for you.
debug: true
});

only difference is the controllerPort, and controllerSslEnabled set to false. 

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...