newrelic 8.17.0 → 8.17.1
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
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
### v8.17.1 (2022-08-02)
|
|
2
|
+
* Fixed issue where instrumetned code invoked within a @grpc/grpc-js client callback would not get tracked by the agent.
|
|
3
|
+
|
|
4
|
+
Bound the external client segment to the onReceiveStatus listener to propagate transaction context to the grpc client callbacks.
|
|
5
|
+
|
|
6
|
+
* Fixed issue with truncate in `lib/util/application-logging.js`. It now checks that the argument is a string before checking its length.
|
|
7
|
+
|
|
1
8
|
### v8.17.0 (2022-07-27)
|
|
2
9
|
|
|
3
10
|
* Added instrumentation for `grpc-js` server unary, client-streaming, server-streaming and bidirectional streaming handlers.
|
|
@@ -95,7 +102,7 @@
|
|
|
95
102
|
* Added sent, seen and dropped metrics that collected on every harvest cycle around log lines.
|
|
96
103
|
|
|
97
104
|
* Added supportability metrics for some popular logging frameworks.
|
|
98
|
-
|
|
105
|
+
|
|
99
106
|
* Added supportability metrics to record if the logging features are enabled.
|
|
100
107
|
|
|
101
108
|
* Added a storage mechanisms to transactions to keep logs until transaction ends.
|
|
@@ -160,7 +167,7 @@
|
|
|
160
167
|
|
|
161
168
|
* Removed upper-bound testing from restify versioned tests so future major versions will be covered.
|
|
162
169
|
|
|
163
|
-
* Removed upper-bound testing from mysql2 versioned tests to cover existing and future major versions.
|
|
170
|
+
* Removed upper-bound testing from mysql2 versioned tests to cover existing and future major versions.
|
|
164
171
|
|
|
165
172
|
Continues to skip version 1.6.2 which had a bug that broke tests which was resolved in 1.6.3.
|
|
166
173
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -26,7 +26,6 @@ code, the source code can be found at [https://github.com/newrelic/node-newrelic
|
|
|
26
26
|
* [json-stringify-safe](#json-stringify-safe)
|
|
27
27
|
* [readable-stream](#readable-stream)
|
|
28
28
|
* [semver](#semver)
|
|
29
|
-
* [winston-transport](#winston-transport)
|
|
30
29
|
|
|
31
30
|
**[devDependencies](#devDependencies)**
|
|
32
31
|
|
|
@@ -295,7 +294,7 @@ This product includes source derived from [@grpc/grpc-js](https://github.com/grp
|
|
|
295
294
|
|
|
296
295
|
### @grpc/proto-loader
|
|
297
296
|
|
|
298
|
-
This product includes source derived from [@grpc/proto-loader](https://github.com/grpc/grpc-node) ([v0.6.
|
|
297
|
+
This product includes source derived from [@grpc/proto-loader](https://github.com/grpc/grpc-node) ([v0.6.9](https://github.com/grpc/grpc-node/tree/v0.6.9)), distributed under the [Apache-2.0 License](https://github.com/grpc/grpc-node/blob/v0.6.9/LICENSE):
|
|
299
298
|
|
|
300
299
|
```
|
|
301
300
|
Apache License
|
|
@@ -1330,36 +1329,6 @@ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
1330
1329
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
1331
1330
|
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
1332
1331
|
|
|
1333
|
-
```
|
|
1334
|
-
|
|
1335
|
-
### winston-transport
|
|
1336
|
-
|
|
1337
|
-
This product includes source derived from [winston-transport](https://github.com/winstonjs/winston-transport) ([v4.5.0](https://github.com/winstonjs/winston-transport/tree/v4.5.0)), distributed under the [MIT License](https://github.com/winstonjs/winston-transport/blob/v4.5.0/LICENSE):
|
|
1338
|
-
|
|
1339
|
-
```
|
|
1340
|
-
The MIT License (MIT)
|
|
1341
|
-
|
|
1342
|
-
Copyright (c) 2015 Charlie Robbins & the contributors.
|
|
1343
|
-
|
|
1344
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1345
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1346
|
-
in the Software without restriction, including without limitation the rights
|
|
1347
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1348
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1349
|
-
furnished to do so, subject to the following conditions:
|
|
1350
|
-
|
|
1351
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1352
|
-
copies or substantial portions of the Software.
|
|
1353
|
-
|
|
1354
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1355
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1356
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1357
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1358
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1359
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1360
|
-
SOFTWARE.
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
1332
|
```
|
|
1364
1333
|
|
|
1365
1334
|
|
|
@@ -1800,7 +1769,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
1800
1769
|
|
|
1801
1770
|
### @newrelic/test-utilities
|
|
1802
1771
|
|
|
1803
|
-
This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v6.5.
|
|
1772
|
+
This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v6.5.2](https://github.com/newrelic/node-test-utilities/tree/v6.5.2)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-test-utilities/blob/v6.5.2/LICENSE):
|
|
1804
1773
|
|
|
1805
1774
|
```
|
|
1806
1775
|
Apache License
|
|
@@ -2515,7 +2484,7 @@ https://creativecommons.org/licenses/by-sa/4.0/
|
|
|
2515
2484
|
|
|
2516
2485
|
### got
|
|
2517
2486
|
|
|
2518
|
-
This product includes source derived from [got](https://github.com/sindresorhus/got) ([
|
|
2487
|
+
This product includes source derived from [got](https://github.com/sindresorhus/got) ([v8.3.2](https://github.com/sindresorhus/got/tree/v8.3.2)), distributed under the [MIT License](https://github.com/sindresorhus/got/blob/v8.3.2/license):
|
|
2519
2488
|
|
|
2520
2489
|
```
|
|
2521
2490
|
MIT License
|
|
@@ -3295,12 +3264,12 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
3295
3264
|
|
|
3296
3265
|
### tap
|
|
3297
3266
|
|
|
3298
|
-
This product includes source derived from [tap](https://github.com/tapjs/node-tap) ([
|
|
3267
|
+
This product includes source derived from [tap](https://github.com/tapjs/node-tap) ([v15.1.6](https://github.com/tapjs/node-tap/tree/v15.1.6)), distributed under the [ISC License](https://github.com/tapjs/node-tap/blob/v15.1.6/LICENSE):
|
|
3299
3268
|
|
|
3300
3269
|
```
|
|
3301
3270
|
The ISC License
|
|
3302
3271
|
|
|
3303
|
-
Copyright (c)
|
|
3272
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
3304
3273
|
|
|
3305
3274
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
3306
3275
|
purpose with or without fee is hereby granted, provided that the above
|
|
@@ -94,9 +94,11 @@ function wrapStart(shim, original) {
|
|
|
94
94
|
segment.addAttribute('http.url', url)
|
|
95
95
|
segment.addAttribute('http.method', this.methodName)
|
|
96
96
|
|
|
97
|
+
if (originalListener && originalListener.onReceiveStatus) {
|
|
98
|
+
const onReceiveStatuts = shim.bindSegment(originalListener.onReceiveStatus, segment)
|
|
99
|
+
onReceiveStatuts(status)
|
|
100
|
+
}
|
|
97
101
|
segment.end()
|
|
98
|
-
|
|
99
|
-
originalListener && originalListener.onReceiveStatus(status)
|
|
100
102
|
}
|
|
101
103
|
|
|
102
104
|
args[1] = nrListener
|
|
@@ -16,7 +16,7 @@ const { LOGGING } = require('../metrics/names')
|
|
|
16
16
|
* @returns {string}
|
|
17
17
|
*/
|
|
18
18
|
utils.truncate = function truncate(str) {
|
|
19
|
-
if (str.length > OUTPUT_LENGTH) {
|
|
19
|
+
if (typeof str === 'string' && str.length > OUTPUT_LENGTH) {
|
|
20
20
|
return str.substring(0, MAX_LENGTH) + '...'
|
|
21
21
|
}
|
|
22
22
|
|