matt-major-zz / appdynamics-node

A Node.js Wrapper for the AppDynamics RESTful API
https://www.npmjs.com/package/appdynamics-node
2 stars 3 forks source link

Not able to login in Appdynamic #1

Open Singha2 opened 9 years ago

Singha2 commented 9 years ago

Hi, I used this module to login in appdynalics but it is giving me error.

var AppDynamics = require('appdynamics-node'), client = new AppDynamics({ url: 'XXXXXX.saas.appdynamics.com/controller/rest/applications/Testing123/metrics?metric-path=Application', username: 'XXXXXXl@XXXXXX', password: 'XXXXXX'

});

console.log(client);

It is throwing an exception.

matt-major-zz commented 9 years ago

@Singha2 - could you provide the exception being thrown please? I will look in to this in case the API has changed.

fholzer commented 8 years ago

url needs to be set to the hostname, so just 'XXXXXX.saas.appdynamics.com', not an actual URL.