appmetrics
appmetrics copied to clipboard
Node Application Metrics provides a foundational infrastructure for collecting resource and performance monitoring data for Node.js-based applications.
I add the following lines in the top of application: ``` var appmetrics=require('appmetrics'); var monitor = appmetrics.monitor(); monitor.on('loop', function(data){console.info('timestamp:',new Date());}); ``` And I will got the following logs: ``` timestamp:...
Issue #590 was caused by the http(s) probes using the timing contexts at the functional level (stored in aspect.js). This is fine for probes that can expect big enough gaps...
There's still a problem. To solve this problem, do this node_modules/appmetrics/probes/mysql-probe.js line 34 'createConnection' => 'createPool' ^_^
It should be possible to both require appmetrics, and cause `.monitor()` to be called with a one-shot from the node command line. Perhaps `node -r appmetrics/start`? This will interact well...
version: [email protected] write the code in an application: ``` var appmetrics = require('appmetrics'); var health = appmetrics.monitor(); health.on('http',function(http){console.info('http');}); ``` when I trigger one request, two 'http' are printed.
Leftover work from https://github.com/RuntimeTools/appmetrics/pull/576 Re. https://github.com/RuntimeTools/appmetrics/pull/576#discussion_r287450014, rather than updating `heapdump.cc` ourselves, we should grap the latest one maintained at https://github.com/bnoordhuis/node-heapdump/blob/master/src/heapdump.cc
[Mon Apr 8 17:55:45 2019] com.ibm.diagnostics.healthcenter.Agent.debug INFO: Agent stop : begin [Mon Apr 8 17:55:46 2019] com.ibm.diagnostics.healthcenter.Agent.debug INFO: Exiting agent publishing loop [Mon Apr 8 17:55:46 2019] com.ibm.diagnostics.healthcenter.Threads.debug INFO: Stopping...
Pg-Promise is handled in a separate probe named "postgres-promise-probe.js".
Using version 3.1.3, profiling events on z/OS contain the following strange-looking function names, and empty filenames: { date: 0, functions: [ { self: 1, parent: 0, file: '', name: '(BrBoBoBt)',...
Include information about the origin of the request (IP Address, hostname, referrer, etc).