Skip to content

Latest commit

 

History

History
2263 lines (1279 loc) · 102 KB

CHANGELOG.md

File metadata and controls

2263 lines (1279 loc) · 102 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

4.0.1 (2024-10-28)

Bug Fixes

  • aws-lambda: fixed error caused by missing aws-sdk during agent key retrieval from SSM (#1402) (6329c66)

Reverts

  • Revert "ci: skipped all other regions and only china region with debug" (71f4643)
  • Revert "ci: skipping the Chinese regions from publishing lambda layers" (1099189)

4.0.0 (2024-10-23)

Bug Fixes

  • deprecated kafka-avro (#1337) (5647c3f)
  • dropped support for disabling AWS SDK instrumentation in old syntax (#1383) (48bebf3)
  • dropped support for lambda runtimes v14 and v16 (#1352) (4d28d6b)
  • dropped support for node v14 and v16 (#1348) (aaa9ad4)
  • dropped support for q library (#1377) (c7f1fa5)
  • dropped support for x-instana-service header (#1355) (7aa5f4b)
  • kafka: enforced string format for Kafka trace headers and dropped binary support (#1296) (2c822d3)
  • removed deprecated INSTANA_URL and INSTANA_KEY environment variables (#1373) (955cf67)
  • shared-metrics: replaced fs-extra with fs promises (#1362) (35ec19c)

Features

Reverts

  • Revert "ci: skipping the chinese regions from publishing lambda layers" (8475d69)

BREAKING CHANGES

    • Removed the ability to disable AWS SDK instrumentation using the old syntax disabledTracers: ['aws-sdk/v2/index'].
  • Migrate to the new syntax for disabling instrumentation: disabledTracers: ['aws-sdk/v2'].
    • Migration: Please configure the Instana agent to capture the X-Instana-Service header in the agent's configuration file.
    • The INSTANA_URL and INSTANA_KEY environment variables have been removed.
  • Any references to these should be replaced with the environment variables INSTANA_ENDPOINT_URL and INSTANA_AGENT_KEY.
    • Dropped support for Node.js versions 14 and 16.
    • Node.js Lambda runtimes v14 and v16 are no longer supported.
  • kafka: - Removed the ability to configure the header format; headers will always be sent in 'string' format.
  • Removed support for 'binary' format and code related to sending headers in 'binary' or 'both' formats. refs INSTA-809

3.21.0 (2024-10-17)

Features

3.20.2 (2024-10-09)

Bug Fixes

  • enhanced typescript support for currentSpan().span (#1370) (762af17)

Reverts

  • Revert "ci: skipping the chinese regions from publishing lambda layers" (48adaca)
  • Revert "ci: forced dev installation gcstats and event-loop-stats" (25b39ea)
  • Revert "ci: added logs for installing npm dependencies" (0bce3d7)

3.20.1 (2024-10-04)

Bug Fixes

  • added log to capture instana headers from incoming request (89c3051)
  • resolved ts error "instana.currentSpan is not a type" (#1357) (f32b3c1)

3.20.0 (2024-10-01)

Bug Fixes

  • connected deferred exit span with original entry span (#1346) (98f99e1), closes #1297
  • lambda: changed memory warning when using the lambda extension (#1344) (3e94f9e)
  • lambda: fixed heartbeat error (#1351) (0c001c8)

Features

3.19.0 (2024-09-25)

Features

3.18.2 (2024-09-17)

Bug Fixes

Reverts

  • Revert "ci: skipping the chinese region from publishing the lambda layers" (45dcbb0)

3.18.1 (2024-09-12)

Bug Fixes

3.18.0 (2024-09-06)

Bug Fixes

  • serverless: resolved printing debug logs by default (#1317) (d5dfbd7), closes #1316

Features

3.17.1 (2024-09-03)

Bug Fixes

  • resolved mongoose error ".make is not a function" (#1304) (728f7a4)

3.17.0 (2024-09-02)

Features

3.16.0 (2024-08-28)

Bug Fixes

Features

Reverts

  • Revert "ci: skipped publishing AWS layer to the newly added region ap-southeast-5" (038ff2d)

3.15.2 (2024-08-27)

Bug Fixes

  • aws-lambda: improved debug logs for number of spans (c7a3c34)
  • deprecated q library (#1282) (d86f939)

3.15.1 (2024-08-19)

Bug Fixes

  • shared-metrics: removed recursive-copy dependency (#1265) (63e67f1)

3.15.0 (2024-08-13)

Bug Fixes

  • improved debug logs in agent sending spans (#1259) (55ee69e)

Features

  • added support for express v5 beta-3 (#1261) (bf471ed)
  • added support for superagent v10 (b947d87)

3.14.4 (2024-07-22)

Bug Fixes

  • core: avoided creating standalone exit spans when using the sdk (#1234) (9a0d8fc)

Features

3.14.3 (2024-07-11)

Bug Fixes

3.14.2 (2024-07-09)

Bug Fixes

  • clean up old requests to prevent lambda resource exhaustion (#1217) (a8a22f0)

Reverts

  • Revert "test: skip the s3 tests due to s3 bucket limit" (622101b)
  • Revert "ci: skipping the chinese region from publishing the lambda layers" (078f9f7)
  • Revert "test: publish aws lambda layer to cn-north-1 and skip other regions temporarily" (47f8d32)

3.14.1 (2024-06-26)

Bug Fixes

  • resolved module loading issue with the latest release (#1201) (93f2a36)

3.14.0 (2024-06-26)

Features

3.13.0 (2024-06-24)

Features

  • couchbase: added support for raw sql queries (#1187) (660795e)

3.12.0 (2024-06-21)

Features

Reverts

  • Revert "build: bumped @elastic/elasticsearch from 8.13.1 to 8.14.0" (2b0e755)

3.11.0 (2024-06-13)

Bug Fixes

  • aws-lambda: timeout not being activated when timeout is 3s (60c99f4)

Features

  • aws-lambda: added ability to configure extension timeout (c102c60)

3.10.0 (2024-06-13)

Features

  • added support for tedious v16 and v17 (#1174) (710b193)
  • aws-lambda: added optional timeout detection (#1181) (41c9b77)

3.9.0 (2024-05-28)

Features

  • added support for got v12, v13, v14 (#1157) (1333a3c)
  • added support for node-fetch v3 (#1160) (b96f30c)
  • serverless-collector: added generic serverless collector (#1142) (1700bf0)

3.8.1 (2024-05-17)

Bug Fixes

  • azure-container-services: gracefully shutdown if node version is unsupported (#1144) (59f355b)

3.8.0 (2024-05-06)

Features

3.7.0 (2024-05-03)

Features

  • added support for Node v22 (#1132) (6d08f43)
  • autoprofile: added prebuilds for darwin/arm64 linux/arm64 linux/arm (#1135) (26f85b0)

3.6.0 (2024-04-29)

Features

3.5.0 (2024-04-24)

Features

3.4.0 (2024-04-16)

Features

  • added azure blob instrumentation (#967) (8b3264a)
  • added support for mongoose >= 8.3.0 (f60495a)

3.3.1 (2024-04-11)

Bug Fixes

  • resolved esm loader issue for manual instrumentation node v18.19.0 and above (#1063) (d69aff8)
  • security: resolved security vulnerability in the tar package. (#1106) (d863aa8)

3.3.0 (2024-03-22)

Bug Fixes

  • resolved relative URL issue in sanitizeUrl method (a2fac29)

Features

3.2.1 (2024-03-18)

Bug Fixes

  • collector: gracefully shutdown if core module process is not ava… (#1070) (3d8196d)
  • matrix parameters included in URLs (#1069) (f1d2862)
  • sqs: spans not being captured caused by @aws-sdk/client-sqs@3.481.0 (#1076) (aa71aa6)

Features

3.2.0 (2024-02-27)

Bug Fixes

Features

Reverts

  • Revert "feat: added support for ibm_db 3.x (#1048)" (#1052) (6aa0fa8), closes #1048 #1052

3.1.3 (2024-01-31)

Bug Fixes

  • resolved logging issue for the dependency distance calculator (#1024) (59de3e6), closes #1019

3.1.2 (2024-01-29)

Bug Fixes

3.1.1 (2024-01-10)

Bug Fixes

  • resolved Lambda execution delay with env variable check (#991) (b6ed50b)

3.1.0 (2024-01-04)

Bug Fixes

  • ignored opentelemetry spans which are not traces by us (#974) (62add1c)
  • serverless: ensured callback gets called for proxy connection issues (#979) (46c99fc)
  • updated code formats (#971) (0e24014)

Features

  • aws-lambda: added support for Node.js v20 runtime (#975) (7b44f8e)

3.0.0 (2023-12-12)

Bug Fixes

Build System

Features

  • azure: added support for azure container services (#932) (13abd85)
  • node-v21: added support for node v21 (#947) (64cc797)

BREAKING CHANGES

2.36.1 (2023-12-04)

Bug Fixes

  • fetch: fix header handling for Node.js >= 18.19.0 and >= 21.1.0 (6420063)

2.36.0 (2023-11-29)

Bug Fixes

  • fetch: fix header handling for native fetch for Node.js >= 20.10.0 (ece1a9a)
  • added missing prebuild for gcstats Node v20 (#938) (1b371a2)
  • fetch: fix trace correlation for native fetch for Node.js >= 20.8.1 (e834c30)

Features

  • sqs-consumer: added v7 support for sqs-consumer (#941) (5394726)

2.35.0 (2023-11-14)

Bug Fixes

  • couchbase: added missing bucket type and name for bucket.query (#922) (fc2a9c0)
  • adds version information for all NPM packages (#906) (3301aff)

Features

  • fastify: added support for fastify v4 (#920) (fb22cb7)
  • google cloud storage: added support for google cloud storage v7 (#913) (33be8da)

2.34.1 (2023-10-23)

Bug Fixes

  • rdkafka: only log warning about header format once (#897) (d8bf0ce)
  • reduced log warnings when there is no entry span (#891) (8543808), closes #885

2.34.0 (2023-10-10)

Features

  • added esm support for google cloud platform (#859) (55fd6ff)
  • added support for aws sdk v3 lambda (#871) (eb85c91)

Reverts

  • Revert "chore: migrated to npm workspaces and lerna v7 (#876)" (763ac7e), closes #876
  • Revert "chore: fixed lock file" (ec79043)

2.33.1 (2023-09-26)

Bug Fixes

  • improved how to disable aws sdk instrumentation (#866) (d0483c2)

2.33.0 (2023-09-18)

Features

2.32.0 (2023-09-11)

Features

2.31.0 (2023-09-04)

Features

  • added support for batch write dynamodb (#858) (a276b84)

2.30.2 (2023-08-28)

Bug Fixes

  • dynamodb: resolved all operation names (#853) (c7b17eb)

2.30.1 (2023-08-25)

Bug Fixes

  • core: resolved flooding log file when agent connection is not established (#850) (c80eca6), closes #849
  • core: resolved missing dynamodb spans (#851) (7444a90)

2.30.0 (2023-08-16)

Bug Fixes

  • reduced noisy log warnings when active entry could not be found (#840) (9ba2697)

Features

  • added ability to provide a custom package json path (#839) (f37d898)
  • aws sdk v3 kinesis instrumentation (#838) (eae677c)

2.29.0 (2023-07-31)

Bug Fixes

  • tracing: normalize incoming trace/span IDs from upstream tracers (01e26d1), closes #833

Features

  • added support for the latest aws sdk v3 changes (#837) (3936a9d)

2.28.0 (2023-07-27)

Features

  • aws-lambda: added support for missing regions (#832) (4d9904d)

2.27.0 (2023-07-24)

Bug Fixes

Features

  • aws-lambda: added function url support (6f9fdb2)

2.26.3 (2023-07-20)

Bug Fixes

  • collector: reduce warnings when exit span cannot be started (#827) (d0d82cf)

2.26.2 (2023-07-17)

Bug Fixes

  • skip init step when disabling individual instrumentations (#824) (8f8f661)

2.26.1 (2023-07-10)

Bug Fixes

  • shared-metrics: esm app package.json not being found when node_options is set (#817) (dc8f7af)

2.26.0 (2023-07-04)

Features

  • added support for Node v20 (ESM not working yet) (#805) (830259f)

2.25.3 (2023-06-27)

Dependencies

  • deps: bump semver from 7.3.3 to 7.5.3 (f6d2a0b)

2.25.2 (2023-06-22)

Bug Fixes

  • sdk: do not overwrite span.ec after it has been set via the SDK (4283cdf)

2.25.1 (2023-06-19)

Bug Fixes

  • lambda: avoid freezing outgoing requests (#806) (0e32399)

2.25.0 (2023-06-16)

Features

  • sdk: add method to mark the current span as erroneous (2cfcc7b)

2.24.0 (2023-06-13)

Bug Fixes

  • announce: verify connection to Instana host agent via payload check (ae1b41c)

Features

  • collector: added node:fs, restify and socket.io support (OpenTelemetry integration) (#715) (60f3bb9), closes #109122

2.23.0 (2023-06-06)

Features

  • aws-lambda: added support for payload version format 2.0 (#786) (06c9780), closes #34347

2.22.1 (2023-05-15)

Bug Fixes

  • db2: ensure span is correctly processed as an IBM DB2 span (de3a8b4)
  • sqs: fix missing async context in recent aws-sdk/client-sqs version (6ae90e7)

2.22.0 (2023-05-09)

Bug Fixes

  • announce: remove obsolete check for Server header (7d6a05b)
  • collector: keep EOL events open instead of recreating them (6de9965)

Features

  • mongodb: add support for mongodb v4, v5 & mongoose v6 & v7 (4e80a26)
  • w3c: support W3C trace context level 2 (62e0f99)

2.21.1 (2023-05-02)

Bug Fixes

  • announce: fix timeout for host agent lookup (d4e440f)
  • db2: capture the correct destination dsn per client (9529690)
  • elasticsearch: capture the correct destination host per client (cc23d05)
  • nats: capture the correct destination nats address per client (59e5ddf)
  • nats-streaming: capture correct destination address per client (678d702)

2.21.0 (2023-04-21)

Features

  • collector: added support for couchbase (#737) (3239b19)
  • opentelemetry-exporter: added support for INSTANA_DEBUG env variable (#759) (4e922c2)

2.20.2 (2023-04-06)

Bug Fixes

  • shared-metrics: fixed package.json not being found when app is ESM (#749) (c15569c)

2.20.1 (2023-03-30)

Bug Fixes

  • amqp: publish span not being transmitted when confirm cb is missing (#745) (6dce419)

2.20.0 (2023-03-24)

Features

  • collector: added support for amqplib 0.10.x (b56a827)

2.19.0 (2023-03-17)

Features

  • aws-lambda: add support for Node.js 18 AWS Lambda runtime (0900ab4)
  • collector: added support for @google-cloud/storage@6 (#727) (efcd4f1)

2.18.1 (2023-03-06)

Bug Fixes

  • grpc-js: capture the correct destination host per grpc-js client (5bc3188)
  • grpc-js: do not mark cancelled calls as erroneous (fea8b80)

2.18.0 (2023-02-28)

Features

  • collector: added support for @elastic/elasticsearch v8 (#707) (dae00bb)
  • tracing: improve robustness of custom service naming (aadcbff)

2.17.0 (2023-02-20)

Features

  • collector: added support for nats 2.x including trace correlation (#702) (86a2685)

2.16.0 (2023-02-13)

Features

  • collector: added support for sqs-consumer@6.2.0 (#691) (f8bf9e7)

2.15.0 (2023-01-27)

Features

  • tracing, fetch: instrument native fetch (1a48168)

2.14.2 (2023-01-16)

Bug Fixes

  • aws-lambda: respect INSTANA_LOG_LEVEL (#681) (8c00a0c)

2.14.1 (2023-01-12)

Bug Fixes

  • collector: fixed package.json not being found when app is ESM (#678) (0dbd0a2)
  • collector: mysql2/promise not working with ESM (f059047)

2.14.0 (2023-01-02)

Features

  • collector: tracing all spans when client app is using ES modules (#672) (7d471ff)

2.13.2 (2022-12-14)

Bug Fixes

  • aws-fargate: cannot read property 'cpu' of undefined (#671) (bea107c)
  • aws-lambda: reduced deadlocks and long running lambda executions (#666) (6800be0)

2.13.1 (2022-12-12)

Bug Fixes

  • collector: resolved elasticsearch legacy error (ea4f59f)

2.13.0 (2022-12-07)

Bug Fixes

  • collector: improved capturing object logging via bunyan (#664) (d0f16d1)

Features

  • aws-lambda: added the RequestId to most of the extension logs (#660) (469f131)

2.12.0 (2022-11-22)

Features

  • aws-lambda: added support for ES modules (#653) (75c28a9)

2.11.1 (2022-11-09)

Bug Fixes

  • sdk: work around memory leak with recursive SDK usage (c9b35eb)

2.11.0 (2022-11-04)

Bug Fixes

  • serverless: do not send x-instana-time header (7ce7673)

Features

  • tracing: instrument prisma (ORM) (ec760f7)

2.10.0 (2022-10-06)

Features

  • collector: added support for redis v4 (#627) (ad00255)
  • kafka: use kafka header format 'both' by default (b2585cf)

Reverts

  • Revert "build(deps-dev): bump mssql from 7.3.1 to 9.0.1" (#632) (309e17b), closes #632

2.9.0 (2022-09-26)

Features

  • aws-lambda: added heartbeat to reduce timeouts (#612) (79ec77f)

2.8.1 (2022-09-21)

Bug Fixes

  • redis: suppress error for unsupported redis@4 (ffad2c2)

2.8.0 (2022-09-20)

Bug Fixes

  • aws-lambda: reduced backend retries & timeout (#611) (cab67dd)
  • db2: redact password also from the end of the connection string (ac4c46d), closes #614

Features

  • dynamodb: capture region as annotation (4ba64f4)

2.7.1 (2022-09-05)

Bug Fixes

  • sqs, sns: do not add message attributes if that would violate limit (23c8ca1)

2.7.0 (2022-08-31)

Features

  • aws-lambda: added support for arm64 architecture (#605) (03dd47a), closes #596
  • aws-lambda: send preflight request to the AWS Lambda extension

Bug Fixes

  • lambda: work around req.destroyed not being set in Node.js <= 12
  • lambda: fix concurrency bug in preflight request handling
  • tracing: fix log4js message format call

2.6.2 (2022-08-17)

Note: Version bump only for package @instana/root

2.6.1 (2022-08-09)

Bug Fixes

  • lambda: increase socket and HTTP timeout for Lambda extension (7a07a8b)
  • lambda: interprete deadlineMs as absolute timestamp (3326e67)

2.6.0 (2022-06-28)

Features

  • aws-lambda: added support for Node v16 (718cf9f)

2.5.0 (2022-06-23)

Bug Fixes

  • aws-lambda: handle timeout error handling better (#563) (c2dbe77)

Features

  • core: added ability to complete specific intermediate spans (#564) (480ee46), closes #561
  • sdk: add methods to set the EUM correlation ID/type on the span (727916c)

2.4.0 (2022-05-25)

Features

2.3.0 (2022-05-24)

Bug Fixes

  • http: only capture response status/headers when they have been sent (850b8e4), closes #548
  • kafkajs: use long trace IDs with new Kafka message headers (5674b08)
  • rdkafka: use long trace IDs with new Kafka message headers (9c47349)

Features

  • kafkajs: remove Instana headers on arrival (f65bc75)

2.2.0 (2022-05-18)

Bug Fixes

  • agent: reduce log level for sending data from debug to trace (8b57a71)

Features

  • agent: read span batching option also from tracing section (1f776d4)
  • tracing: added instrumentation for ibm db2 (#532) (0d0b1e0)

2.1.0 (2022-04-28)

Bug Fixes

  • tracing: cancel sqs entry span sync when no messages are available (8a66277)
  • fix duplicated logger names and prevent them (9d576c5)
  • tracing: implement updateConfig for Kafka instrumentations (c386ee6)

Features

  • sdk: expose span.cancel method (d60571f)
  • tracing: use new common tracing config from from agent response (7f8825f)

2.0.0 (2022-04-04)

Bug Fixes

  • fargate: detect Node.js version, use matching @instana/aws-fargate version (0d1f955)
  • google-cloud-run: detect Node.js version, use matching @instana/google-cloud-run version (451ad1f)
  • lambda: remove nodejs8.10 from compatible runtimes (ff945c2)
  • dropped Node 6/8 (0e6fd0e)
  • remove npm package instana-nodejs-sensor (5fb9f18)
  • removed disableAutomaticTracing legacy config (#432) (922d168)
  • removed legacy support for config.timeBetweenHealthcheckCalls (#476) (66eff69)
  • removed support for passing parent logger during initialisation (bd96791)
  • removed uncaught exception config (fb6570a)
  • self-disable if detected Node.js runtime version is too old (cfe4248)

BREAKING CHANGES

  • lambda: The Instana Node.js Lambda layer is no longer compatible with Node.js 8. For Lambda functions still running on Node.js 8, please use the latest layer version that has been published for Node.js 8, see https://www.ibm.com/docs/en/obi/current?topic=kinesis-aws-lambda-native-tracing-nodejs
  • Removed support for legacy config instana({ timeBetweenHealthcheckCalls: ... }). Use instana({ metrics: { timeBetweenHealthcheckCalls: ...}}).
  • Starting with version 2.0.0, consumers of the package who still use the deprecated package name instana-nodejs-sensor will need to follow https://www.ibm.com/docs/en/obi/current?topic=nodejs-collector-installation#change-of-package-name to receive updates in the future.
  • Removed "disableAutomaticTracing" config option. Use instana({ automaticTracingEnabled: Boolean }).
  • Removed "reportUncaughtException" config option. The feature was completely removed.
  • Removed support for passing logger to instana initialisation. Use instana.setLogger(logger)".
  • v2 has dropped support for Node 6/8.

1.140.1 (2022-04-04)

Bug Fixes

  • metrics: do not report metrics from worker threads (#517) (bdf7869), closes #500

1.140.0 (2022-03-24)

Bug Fixes

  • collector: fix export returned from init (3cc709c)
  • collector: work around Bazel's node-patches module (d06e9be)

Features

  • collector: added instrumentation for @grpc/grpc-js (d12e386), closes #87653
  • tracing: added instrumentation for node-rdfafka/kafka-avro (7cb7aa4)

Reverts

  • Revert "test: added tsoa framework to integration tests (#492)" (479a3f6), closes #492

1.139.0 (2022-03-09)

Bug Fixes

  • collector: fix export returned from init (3cc709c)

Features

  • tracing: added instrumentation for node-rdfafka/kafka-avro (7cb7aa4)

1.138.0 (2022-02-08)

Bug Fixes

Features

  • aws-lambda: added support for SSM parameter store (#464) (bdb6e68)

1.137.5 (2022-01-25)

Bug Fixes

  • deps: bumped node-fetch to ^2.6.7 (security patch) (#465) (e8c622b)

1.137.4 (2022-01-11)

Bug Fixes

  • aws-lambda: fixed lambda timeouts when using extension (#455) (6df5550)
  • aws-lambda: reduced lambda timeout error count when using extension #443 (0bbfeb8)
  • clean aws: fixed S3 cleanup when buckets have no objects [skip ci] (cc3af62)
  • tracing: fix vendoring of emitter-listener for legacy cls context (440fd32)

1.137.3 (2021-12-16)

Bug Fixes

  • aws-sdk/v3: added support for @aws-sdk/* 3.4x (61cc179)
  • tracing: fix context loss when cls-hooked#bindEmitter is used (2743047), closes #438

1.137.2 (2021-11-30)

Bug Fixes

  • collector: prevent initializing @instana/collector multiple times (b3261b7)
  • tracing: require @elastic/elasticsearch/api in a safe way (8ba1bd1)

1.137.1 (2021-11-23)

Bug Fixes

  • dependency: pinned lru-cache to 6.0.0 (0ceb372)
  • dependency: pinned semver to 7.3.3 (d32f23e)
  • dependency: updated tar to 6.x in shared-metrics (#415) (5288ba5)

1.137.0

  • Configurable Kafka trace correlation (enabled/disabled) and correlation header format (string, binary, both).
  • [AWS Lambda] Add DynamoDB streams trigger.
  • [W3C Trace Context] Reject traceparent header when either trace ID or parent span ID are all zeroes.
  • [Bull] Fixed the error TypeError: Cannot read property 'opts' of null in repeatable jobs.

1.136.0

  • An issue event is sent if the application uses an EOL (end of life) version of Node.js. Applicable only for non serverless environments.
  • Manual spans creation handles tags that are passed as non extensible objects - when Object.freeze or Object.preventExtensions is applied to the tags.
  • [AWS SDKv2] Instrumentation of SNS
  • Remove dependency to node-gyp. This also removes the opt-in feature of rebuilding native add-ons via node-gyp. This capability was off by default in previous releases, it could be enabled via INSTANA_REBUILD_NATIVE_ADDONS_ON_DEMAND=true. This is no longer available, the environment variable will be ignored now.
  • Fix: Capture HTTP status codes for GraphQL requests over HTTP.

1.135.0

  • [Fastify] Add support for 2.x and 3.x

1.134.0

  • [OpenTelemetry] Add new package @instana/opentelemetry-exporter that offers an Instana exporter for OpenTelemetry spans

1.133.0

  • [AWS Lambda] Increase retries and timeout in Lambda extension binary.
  • Add console.warn & console.error instrumentation

1.132.2

  • Fix path must be a string of Buffer error in dependency distance calculator.
  • Fix: Use different attribute names in vendored version of emitter-listener, to avoid conflicts if the unfixed emitter-listener package is still installed and being used by other packages.

1.132.1

  • Fix: Rename global attribute from cls-hooked from process.namespaces to process.instanaNamespaces to avoid conflicts with other usages of cls-hooked.
  • Fix: Vendor the fixed version of emitter-listener, so that wrapping the same emitter multiple times works correctly.

1.132.0

  • Fix instrumentation for very old versions of redis (0.12.1).
  • AWS SDK v3: Instrumentation of SQS

1.131.0

  • Limit the number of depdendencies collected as snapshot data.

1.130.1

  • Update dependency tar (#367, thanks to @gebhardtr).

1.130.0

  • [AWS Lambda] Add W3C trace context support for Lambda tracing.

1.129.0

  • Bring back applicationUnderMonitoring#getMainPackageJson and applicationUnderMonitoring#getMainPackageJsonPath for backward compatibility.
  • AWS SDK v3: Instrumentation of S3

1.128.0

  • [AWS Lambda] Add trace correlation support for Lambda invocations triggered by SQS messages (including SNS-to-SQS).
  • Add trace continuity support for SNS-to-SQS bridge for SQS tracing.

1.127.0

  • AWS SDK v3: Instrumentation of DynamoDB

1.126.2

  • Fix: AWS SQS headers reading properly checks for strings, numbers and arrays of strings

1.126.1

1.126.0

  • Instrumentation of memcached

1.125.1

  • Reporting correct SQS entry span duration
  • Reporting SQS-Consumer processing error messages to the agent

1.125.0

  • Redact embedded credentials from captured URLs (that is, remove the user:password part from URLs like http://user:password@example.org).
  • Add Node.js 16 to the test matrix.

1.124.0

  • [AWS Lambda] Detect Lambda cold starts.
  • [AWS Lambda] Detect imminent Lambda timeouts heuristically.
  • Instrumentation of AWS Lambda invoke function

1.121.0

  • [AWS Lambda] Include Instana's AWS Lambda extension in the Instana Node.js Lambda layer. Monitoring data and traces are offloaded locally to Instana's Lambda extension, which will then forward it to the Instana back end. This feature is currently limited to Lambda functions configured with 256 MB of memory or more. Using the Instana Lambda extension can be disabled by setting the environment variable INSTANA_DISABLE_LAMBDA_EXTENSION to a non-empty string for a Lambda function.

1.120.0

  • Add instrumentation for AWS Kinesis

1.119.5

  • Let instrumented GRPC ServiceClient inherit from base client, fixes an issue with mali up to version 0.20.0.
  • AWS SQS: remove duplicated instrumentation of receiveMessage in sqs-consumer instrumentation.

1.119.4

  • Fix handling of null/undefined values used as exceptions/reasonswhen reporting uncaught exceptions and unhandled promise rejections.

1.119.3

  • Instrument sqs-consumer to capture exit child spans of SQS entries correctly.
  • Add additional check in instrumentation for @elastic/elasticsearch to fix TypeError when no action is present.

1.119.2

  • [AWS Fargate]: Fix secrets filtering for environment variables.
  • [Google Cloud Run]: Fix secrets filtering for environment variables.

1.119.1

  • Fixed a call from collector to the core by using @instana/collector instead of relative path

1.119.0

  • Add instrumentation for Bull Messaging Framework.

1.118.0

  • Update third party dependencies.

1.117.3

  • Fix garbage collection metrics being reported falsely as not supported when node_modules/gcstats.js exists.

1.117.2

  • Do not assume type local by default for OpenTracing spans. Instead, assume type entry when no parent context is available and only assume local if a parent context is available.
  • Update to shimmer@1.2.1.

1.117.1

  • Fix: Do not attempt to load native addons in a worker thread.

1.117.0

  • [AWS Lambda] Reduce execution time overhead for native AWS Lambda tracing even further. (Bring back performance optimzation that was removed in 1.94.0 with a fix for the stale timeout events.)

1.116.0

  • Add instrumentation for AWS DynamoDB.

1.115.0

  • Add instrumentation for AWS S3.
  • Update handling of W3C trace context headers to improve integration with OpenTelemetry.
  • [AWS Lambda] Fix timeouts when the Lambda callback API without context.callbackWaitsForEmptyEventLoop = false is used and the Instana back end responds too slowly.

1.114.0

  • Introduction of AWS SQS instrumentation for sending and reading messages.
  • fix: run original function in runInAsyncContext/runPromiseInAsyncContext when tracing is not active.

1.113.0

  • Instrument MongoDB native driver unified topology.
  • Add configuration mechanism to disable copying of precompiled add-ons (INSTANA_COPY_PRECOMPILED_NATIVE_ADDONS=false).
  • Make rebuilding native add-ons via node-gyp an opt-in feature (it is off by default now, use INSTANA_REBUILD_NATIVE_ADDONS_ON_DEMAND=true to enable it).

1.112.1

  • Improve heuristic to detect npm or yarn.

1.112.0

  • Remove netlinkwrapper dependency.
  • Deprecate reporting uncaught exceptions as incidents and via span/trace. Prints a warning if the feature (which is opt-in) is enabled.

1.111.1:

  • Avoid false positive warning about @instana/core being initialized too late in the presence of other instrumentation packages that need to be loaded before everything else.

1.111.0:

  • Do not instrument npm or yarn when started via @instana/collector/src/immediate (instead, only instrument the child process started by npm start or yarn start).
  • Do not instrument npm or yarn on AWS Fargate (instead, only instrument the child process started by npm start or yarn start).
  • Do not instrument npm or yarn on Google Cloud Run (instead, only instrument the child process started by npm start or yarn start).

1.110.5:

  • Depend on exact versions of @instana packages, not a version range. This makes sure all @instana packages are updated in sync and it avoids internal packages like core being updated while consuming packages like collector stay on an older version.

1.110.4

  • Bring back core/util polyfill for Buffer.fromString for backwards compatibility.

1.110.3

  • Exponential backoff retry strategy for failed announce attempts. This helps with agents that have not yet attached to the container (and thereby not seen the process) and thus will reject the very first announce attempt.
  • Remove polyfill for Buffer.fromString (for Node.js versions up to 4.5 which we no longer support).

1.110.2

  • Improve support for pino log calls that only receive a merging object argument.

1.110.1

  • Fix Node.js 6 compatibility by downgrading tar dependency of @instana/shared-metrics from tar@6 to tar@5.

1.110.0

  • [Google Cloud Run]: Exclude some revision instance data from compression.

1.109.0

  • Improve user experience around native add-on dependencies of @instana/collector:
    • Add precompiled archives for some combination of OS, architecture, libc-flavour and ABI-version.
    • Try to use the precompiled native add-on if loading a native add-on fails initially.
    • Try to rebuild the native add-on on demand as a fallback.

1.108.0

  • Implement batching for very short (< 10 ms), high-frequency database spans (opt-in in this release, will be switched to default behaviour in one of the next releases). To enabled it right now, any of the three following methods can be used:

    • Set the environment variable INSTANA_SPANBATCHING_ENABLED=true.

    • Use in-code configuration: config.tracing.spanBatchingEnabled: true.

    • Add this to the agent's configuration.yaml:

      com.instana.plugin.nodejs:
        span-batching-enabled: true
      
  • [AWS Lambda] Check type of Lambda error messages and stringify if necessary.

1.107.0

1.106.6

  • Fix (Elasticsearch): Adapt instrumentation for @elastic/elasticsearch for refactoring of api submodule introduced in @elastic/elasticsearch@7.9.1. (Fixes TypeError: Cannot set property 'Symbol(configuration error)' of undefined.) Also, remove obsolete stats annotation for elasticsearch spans.
  • Remove longer span reporting interval for serverless tracers, use standard interval instead.

1.106.5

  • [Google Cloud Run]: Minor changes for the upcoming Google Cloud Run support. Requires at least Instana back end version 189.

1.106.4

  • Remove direct node-fetch dependency from @instana/aws-fargate as well as @instana/google-cloud-run and move it to @instana/metrics-util instead.
  • Optimization: Only set span.data.service on first span.
  • Send span.crid/span.crtp instead of span.data.correlationId/span.data.correlationType.

1.106.3

  • Fix: Move event-loop-lag from optionalDependencies to dependencies, so installations with --ignore-optional will work correctly. (#258, thanks to @ThisIsMissEm).
  • [AWS Fargate]: Update dependency node-fetch version 2.6.1 (fixes https://www.npmjs.com/advisories/1556).

1.106.2

  • [AWS Fargate]: Make optional dependencies on native add-ons truely optional (do not break the Docker build on RUN /instana/setup.sh).
  • Fix: Propagate X-INSTANA-L: 0 downstream with AMQP headers.

1.106.1

  • Fix bogus warning about invalid configuration emitted during startup ("Invalid configuration: config.tracing.http.extraHttpHeadersToCapture is not an array, the value will be ignored: {}").
  • [Google Cloud Run]: Experimental in-process data collection for Google Cloud Run services via the new package @instana/google-cloud-run. Requires at least Instana back end version 185. @instana/google-cloud-run supports Node.js 8.6.0 or later. Note that this is an early technical preview and not ready for general usage. At this time, no support can be provided for this new package. This will change once Google Cloud Run support becomes generally available with Instana.

1.106.0

  • Fix(HTTP1/Server): Also set Server-Timing header when X-INSTANA-T is incoming (that is, not only when we start a fresh trace).
  • Fix(HTTP1/Server): Do not append another intid key-value pair to Server-Timing if it is already present.
  • Fix(HTTP2/Server): Add support for website monitoring back end correlation via Server-Timing header.
  • Fix(HTTP2/Server): Add support for X-Instana-Service.
  • Fix(HTTP2/Server): Inject the trace ID into the request to enable application code to inject it into the response body.
  • Fix(HTTP2/Server): Use case-insensitive header matching as incoming headers are already normalized to lower case (performance improvement).
  • Add support for INSTANA_EXTRA_HTTP_HEADERS variable.
  • Fix(HTTP1/HTTP2): Fix handling for headers of type array (normalize to string, separated by 0x2C 0x20).
  • [AWS Fargate] Add support for INSTANA_ZONE.
  • [AWS Fargate] Add support for INSTANA_TAGS.
  • Secrets Filtering: Replace values for filtered query parameters with <redacted> instead of removing the whole key-value pair.
  • [AWS Fargate] Add support for INSTANA_SECRETS.
  • [AWS Fargate] Add support for INSTANA_EXTRA_HTTP_HEADERS.
  • [AWS Lambda] Add support for INSTANA_SECRETS.
  • [AWS Lambda] Make INSTANA_EXTRA_HTTP_HEADERS also apply to HTTP exits.
  • [AWS Lambda] Improve handling for event.multiValueHeaders.

1.105.1

  • Fall back to process.mainModule.filename as the Node.js app's name when the package.json file is not present.
  • Capture dependencies of an app even if the package.json file is not present, by inspecting the node_modules folder that is closest to process.mainModule in the file system.

1.105.0

1.104.0

  • Drop support for Node.js versions 4 (which was EOL 2018-04-30) and 5 (EOL 2016-06-30) in @instana/collector. If you want to use @instana/collector with Node.js version 4 or 5 please pin @instana/collector to version 1.103.0.
  • Fix: Capture MongoDB aggregate operations correctly.
  • Fix: Keep async context across Mongoose custom thenables.

1.103.0

  • Instrument Node.js core http2 module to trace HTTP/2 communication (except for server push/pushStream).

1.102.0

  • Instrument superagent's custom thenable to keep asynchronous context.
  • Provide experimental API to instrument specific modules on demand for non-standard build/deployment scenarios (e.g. bundling dependencies).
  • Fix captured protocol for https URLs in some HTTP exit spans.

1.101.1

  • [AWS Fargate] Collect Docker metrics on platform version 1.4.0, too.

1.101.0

  • [AWS Fargate] Collect and report Docker metrics.

1.100.2

  • Fix: Only require @instana/autoprofile if profiling has been enabled.
  • Fix: Recover gracefully from absence of @instana/autoprofile (since it is an optional dependency).

1.100.1

  • Add more mongodb command names for collection lookup.

1.100.0

  • Provide an API to manually restore the asynchronous context (async_hooks/AsyncWrap continuity) as a workaround for libraries that break it.

1.99.0

  • [AWS Fargate] In-process data collection for AWS Fargate tasks via new package @instana/aws-fargate (alpha). Requires at least Instana back end version 178. @instana/aws-fargate supports Node.js 8.6.0 or later.

1.98.1

  • Fix PID used in profiling payload when running in a container.

1.98.0

  • Add @instana/autoprofile to support Instana AutoProfile™ (automated and continuous production profiler). Instana AutoProfile is currently opt-in and can be enabled with the config option autoProfile: true or via the environment variable INSTANA_AUTO_PROFILE=true.

1.97.1

  • Update to netlinkwrapper@1.2.0.
  • Fix span.annotate to support paths to nested properties (paths can be strings as well as arrays).
  • Fix: Protect a custom path template from being overwritten by instrumented middleware running later.

1.97.0

  • [AWS Lambda] Add support for INSTANA_ENDPOINT_PROXY (send data to Instana via a proxy).
  • Add support for Node.js 14.
  • Update to event-loop-stats@1.3.0, to support detecting synchronous event loop blocking.

1.96.0

  • Instrument @elastic/elasticsearch (aka modern Elasticsearch client).
  • Fix instrumentation for legacy Elasticsearch client (https://www.npmjs.com/package/elasticsearch), do not discard subsequent exit spans.
  • Make instrumentation robust against montagejs/collections#178.
  • Make check for disabled instrumentation stricter (the keys provided in config.tracing.disabledTracers/INSTANA_DISABLED_TRACERS need to be an exact, case-insensitive match of the instrumentation file now). If you have used this configuration option and relied on the fact that this was a string.contains check previously, you might need to update your config.

1.95.2

  • [AWS Lambda] Fix: Add a connection timeout in addition to the read/idle timeout.

1.95.1

  • Capture the error message and/or stack trace when completing and SDK span with an error.

1.95.0

  • Support deployment scenario in which the whole application is installed from a registry via npm install instead of only its dependencies.

1.94.0

  • [AWS Lambda] Fix stale timeout events on socket object induced by AWS Lambda runtime freezing and thawing the process.
  • Support X-INSTANA-SYNTHETIC.

1.93.0

  • Support tracing of deferred HTTP exits (that is, capture HTTP exits if the entry that triggered it has already finished).
  • [AWS Lambda] Add support for INSTANA_DISABLE_CA_CHECK.

1.92.5

  • [AWS Lambda] Reset requestHasFailed flag on start of Lambda handler.
  • [AWS Lambda] Improve logging for data reporting timeouts.
  • [AWS Lambda] Remove misleading "Traces and metrics have been sent to Instana." message.
  • Remove deprecated span attributes span.error and span.async.
  • Remove obsolete configuration option config.agentName/INSTANA_AGENT_NAME.

1.92.4

  • [AWS Lambda] Do not try to send data to the Instana back end when a previous request to it has already failed.
  • [AWS Lambda] Change span offloading intervall to 5 seconds.
  • [AWS Lambda] Make sure that an uninstrumented https connection is used for span offloading.
  • [AWS Lambda] Change layer name from instana to instana-nodejs to prepare for the extension of native AWS Lambda tracing to other runtimes.

1.92.3

  • Always capture duration of GraphQL calls.
  • Support INSTANA_DEBUG in native serverless tracing.

1.92.2

  • Do not remove tags from lower priority spans when changing the span type (e.g. http -> graphql)

1.92.1

  • Fix mongodb tracing for outdated versions of the mongodb package.

1.92.0

  • Support for new website monitoring/mobile back end correlation via extended X-INSTANA-L header.
  • Capture request and response headers on outgoing HTTP calls.

1.91.0

  • Support for W3C Trace Context.
  • Fix: Annotate path templates (Express.js, Koa, Hapi, ...) and error messages (Express.js) on all HTTP entry spans, not only on root spans.

1.90.0

  • Add API method to annotate spans with custom tags.

1.89.1

  • Rewrite MongoDB instrumentation from scratch without using its APM API (which makes it hard to keep the trace context across async calls).

1.89.0

  • Instrument Apigee Microgateway/edgemicro's worker processes automatically when they are spawned.
  • Provide an executable for static instrumentation of a globally installed edgemicro CLI (see our docs for details).
  • Keep asynchronous context across memored IPC communication gaps.

1.88.1

  • [AWS Lambda] Replace intid value if it already exists in the Server-Timing header (in case the same result object is reused for multiple requests).

1.88.0

  • Also support Winston 1.x and 2.x plus express-winston (in addition to Winston >= 3.x, which is already supported).

1.87.0

  • Improve support for Apollo Federation by instrumenting @apollo/gateway.
  • Downgrade log level for missing package.json in potential depedency directory from info to debug.

1.86.0

  • Add instrumentation for pg-native (pg-native is an alternative PostgreSQL driver package, in addition to the already supported pg package).

1.85.0

  • [AWS Lambda] Reduce execution time penalty for native AWS Lambda tracing even further.
  • Refactor agentready state to not use closures.

1.84.3

  • [AWS Lambda] Avoid duplicated postHandler calls.

1.84.2

  • [AWS Lambda] Call original callback in wrapped context.succeed/context.fail/context.done.
  • Allow GraphQL tracing over other protocols in addition to HTTP.

1.84.1

  • Also capture incoming HTTP calls that time out on the client side or are aborted on the server side (via req.destroy()).

1.84.0

  • Add support for the log4js logging package.
  • [AWS Lambda] Instrument deprecated legacy Lambda API (context.done, context.succeed, and context.fail).
  • Fix stack trace capturing for Winston log calls.

1.83.0

  • Add kafkajs instrumentation (kafkajs).

1.82.1

  • Trace MySql pool cluster calls.

1.82.0

  • Capture synchronous errors in Lambda functions.
  • Handle ARN correctly when a Lambda function is called via an alias.

1.81.1

  • Fully cover Winston 3.x API surface.

1.81.0

  • Provide access to Instana Node.js API via @instana/aws-lambda.
  • Add instana.sdk.async alias for instana.sdk.promise.

1.80.0

  • Add ability to disable individual tracers via config.tracing.disabledTracers or INSTANA_DISABLED_TRACERS.

1.79.1

  • [AWS Lambda] Cache target handler across invocations.

1.79.0

  • Add auto-wrap package for AWS Lambda to enable Lambda tracing without code modification.

1.78.1

  • Only use X-Instana-Service HTTP header when agent is configured to capture it.

1.78.0

  • Support INSTANA_SERVICE_NAME/config.serviceName for auto-tracing and SDK spans. Previously, this has only been supported for OpenTracing spans.
  • Support X-Instana-Service HTTP header.

1.77.0

  • [AWS Lambda] Inject EUM back end correlation header in AWS Lambda responses if possible.

1.76.0

  • Do not add tracing headers to signed aws-sdk HTTP requests.
  • Extract serverless utilities that are not specific to the AWS Lambda platform into their own utility package, @instana/serverless.
  • Log a warning when @instana/collector has been initialized too late. Additionally, this will be transmitted as snapshot data.

1.75.0

  • Capture HTTP response headers for HTTP entry spans.

1.74.2

  • [AWS Lambda] Support new environment variables INSTANA_ENDPOINT_URL and INSTANA_AGENT_KEY in addition to the now deprecated variables INSTANA_URL and INSTANA_KEY.

1.74.1

  • [AWS Lambda] Improve logging.

1.74.0

  • [AWS Lambda] In-process data collection for AWS Lambdas via new package @instana/aws-lambda (beta).

1.73.2

  • Move some metrics from core to collector package.

1.73.1

  • Fix cases where GraphQL tracing would break when another non-HTTP entry span is already active.

1.73.0

  • Allow early init of instrumentations (experimental).

1.72.1

  • Improve announce cycle by polling for the "agent ready" state once a second, this will bring the delay from "announce" to "agent ready" down from 10 to ~1 seconds for the majority of cases (in particular with the improved agent to be released soon).
  • Enforce minimum delay of one second between sending snapshot data and the first spans.

1.72.0

1.71.3

  • Fix: Add MongoDB command details for update, replace and delete operations.

1.71.2

  • Avoid triggering fastify's basePath deprecation warning.

1.71.1

  • Remove overaggressive validation warning for HTTP spans.

1.71.0

  • Add support for kafka-node >= 4.0.0.
  • Bunyan: support for capturing the error message from a nested error object (attribute err) given in the fields argument.

1.70.0

  • Enable uncaught exception reporting in Node 12.x.

1.69.2

  • Fix cases where span.ec would be overwritten by http server instrumentation.

1.69.1

  • Trace through graphql-subscriptions PubSub/AsyncIterator.
  • Add missing cls.ns.exit calls in mongodb instrumentation (fix for leaking cls.ns._set entries).

1.69.0

  • Add graphql instrumentation (graphql).

1.68.4

  • Require cls-bluebird before installing the require hook for bluebird so client code can use cls-bluebird without conflicts (#152, thanks to @jonathansamines).
  • Fix tracing of https client calls in Node.js 8.9.0.

1.68.3

  • Add additional check to requireHook in case other modules interfering with require (like require-in-the-middle) are present.

1.68.2

  • Remove circular references from span data before serializing it (#148, thanks to @sklose).

1.68.1

  • Log a warning instead of info when running an unsupported Node.js version.

1.68.0

  • Improve configuration handling, support more environment variables.
  • Record hapi.js routes as path templates when tracing HTTP entries.
  • Fix wrong warnings in validation for entry spans (that no other span is already in progress) for HTTP(s) entries.

1.67.2

  • Read X-INSTANA-... headers case-insensitive in amqp instrumentation.
  • Fix handling of Fastify routes with an beforeHandler array.

1.67.1

  • Fix: Handle koa routes defined by regular expressions.

1.67.0

  • Add support for Node.js 12 (except for two optional features that rely on native addons which are not yet available for Node.js 12, CPU profiling and reporting uncaught exceptions).

1.66.0

  • Report unhandled promise rejections as issues (disabled by default, see configuration guide).

1.65.1

  • Fix: Init metrics correctly when no config is passed (#138).
  • Add data.rpc.host and data.rpc.port to GRPC exits to improve service discovery.

1.65.0

  • Rename the npm package from instana-nodejs-sensor to @instana/collector. See migration guide for details.
  • Split into @instana/core and @instana/collector.
  • Fix trace context continuity when multiple instances of bluebird are present.

1.64.0

  • Add tracing SDK to create spans manually, integrating seamlessly with automatic tracing - see SDK API documentation for details.
  • Additional validation for entry spans (that no other span is already in progress).

1.63.2

  • Remove deprecated span attribute span.b.u (redis, ioredis).

1.63.1

  • Fix: Set GRPC headers instead of adding them.

1.63.0

  • Limit content length of requests when talking to the agent.
  • Fix: Handle non-pooled pg queries using the promise API correctly.

1.62.0

  • Extend API: Offer various getters to inquire about details of the currently actice span (trace ID, span ID and other attributes).
  • Improve generated IDs (span ID, trace ID).
  • Fix: Make sure timeouts created by instana-nodejs-sensor do not prevent the process from terminating.

1.61.2

  • Fix for GRPC instrumentation: Add original attributes to shimmed client method.

1.61.1

  • Fix: Add missing instrumentation hooks for mysql/mysql2#execute.

1.61.0

  • Accept values of type string for config.tracing.stackTraceLength.

1.60.3

  • Fix an issue in the GRPC instrumentation when an options object is provided.

1.60.2

  • Fix duplicated cls binds in postgres and mssql instrumentation.

1.60.1

  • Fix error when a Pino logger was passed via config (#119).

1.60.0

  • Instrument Elasticsearch operations msearch and mget (#117, thanks to @DtRWoS).

1.59.0

  • Add GRPC instrumentation (grpc).

1.58.0

  • Support Node.js 11.

1.57.0

  • Provide an API to set a logger after initialization to resolve init/logger cycle.

1.56.0

  • Record koa-router routes as path templates when tracing HTTP entries.
  • Improve announce payload.
  • Left pad generated IDs with '0'.

1.55.2

  • Fix: Add HTTP query params for HTTP exits.
  • Fix: Do not capture HTTP headers for HTTP exits (only for entries).
  • Fix: Capture erroneous span on synchronous exceptions in HTTP client (like malformed URL).

1.55.1

  • Fix method name of NoopSpanHandle.

1.55.0

  • Provide API to end spans manually to allow capturing of child exit spans for message consumers (RabbitMQ/amqplib, Kafka).

1.54.2

  • Fix broken trace context in some MongoDB usage scenarios.

1.54.1

  • RabbitMQ/amqplib: Small fix for TLS AMQP Urls (amqps).

1.54.0

  • Instrument Bunyan.
  • Pino: Improve tracing for error objects.

1.53.0

  • Instrument Winston.
  • Exclude file system entries that are not directories in dependency analysis, fixes confusing warning.

1.52.0

  • Instrument Pino.
  • Allow other (non-Bunyan) loggers to be injected (#88, thanks to @SerayaEryn).

1.51.0

  • Instrument amqplib (RabbitMQ tracing).

1.50.1

  • Fix: Do not attach context to error/exception objects (#90).

1.50.0

  • Update to latest emitter-listener package to include latest fix.
  • Update a number of dependencies (bunyan, event-loop-lag, opentracing, shimmer, ...).
  • Fix minor issues reported by npm audit.

1.49.1

  • Fix: Do not fail when http client options object has a headers attribute with value.

1.49.0

  • Enable CPU profiling for Node.js 10 apps.
  • Warn about missing dependency netlinkwrapper at startup when reporting of uncaught exceptions is enabled.
  • Fix: Uncaught exception reporting can now be enabled on systems using musl libc instead of glibc (e.g. Alpine Linux).

1.48.1

  • Fix secret scrubbing for HTTP server instrumentation.

1.48.0

  • Various fixes and improvements for the HTTP client instrumentation:
    • support for http(s).request(url, options, callback) API introduced in Node.js 10.9.0,
    • support for WHATWG URL objects,
    • fix for requests with header "Expect: 100-continue", and
    • instrument http.get and https.get separately from http(s).request.

1.47.1

  • MySQL: Fix for MySQL instrumentation sometimes losing the tracing context.

1.47.0

  • Add MSSQL (Microsoft SQL Server) instrumentation (supports mssql, version >= 4 via tedious driver).
  • Tracing support for mongodb version >= 3.0.6.

1.46.0

  • Support a wider range of command names for identification of PID in parent PID namespace.
  • Report uncaught exceptions as incidents and via span/trace (disabled by default).

1.45.0

  • Record https client calls.

1.44.2

  • Fix result handling in PostgreSQL instrumentation.

1.44.1

  • Do not break when modules use stealthy-require or similar mechanisms.

1.44.0

  • Record fastify path templates when tracing HTTP entries.

1.43.0

  • Record express.js path templates when tracing HTTP entries.

1.42.0

  • Expose a debugging action to learn about loaded modules.
  • Allow retrieval of package.json files.

1.41.0

  • Add PostgreSQL instrumentation (pg).

1.40.2

  • Avoid sending batch size 0 for Redis multi commands.

1.40.1

  • Only try to instrument bluebird if it is actually available.

1.40.0

  • Include additional debugging data in log when data transmission to agent fails.
  • Support recording of user-configurable HTTP headers in HTTP client and server instrumentation.

1.39.0

  • Include reporting PID in agent logs.

1.38.3

  • Protect spans from accidental retransmission.
  • Abort HTTP requests to the agent on timeouts.
  • HTTP client instrumentation does not correctly interpret HTTP client timeouts.

1.38.2

  • ioredis: Correctly manage tracing context in ioredis instrumentation.

1.38.1

  • OpenTracing baggage is not defined on span context when using getCurrentlyActiveInstanaSpanContext.

1.38.0

  • Enable tracing in Node.js ^10.0.0.
  • Regression in MongoDB instrumentation which attempts to access optional operationId properties.

1.37.3

  • Prepare support for 128bit trace IDs.
  • Reduce memory footprint when using HTTP agents with maxSockets: Infinity.

1.37.2

  • MongoDB: Properly initialize and assure operationId is generated.

1.37.1

  • ioRedis instrumentation can lead to errors when async correlation doesn't work as expected.
  • Add tracing support for mysql2/promise.
  • Switch to @risingstack/v8-profiler due to security issues in transitive dependencies of v8-profiler.

1.37.0

  • Enable tracing in Node.js ^9.1.0.

1.36.1

  • Reduce severity in log messages which describe dependency analysis failures.
  • Upgrade event-loop-lag to address security vulnerability in debug.

1.36.0

  • Fix support for mysql2 versions prior to 1.5.0.
  • Read env vars by default to determine agent connection config.

1.35.1

  • HTTPS exit spans can have the wrong protocol set.

1.35.0

  • Fix an async correlation issue caused by outgoing HTTP calls.
  • Do not enable tracing in Node.js v9
  • Limit maximum database statement length that is stored in spans.
  • MongoDB spans are nested in a wrong way.

1.34.1

  • Allow retrieval of TypeScipt and JSX files via the backchannel.

1.34.0

  • Call sequences are not recoded when using Redis.
  • Add batch (pipeline) support for Redis.

1.33.0

  • Add ioredis instrumentation.
  • Exclude exec call from Redis instrumentation sub commands.

1.32.0

  • Include details about uncaught errors in express handlers.

1.31.0

  • Add redis instrumentation.

1.30.3

  • HTTP tracing will report incorrect path in case of express.js router usage.

1.30.2

  • Support HTTPS server tracing.

1.30.1

  • Update Server-Timing response header in HTTP instrumentation to format of latest spec version.

1.30.0

  • Use MIT license.

1.29.0

  • MongoDB instrumentation tests fail intermittently
  • Add automatic mysql2 instrumentation

1.28.1

  • Node.js <=4.5.0 can have Buffer.from, but it does not accept a string. Thanks @libozh!
  • Support announce to agent even when the Node.js process is renamed.
  • Update supported versions; checks & tests

1.28.0

  • Support automatic Node.js 8 tracing.

1.27.1

  • Add Request query capture & reporting.

1.27.0

  • HTTP client spans do not have the error count field ec set.
  • It must be possible to run in manual tracing mode only.
  • Support OpenTracing usage in Node.js 8.
  • Support service naming for OpenTracing traces.

1.26.8

  • Check for supported Node.js tracing versions marks v7 as unsupported.

1.26.7

  • Data transmission is broken in Node.js 0.12.

1.26.6

  • Encoding in communication between sensor and agent is only guaranteed via Node.js default opts.
  • Transmission of data to agents will fail whenever a character is being transmitted that needs more than one byte.

1.26.5

  • URL parsing results in measurable overhead in HTTP server tracing.

1.26.4

  • MongoDB tracing writes filter information into the wrong property.

1.26.3

  • Node.js v8 tracing is not yet possible. Automatically disable tracing when running within Node.js v8.

1.26.2

  • Parent handle in hooks is unused and can result in memory leaks.

1.26.1

  • OpenTracing is broken in version 0.14.0 and sensor support is incompatible.

1.26.0

  • Allow configuration of agent host address to support environments in which iptables or other networking tricks are used. Contributed by @lowsky. Thank you!
  • Upgrade opentracing to 0.14.0.

1.25.0

  • Support tracing for the mysql module.

1.24.0

  • Collect healthcheck results.

1.23.1

  • Support CPU profiling in Node.js >=7.0.0

1.23.0

  • Only publish the necessary runtime files.
  • Support scoped modules in dependency analysis.
  • Support the new OpenTracing span kinds producer and consumer.

1.22.0

  • Add additional meta data to the agent announce information to enable discovery in Kubernetes and CloudFoundry environments.

1.21.1

  • Remove duplicated HTTP metric gathering and reduce memory overhead.

1.21.0

  • Expose trace ID for root spans in Server-Timing header.

1.20.3

  • The Node.js tracing sensor on the agent side can be stopped. This will result in 404 errors which we should not log.

1.20.2

  • Upgrade event-loop-lag because of security vulnerabilities in its dependency tree. Contributed by @jamessharp. Thank you!

1.20.1

  • Source file retrieval is often broken. After discussions, we decided to relax the checks to only allow transmission of *.js files without validation of the location of the file.

1.20.0

  • Add kafka-node tracing support.

1.19.1

  • getCurrentlyActiveInstanaSpanContext() fails for modules which are using opentracing APIs while testing.

1.19.0

  • Remove development and documentation artifacts from NPM published module.
  • Execute tests against Node.js v7.
  • Add opentracing support.

1.18.0

  • Transport error counts in preparation for span batching logic.
  • Log fewer stacktraces when agent identification fails.

1.17.6

  • Strip matrix parameters and hash values from requests paths in addition to query parameters.

1.17.5

  • Allow user access to trace IDs as automatically for extended EUM support.
  • Stop setting cookies automatically for extended EUM support.

1.17.4

  • Disable extended EUM support by default.

1.17.3

  • Reported URLs for outgoing HTTP calls must include a : after the protocol name.

1.17.2

  • Add a Path directive for EUM cookies to support sub directory resource requests.

1.17.1

  • Use an Expires directive for EUM cookies to support IE<=8.

1.17.0

  • Expose trace ID via response cookie so it may be picked up for EUM tracing.

1.16.0

  • Enable tracing by default.

1.15.4

  • Never generate negative span IDs to avoid negative hex values.

1.15.3

  • Stringify Elasticsearch query to align with Java tracing implementation.

1.15.2

  • Allow retrieval of loaded modules and of other JS files located in the require path.

1.15.1

  • Allow retrieval of loaded modules via agent requests.
  • Fix name of command property in MongoDB spans.

1.15.0

  • Restrict CPU profiling support to Node.js >=4.0.0.
  • Differentiate between all the supported V8 garbage collection types.

1.14.0

  • Add on-demand CPU profiling support.

1.13.0

  • Add MongoDB tracing.

1.12.1

  • Format function name in stack traces as defined in the v8 Wiki.

1.12.0

  • Capture stack traces for exit spans.

1.11.0

  • Capture HTTP Host header on entry spans.

1.10.4

  • Maintenance: Avoid header casing questions by always transmitting uppercase header names.

1.10.3

  • Ensure compatibility with Zipkin by receiving span and trace IDs as hex.

1.10.2

  • Ensure compatibility with Zipkin by transmitting span and trace IDs as hex.

1.10.1

  • Transport cluster name in Elasticsearch spans to allow logical view creation.
  • Transport full URL for HTTP exit spans.

1.10.0

  • Be more careful about identification of agent hosts in cases where the identified URL is not actually a URL.
  • Add tracing infrastructure.
  • Add HTTP server tracing.
  • Add HTTP client tracing.
  • Add Elasticsearch tracing.

1.9.0

  • Fix errors that can occur when logging to the agent.
  • Combine app and runtime sensor.

1.8.0

  • Use keep alive connections for all agent communication.
  • Treat agent ready call timeouts as failed checks.

1.7.0

  • Send logs to agent for ease of debugging.
  • Fix agent communication issues were successive announce attempts resulted in announce problems.

1.6.2

  • Determined PID is not transmitted to agent during announce phase.

1.6.1

  • Do not depend on a specific command name when parsing /proc/<pid>/sched files.

1.6.0

  • Read PID from /proc/<pid>/sched for increased robustness in cases where the Node.js sensor is running in a different PID namespace than the agent.

1.5.1

  • Increase log level for failed agent communication to warn.

1.5.0

  • Track Node.js internal handle and request counts.
  • Report application start time to calculate uptime.

1.4.0

  • Support Docker bridge networks by attempting agent communication with the container's default gateway.
  • Support custom agent HTTP ports and name.

1.3.3

  • Improve announce cycle stability.

1.3.2

  • Use a more efficient data structure for heap space data.

1.3.1

  • v8 module does not exist in early Node.js versions.

1.3.0

  • Retrieve heap space statistics.

1.2.0

  • Support varying log levels and output destinations.

1.1.2

  • Requests may hang and put sensor in endless announce cycle.

1.1.1

  • Identification of event-loop-stats availability always fails.

1.1.0

  • Allow sensor execution without native addons.

1.0.0

  • Initial release