Skip to content

Commit

Permalink
Merge pull request #2 from RyanL1997/fix-time-mismatch
Browse files Browse the repository at this point in the history
Fix timestamp mismatch
  • Loading branch information
mengweieric authored Oct 17, 2024
2 parents aa931fa + 0e67839 commit f49d464
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const otelSpecProvider = function (): SampleDatasetSchema {
dataPath: path.join(__dirname, './sample_traces.json.gz'),
fields: tracesFieldMappings,
timeFields: ['startTime', 'endTime', 'traceGroupFields.endTime'], // TODO: add support for 'events.time'
currentTimeMarker: '2024-10-15T03:30:00',
currentTimeMarker: '2024-10-16T03:30:00',
preserveDayOfWeekTimeOfDay: false,
customPrefix: 'otel-v1-apm-span',
},
Expand All @@ -62,7 +62,7 @@ export const otelSpecProvider = function (): SampleDatasetSchema {
dataPath: path.join(__dirname, './sample_service_map.json.gz'),
fields: servicesFieldMappings,
timeFields: [],
currentTimeMarker: '2024-10-15T03:30:00',
currentTimeMarker: '2024-10-16T03:30:00',
preserveDayOfWeekTimeOfDay: false,
customPrefix: 'otel-v1-apm-service',
},
Expand All @@ -71,7 +71,7 @@ export const otelSpecProvider = function (): SampleDatasetSchema {
dataPath: path.join(__dirname, './sample_metrics.json.gz'),
fields: metricsFieldMappings,
timeFields: ['@timestamp', 'exemplar.time', 'startTime', 'time', 'observedTimestamp'],
currentTimeMarker: '2024-10-15T03:30:00',
currentTimeMarker: '2024-10-16T03:30:00',
preserveDayOfWeekTimeOfDay: false,
customPrefix: 'ss4o_metrics-otel',
},
Expand All @@ -80,7 +80,7 @@ export const otelSpecProvider = function (): SampleDatasetSchema {
dataPath: path.join(__dirname, './sample_logs.json.gz'),
fields: logsFieldMappings,
timeFields: ['time', 'observedTime'],
currentTimeMarker: '2024-10-15T03:30:00',
currentTimeMarker: '2024-10-16T03:30:00',
preserveDayOfWeekTimeOfDay: false,
customPrefix: 'otel-events',
},
Expand Down

0 comments on commit f49d464

Please sign in to comment.