Skip to content

Commit

Permalink
3.47.0 (#3429)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-luna authored Jun 14, 2023
1 parent b00cfb8 commit c0b0ace
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ Notes:
[[release-notes-3.x]]
=== Node.js Agent version 3.x
==== Unreleased
[float]
===== Breaking changes
[[release-notes-3.47.0]]
==== 3.47.0 - 2023/06/14
[float]
===== Features
* Add support for 'knex' version v1 and v2. ({pull}3355[#3355])
* Add support for `knex` version v1 and v2. ({pull}3355[#3355])
* Add `[email protected]` support. ({pull}3366[#3366])
* Add `apm.setGlobalLabel()` to dynamically extend the `globalLabels` set in the initial config.
Refer to <<apm-set-global-label>> for details. ({pull}3337[#3337])
* Add `apm.setGlobalLabel()` to dynamically extend the `globalLabels` set in
the initial config. Refer to <<apm-set-global-label>> for details. ({pull}3337[#3337])
[float]
===== Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion docs/agent-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Defining too many unique fields in an index is a condition that can lead to a
[[apm-set-global-label]]
==== `apm.setGlobalLabel(name, value)`

[small]#Added in: REPLACEME#
[small]#Added in: v3.47.0#

* `name` +{type-string}+
* `value` +{type-string}+ | +{type-number}+ | +{type-boolean}+
Expand Down
4 changes: 2 additions & 2 deletions docs/set-up.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ import 'elastic-apm-node/start.js';

A limitation of this approach is that you cannot configure the agent with an options object, but instead have to rely on <<configuring-the-agent,one of the other methods of configuration>>, such as setting `ELASTIC_APM_...` environment variables.

Note: As of elastic-apm-node version REPLACEME, the "elastic-apm-node/start.js" will *not start the agent in a Node.js Worker thread.*
Note: As of elastic-apm-node version 3.47.0, the "elastic-apm-node/start.js" will *not start the agent in a Node.js Worker thread.*


[[start-option-node-require-opt]]
Expand All @@ -122,7 +122,7 @@ export NODE_OPTIONS='-r elastic-apm-node/start.js'
node app.js
----

Note: As of elastic-apm-node version REPLACEME, the "elastic-apm-node/start.js" will *not start the agent in a https://nodejs.org/api/worker_threads.html[Node.js Worker thread].* New Worker threads inherit the `process.execArgv` and environment, so "elastic-apm-node/start.js" is executed again. Starting a new APM agent in each Worker thread because of "start.js" is deemed surprise, so is disabled for now.
Note: As of elastic-apm-node version 3.47.0, the "elastic-apm-node/start.js" will *not start the agent in a https://nodejs.org/api/worker_threads.html[Node.js Worker thread].* New Worker threads inherit the `process.execArgv` and environment, so "elastic-apm-node/start.js" is executed again. Starting a new APM agent in each Worker thread because of "start.js" is deemed surprise, so is disabled for now.


[[start-option-separate-init-module]]
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "elastic-apm-node",
"version": "3.46.0",
"version": "3.47.0",
"description": "The official Elastic APM agent for Node.js",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit c0b0ace

Please sign in to comment.