Node.js Agent version 2.x

edit

2.17.3 - 2020/2/27

edit
Bug fixes
edit
  • fix: support promisifying setTimeout and friends #1649
  • fix(cassandra): improve support for cassandra-driver v4.4.0+ #1649
  • fix(knex): make stack traces work in 0.18+ #1500
  • fix(tedious): ensure shimmed module exposes same API #1496
  • fix(metrics): do not send transaction breakdowns when disabled #1489
  • fix(tedious): support 6.5+ #1488
  • fix: always end transaction when socket is closed prematurely #1445
  • perf: cache ids value of transactions and spans #1438

2.17.2 - 2019/10/2

edit
Bug fixes
edit
  • chore(http): workaround(s) to suppress DEP0066 warnings #1424

2.17.1 - 2019/9/26

edit
Bug fixes
edit
  • fix: support all falsy return values from error filters #1394
  • fix: capture all non-string http bodies #1381

2.17.0 - 2019/9/19

edit
Features
edit
  • feat: add support for @koa/router #1346
  • feat: add methods for logging trace information #1335
Bug fixes
edit
  • fix: improve debug output when detecting incoming http request #1357
  • fix(http): response context propagation on Node.js 12.0 - 12.2 #1339

2.16.2 - 2019/9/3

edit
Bug fixes
edit
  • fix(lambda): handle traceparent case-insensitively #1319

2.16.1 - 2019/8/28

edit
Bug fixes
edit
  • fix: avoid throwing when agent is in active: false mode #1278

2.16.0 - 2019/8/26

edit
Features
edit
  • feat(memcached): instrument memcached v2.2.0 and above #1144
  • feat(config): add configFile config option #1303
Bug fixes
edit
  • fix: bug where spans sometimes wouldn’t have stack traces #1299
  • fix(async_hooks): properly update sync flag #1306
  • fix: change agent active status log message to debug level #1300

2.15.0 - 2019/8/15

edit
Features
edit
  • feat(express-graphql): add support for v0.9 #1255
  • feat(metrics): add metricsLimit option #1273

2.14.0 - 2019/8/12

edit
Features
edit
  • feat(hapi): support new @hapi/hapi module #1246
  • feat: allow agent.clearPatches to be called with array of names #1262
Bug fixes
edit
  • fix: be less chatty if span stack traces cannot be parsed #1274
  • perf: use for-of instead of forEach #1275

2.13.0 - 2019/7/30

edit
Bug fixes
edit
  • fix: standardize user-agent header #1238
Features
edit
  • feat: add support for APM Agent Configuration via Kibana #1197
  • feat(metrics): breakdown graphs #1219
  • feat(config): default serviceVersion to package version #1237

2.12.1 - 2019/7/7

edit
Bug fixes
edit
  • fix(knex): abort early on unsupported version of knex #1189

2.12.0 - 2019/7/2

edit
Features
edit
  • feat(metrics): add runtime metrics #1021
  • feat(config): add environment option #1106

2.11.6 - 2019/6/11

edit
Bug fixes
edit
  • fix(express): don’t swallow error handling middleware #1111

2.11.5 - 2019/5/27

edit
Bug fixes
edit
  • fix(metrics): report correct CPU usage on Linux #1092
  • fix(express): improve names for routes added via app.use() #1013

2.11.4 - 2019/5/27

edit
Bug fixes
edit
  • fix: don’t add traceparent header to signed AWS requests #1089

2.11.3 - 2019/5/22

edit
Bug fixes
edit
  • fix(span): use correct logger location #1081

2.11.2 - 2019/5/21

edit
Bug fixes
edit
  • fix: url.parse expects req.url not req #1074
  • fix(express-slash): expose express handle properties #1070

2.11.1 - 2019/5/10

edit
Bug fixes
edit
  • fix(instrumentation): explicitly use require #1059
  • chore: add Node.js 12 to package.json engines field #1057

2.11.0 - 2019/5/3

edit
Bug fixes
edit
  • chore: rename tags to labels #1019
Features
edit
  • feat(config): support global labels #1020
Bug fixes
edit
  • fix(config): do not use ELASTIC_APM_ prefix for k8s #1041
  • fix(instrumentation): prevent handler leak in bindEmitter #1044

2.10.0 - 2019/4/15

edit
Features
edit
  • feat(express-graphql): add support for version ^0.8.0 #1010
Bug fixes
edit
  • fix(package): bump elastic-apm-http-client to ^7.2.2 so Kubernetes metadata gets corrected recorded #1011
  • fix(ts): add TypeScript typings for new traceparent API #1001

2.9.0 - 2019/4/10

edit
Features
edit
  • feat: add traceparent getter to agent, span and transaction #969
  • feat(template): add support for jade and pug #914
  • feat(elasticsearch): capture more types of queries #967
  • feat: sync flag on spans and transactions #980
Bug fixes
edit
  • fix(agent): init config/logger before usage #956
  • fix: don’t add response listener to outgoing requests #974
  • fix(agent): fix basedir in debug mode when starting agent with -r #981
  • fix: ensure Kubernetes/Docker container info is captured #995

2.8.0 - 2019/4/2

edit
Features
edit
  • feat: add agent.setFramework() method #966
  • feat(config): add usePathAsTransactionName config option #907
  • feat(debug): output configuration if logLevel is trace #972
Bug fixes
edit
  • fix(express): transaction default name is incorrect #938

2.7.1 - 2019/3/28

edit
Bug fixes
edit
  • fix: instrument http/https.get requests #954
  • fix: don’t add traceparent header to S3 requests #952

2.7.0 - 2019/3/26

edit
Features
edit
  • feat: add patch registry #803
  • feat: allow sub-modules to be patched #920
  • feat: add TypeScript typings #926
Bug fixes
edit
  • fix: update measured-reporting to fix Windows installation issue #933
  • fix(lambda): do not wrap context #931
  • fix(lambda): fix cloning issues of context #947
  • fix(metrics): use noop logger in metrics reporter #912
  • fix(transaction): don’t set transaction result if it’s null #936
  • fix(agent): allow flush callback to be undefined #934
  • fix: handle promise rejection in case Elasticsearch client throws #870
  • chore: change npm run command namespaces #944

2.6.0 - 2019/3/5

edit
Features
edit
  • feat: add support for Fastify framework #594
  • feat(lambda): accept parent span in lambda wrapper #881
  • feat(lambda): support promise form #871
Bug fixes
edit
  • fix: ensure http headers are always recorded as strings #895
  • fix(metrics): prevent 0ms timers from being created #872
  • fix(config): apiRequestSize should be 768kb #848
  • fix(express): ensure correct transaction names #842

2.5.1 - 2019/2/4

edit
Bug fixes
edit
  • fix(metrics): ensure NaN becomes 0, not null #837

2.5.0 - 2019/1/29

edit
Features
edit
  • feat(metrics): added basic metrics gathering #731

2.4.0 - 2019/1/24

edit
Features
edit
  • feat: add ability to set custom log message for errors #824
  • feat: add ability to set custom timestamp for errors #823
  • feat: add support for custom start/end times #818

2.3.0 - 2019/1/22

edit
Bug fixes
edit
  • fix(parsers): move port fix into parser #820
  • fix(mongo): support 3.1.10+ #793
Features
edit
  • feat(config): add captureHeaders config #788
  • feat(config): add container info options #766

2.2.1 - 2019/1/21

edit
Bug fixes
edit
  • fix: ensure request.url.port is a string on transactions #814

2.2.0 - 2019/1/21

edit
Features
edit
  • feat(koa): record framework name and version #810
  • feat(cassandra): support 4.x #784
  • feat(config): validate serverUrl port #795
  • feat: add transaction.type to errors #805
Bug fixes
edit
  • fix: filter outgoing http headers with any case #799
  • fix: we don’t support mongodb-core v3.1.10+ #792

2.1.0 - 2019/1/15

edit
Features
edit
  • feat(error): include sampled flag on errors #767
  • feat(span): add tags to spans #757
Bug fixes
edit
  • fix(tedious): don’t fail on newest tedious v4.1.3 #775
  • fix(graphql): fix span name for unknown queries #756

2.0.6 - 2018/12/18

edit
Bug fixes
edit
  • fix(graphql): don’t throw on invalid query #747
  • fix(koa-router): support more complex routes #749

2.0.5 - 2018/12/12

edit
Bug fixes
edit
  • fix: don’t create spans for APM Server requests #735

2.0.4 - 2018/12/7

edit
  • chore: update engines field in package.json #727
  • chore(package): bump random-poly-fill to ^1.0.1 #726

2.0.3 - 2018/12/7

edit
Bug fixes
edit
  • fix(restify): support an array of handlers #709
  • fix: don’t throw on older versions of Node.js 6 #711

2.0.2 - 2018/12/4

edit
Bug fixes
edit
  • fix: use randomFillSync polyfill on Node.js <6.13.0 #702
  • fix(hapi): ignore internal events channel #700

2.0.1 - 2018/11/26

edit
Bug fixes
edit
  • fix: log APM Server API errors correctly #692

2.0.0 - 2018/11/14

edit
Breaking changes
edit
  • chore: remove support for Node.js 4 and 9
  • chore: remove deprecated buildSpan function #642
  • feat: support APM Server intake API version 2 #465
  • feat: improved filtering function API #579
  • feat: replace double-quotes with underscores in tag names #666
  • feat(config): change config order #604
  • feat(config): support time suffixes #602
  • feat(config): stricter boolean parsing #613
Features
edit
  • feat: add support for Distributed Tracing #538
  • feat(transaction): add transaction.ensureParentId function #661
  • feat(config): support byte suffixes #601
  • feat(transaction): restructure span_count and include total #553
  • perf: improve Async Hooks implementation #679