We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac3b00 commit f55d5fdCopy full SHA for f55d5fd
1 file changed
src/features/session_trace/aggregate/trace/storage.js
@@ -1,5 +1,5 @@
1
/**
2
- * Copyright 2020-2025 New Relic, Inc. All rights reserved.
+ * Copyright 2020-2026 New Relic, Inc. All rights reserved.
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
import { MODE } from '../../../../common/session/constants'
@@ -168,7 +168,7 @@ export class TraceStorage {
168
if (!(typeof val === 'number' && val >= 0)) continue
169
170
val = Math.round(val)
171
- if (this.parent.timeKeeper && this.parent.timeKeeper.ready && isAbsoluteTimestamp) {
+ if (isAbsoluteTimestamp && this.parent.timeKeeper && this.parent.timeKeeper.ready) {
172
val = this.parent.timeKeeper.convertAbsoluteTimestamp(
173
Math.floor(this.parent.timeKeeper.correctAbsoluteTimestamp(val))
174
)
0 commit comments