Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
APM agent for reporting Node.js application metrics to EP Agent.
The CA Application Performance Management product documentation is now available on a wiki platform. We expect this will not only allow easier access to specific information, but also improve our ability to respond with improvements and enhancements.
You can access the documentation from https://support.ca.com/ as usual. In place of a bookshelf displaying, the documentation wiki displays.
In the wiki, you can access the Node.js Agent documentation by selecting Implementing Agents, then Node.js Agent Implementation guide.
NOTICE: This product is owned and/or licensed by CA Technologies (“CA”).
An active license agreement for CA Application Performance Management (“License Agreement”) is required for its use. Your use of this product is governed by the terms of the License Agreement. If you do not have an active License Agreement with CA, you may not use this product.
For details, please contact CA.
The EP Agent can be used via a runner script, or via API integration.
The runner script allows use of the agent with zero code modifications, but using a runner script instead of node may not be feasible in all environments.
The simplest way to collect metrics from a node application and report it
to your EP Agent is to install ca-agent globally and use ca-agent-run
to run your application.
$ npm install --global ca-agent
Then, run your app with it as you would with node:
$ cd my-app
my-app$ ca-agent-run .
By default, ca-agent-run
will configure ca-agent to report to localhost:8080.
The host and port can be changed by setting the EPAGENT
environment variable.
$ EPAGENT=http://stats-server.mydomain:8000 ca-agent-run my-app
It is also possible to install ca-agent as an application dependency, avoiding any modification of the system and keeping all dependencies local to the application:
$ cd to/your/app/root
my-app$ npm install --save ca-agent
Note the lack of --global
option to npm install
in the above.
Then, run your app with it as you would with node:
my-app$ ./node_modules/.bin/ca-agent-run .
First, install the agent and add it as a dependency of your application.
$ npm install --save ca-agent
Then, require the agent as early as possible in your application, specifying the host and port that you have configured your EP Agent to accept metrics on.
require('ca-agent')({
host: '54.191.244.236', // your EP Agent host
port: 8080, // your EP Agent REST API port
appName: 'my-app', // name to report metrics under
});
// your code here...
Metrics will appear hierarchically in EPAgent under the prefix
Strongloop|$hostname|$appName|<metric>
and with the following names
and types:
FAQs
EPAgent plugin for node APM
We found that ca-agent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.