Releases: keymetrics/pm2-io-apm
Releases · keymetrics/pm2-io-apm
3.1.0
- version: minor patch to 3.1.0 - @vmarchaud
- fix: log to logger when profiler isn't available + check for undefined #223 - @vmarchaud
- improv: edit configuration to use
apm.version
instead ofpmx_version
- @Eywek - doc: add migration guides from 2.x to 3.x #220 - @vmarchaud
- feat: enable snapshot with node 11 - @vmarchaud
- tracing: add options to not censor spans labels - @vmarchaud
- doc: add documentation about express/koa middleware - @vmarchaud
- bug: fixes heap snapshot + enable profiling by default - @vmarchaud
- ci: fix slack notif step - @vmarchaud
3.0.0
Breaking changes:
- Removed
io.scopedAction
- Removed
io.notify
in favor ofio.notifyError
- Removed support for
gc-stats
module - Removed heap snapshot when using the inspector and node 11
- Removed Heap profiling support when using the profiler addon
- Removed deep-metrics support
- Removed
io.transpose
- When creating multiple metrics at the same time, metrics will now be returned in an array to allow simpler destruction
- Changed the
io.init
options to be easier to understand and manage in the code - Allowed to use the inspector-based in node 8 if running in production (we assume that no other debugger is running in production)
Notable changes:
- Introduced the tracing system without PM2 (still using the old tracing agent)
- Added support for
@pm2/node-runtime/stats
to collect GC stats, libuv metrics and kernel metrics - Added error middleware for Koa and fixed the one for Express
- When destroying a pmx instance, actually remove everything listener that we have on all kind of modules so we don't leak something when instancing multiples times
- Added P95 metrics about http latency and event loop ones.
- Added metrics about Heap usage, Heap limit and Heap current.
- Node 11 now support custom actions
- Added a LOT, LOT of logging about what's happening, just use
DEBUG=axm:*
to toggle it
Improvements:
- Remove easily replaceable dependency
- Use typescript to run the tests (before test were compiled before ran)
- Use Idle notifier of Nodejs to better vizualise iddle time in CPU profiling
- Type completion when using any methods from
@pm2/io
- Metrics that are created but never used will not be sended to backend
Commits:
- version: major bump to 3.0.0 - @vmarchaud
- ci: add publish step - @vmarchaud
- meta: use apache-2 license - @vmarchaud
- ci: edit slack channel - @vmarchaud
- metrics: fix v8 memory and event loop format - @vmarchaud
- feat: re-add entrypoint - @vmarchaud
- fix: correctly format event packet in standalone mode - @vmarchaud
- improv: reimplement function to set metric value automatically - @vmarchaud
- chore: fix lint + test - @vmarchaud
- metrics: set v8 memory metrics in mib - @vmarchaud
- improv: dont send metrics which aren't used - @vmarchaud
- deps: bump agent node - @vmarchaud
- bug: fix profiling config + actions options - @vmarchaud
- bug: fix tracing aggregation - @vmarchaud
- bug: fix span histogram export + apm version not being set - @vmarchaud
- metrics: switch runtime metrics from gauge to histogram - @vmarchaud
- improv: correctly unlisten for undhandled errors - @vmarchaud
- deps: pin for only patch update - @vmarchaud
- tests: skip node 4 in standalone test - @vmarchaud
- feat: implement tracing agg in standalone #215 - @vmarchaud
- websocket: fix context in handler - @vmarchaud
- inspector: concurrent session were released in 10.1.0 - @vmarchaud
- fix: few fixes before releasing - @vmarchaud
- chore: fix linter - @vmarchaud
- chore: add runtime explaination for metric using function - @vmarchaud
- feat: add more runtime metrics - @vmarchaud
- tests: fix event loop test - @vmarchaud
- ci: auto exit mocha - @vmarchaud
- feat: implement GC + event loop metrics from node-runtime-stats - @vmarchaud
- profiling: ask node to report idle time when cpu profiling #210 - @vmarchaud
- misc: remove io.notify + document .emit - @vmarchaud
- tests: dont test koa error handler on node 4 - @vmarchaud
- feat: add koa error middleware - @vmarchaud
- meta: add coverage - @vmarchaud
- chore: update documentation with newer configuration - @vmarchaud
- tests: delay pmx emit event + increase timeout - @vmarchaud
- chore: modify compiler option to target es5 - @vmarchaud
- deps: upgrade typescript deps - @vmarchaud
- deps: bump @pm2/agent-node dependency - @vmarchaud
- ci: ignore engines when installing node 4 - @vmarchaud
- breaking: adjust user facing API - @vmarchaud
- tests: remove test for amqplib as they were useless - @vmarchaud
- tests: try fix auto exit behavior - @vmarchaud
- tests: insta kill child to avoid double callback - @vmarchaud
- tests: remove bad event formatting test - @vmarchaud
- chore: update building script - @vmarchaud
- chore: fix linter - @vmarchaud
- chore: cleanup dependencies - @vmarchaud
- chore: add gc-stats in test + fix node 11 tracing - @vmarchaud
- tests: test profiling in profiling test only - @vmarchaud
- chore: update tracing agent to support node 11 - @vmarchaud
- [profiling: disable heapdump on...