Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 11c9290

Browse files
fix: correct telemetry timestamp
1 parent bafe1e8 commit 11c9290

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cortex-js/src/domain/telemetry/telemetry.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ interface ScopeLog {
5151

5252
export interface TelemetryLog {
5353
traceId: string;
54-
startTimeUnixNano?: string;
54+
timeUnixNano?: string;
5555
endTimeUnixNano?: string;
5656
severityText: string;
5757
body: {

cortex-js/src/infrastructure/repositories/telemetry/telemetry.repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export class TelemetryRepositoryImpl implements TelemetryRepository {
226226
logRecords: [
227227
{
228228
traceId: cypto.randomBytes(16).toString('hex'),
229-
startTimeUnixNano: (
229+
timeUnixNano: (
230230
BigInt(Date.now()) * BigInt(1000000)
231231
).toString(),
232232
body: { stringValue: body },

0 commit comments

Comments
 (0)