Skip to content

Commit aac0d76

Browse files
authored
fix: typos pt 2 (#3434)
1 parent 37d1e29 commit aac0d76

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

changelog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@
621621
"security": [],
622622
"bugfixes": [],
623623
"features": [
624-
"Added supoort for Node 22",
624+
"Added support for Node 22",
625625
"Added AIM support for Meta Llama3 models in AWS Bedrock"
626626
]
627627
}

lib/stats/apdex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ApdexStats.prototype.incrementFrustrating = function incrementFrustrating() {
5050
}
5151

5252
/**
53-
* When merging apdex stastics, the apdex tolerating value isn't brought along
53+
* When merging apdex statistics, the apdex tolerating value isn't brought along
5454
* for the ride.
5555
*
5656
* @param {ApdexStats} other The existing apdex stats being merged in.

lib/transaction/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Transaction.prototype.end = function end() {
222222
this.agent.emit('transactionFinished', this)
223223

224224
// Do after emit so all post-processing can complete
225-
this._cleanUneededReferences()
225+
this._cleanUnneededReferences()
226226

227227
return this
228228
}
@@ -237,7 +237,7 @@ Transaction.prototype.end = function end() {
237237
* in a memory leak. This is due to the TraceSegment not getting removed from the
238238
* async-hooks segmentMap because 'destroy' never fires.
239239
*/
240-
Transaction.prototype._cleanUneededReferences = function _cleanUneededReferences() {
240+
Transaction.prototype._cleanUnneededReferences = function _cleanUnneededReferences() {
241241
this.userErrors = null
242242
this.exceptions = null
243243
}
@@ -843,8 +843,8 @@ Transaction.prototype.hasIgnoredErrorStatusCode = function _hasIgnoredErrorStatu
843843
Transaction.prototype.hasErrors = function _hasErrors() {
844844
const isErroredTransaction = urltils.isError(this.agent.config, this.statusCode)
845845
const transactionHasExceptions = this.exceptions.length > 0
846-
const transactionHasuserErrors = this.userErrors.length > 0
847-
return transactionHasExceptions || transactionHasuserErrors || isErroredTransaction
846+
const transactionHasUserErrors = this.userErrors.length > 0
847+
return transactionHasExceptions || transactionHasUserErrors || isErroredTransaction
848848
}
849849

850850
/**

lib/transaction/trace/aggregator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class TransactionTraceAggregator extends TraceAggregator {
148148
_getMergeData() {
149149
return {
150150
trace: this.trace,
151-
synthetics: this.synthetricsTraces
151+
synthetics: this.syntheticsTraces
152152
}
153153
}
154154

newrelic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ exports.config = {
2525
/**
2626
* This provides instrumentation for `setTimeout` and `setInterval` calls.
2727
* We recommend you disable this instrumentation as it does not not provide
28-
* much value and creates a lot of unncessary TraceSegments/Span events.
28+
* much value and creates a lot of unnecessary TraceSegments/Span events.
2929
*/
3030
instrumentation: {
3131
timers: {

0 commit comments

Comments
 (0)