newrelic 13.9.1 → 13.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NEWS.md +30 -11
- package/lib/subscribers/message-consumer.js +2 -1
- package/package.json +2 -1
package/NEWS.md
CHANGED
|
@@ -1,14 +1,32 @@
|
|
|
1
|
-
### v13.9.
|
|
2
|
-
|
|
3
|
-
#### Bug fixes
|
|
4
|
-
|
|
5
|
-
* Updated
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
### v13.9.2 (2026-01-14)
|
|
2
|
+
|
|
3
|
+
#### Bug fixes
|
|
4
|
+
|
|
5
|
+
* Updated message consumer subscribers to properly time the consumption actions ([#3660](https://github.com/newrelic/node-newrelic/pull/3660)) ([ef1b611](https://github.com/newrelic/node-newrelic/commit/ef1b611a7c3b45f5fc8d483661859c1595bbe4ab))
|
|
6
|
+
|
|
7
|
+
#### Documentation
|
|
8
|
+
|
|
9
|
+
* Updated compatibility report ([#3654](https://github.com/newrelic/node-newrelic/pull/3654)) ([ca16dae](https://github.com/newrelic/node-newrelic/commit/ca16daefe4da1c17253e165c68d198d607c72d0b))
|
|
10
|
+
|
|
11
|
+
#### Miscellaneous chores
|
|
12
|
+
|
|
13
|
+
* Update OTEL metrics test ([#3661](https://github.com/newrelic/node-newrelic/pull/3661)) ([ae84b62](https://github.com/newrelic/node-newrelic/commit/ae84b62a3c7ef753d4ace8836f38405b4cbbfd88))
|
|
14
|
+
|
|
15
|
+
#### Tests
|
|
16
|
+
|
|
17
|
+
* Added cross agent tests for sampler configuration and sampling rate scenarios ([#3648](https://github.com/newrelic/node-newrelic/pull/3648)) ([fa0e2d1](https://github.com/newrelic/node-newrelic/commit/fa0e2d1bd78051c7f716ebc65bd7f3842698103e))
|
|
18
|
+
|
|
19
|
+
### v13.9.1 (2026-01-12)
|
|
20
|
+
|
|
21
|
+
#### Bug fixes
|
|
22
|
+
|
|
23
|
+
* Updated `getHostnameSafe` to invalidate the cache is trying to assign the host based on the gcp cloud run id ([#3650](https://github.com/newrelic/node-newrelic/pull/3650)) ([d395c76](https://github.com/newrelic/node-newrelic/commit/d395c76d5612a7e562efa1a807c35e805a38ab14))
|
|
24
|
+
* Updated logic to properly assign content and role in LangChain chat completion messages ([#3638](https://github.com/newrelic/node-newrelic/pull/3638)) ([407bcb6](https://github.com/newrelic/node-newrelic/commit/407bcb66b7e3be1b6f1d28bcf6e3b022a7022c96))
|
|
25
|
+
|
|
26
|
+
#### Documentation
|
|
27
|
+
|
|
28
|
+
* Updated compatibility report ([#3643](https://github.com/newrelic/node-newrelic/pull/3643)) ([8929ab3](https://github.com/newrelic/node-newrelic/commit/8929ab3ae6cc28edbef4bee41a2084154361d6e0))
|
|
29
|
+
|
|
12
30
|
### v13.9.0 (2026-01-08)
|
|
13
31
|
|
|
14
32
|
#### Features
|
|
@@ -8214,3 +8232,4 @@ Special thanks to Ryan Copley (@RyanCopley) for the contribution.
|
|
|
8214
8232
|
|
|
8215
8233
|
|
|
8216
8234
|
|
|
8235
|
+
|
|
@@ -105,7 +105,7 @@ class MessageConsumerSubscriber extends Subscriber {
|
|
|
105
105
|
*/
|
|
106
106
|
asyncStart() {
|
|
107
107
|
const ctx = this.agent.tracer.getContext()
|
|
108
|
-
const tx = ctx
|
|
108
|
+
const tx = ctx.transaction
|
|
109
109
|
tx.setPartialName(this.name)
|
|
110
110
|
// Note: this is not using `Subscriber.createSegment`
|
|
111
111
|
// this is because it enters the segment and returns a new ctx
|
|
@@ -117,6 +117,7 @@ class MessageConsumerSubscriber extends Subscriber {
|
|
|
117
117
|
parent: tx.trace.root,
|
|
118
118
|
transaction: tx
|
|
119
119
|
})
|
|
120
|
+
tx.baseSegment.start()
|
|
120
121
|
|
|
121
122
|
this.addConsumeParameters(tx)
|
|
122
123
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newrelic",
|
|
3
|
-
"version": "13.9.
|
|
3
|
+
"version": "13.9.2",
|
|
4
4
|
"author": "New Relic Node.js agent team <nodejs@newrelic.com>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"contributors": [
|
|
@@ -198,6 +198,7 @@
|
|
|
198
198
|
"imports": {
|
|
199
199
|
"#agentlib/*.js": "./lib/*.js",
|
|
200
200
|
"#testlib/*.js": "./test/lib/*.js",
|
|
201
|
+
"#testlib/*.json": "./test/lib/*.json",
|
|
201
202
|
"#test/assert": "./test/lib/custom-assertions/index.js"
|
|
202
203
|
},
|
|
203
204
|
"dependencies": {
|