function makeTestEvent() {
return {
level: 'Error',
timestamp: new Date(),
traceId: '6112be4ab9f113c499dbf4817e503a69',
spanId: '2f2b39a596fc76cd',
messageTemplate: 'Event produced by integration test',
exception: 'Some error at some file on some line',
properties: { testMarker: uuid.v4() }
};
}
Add
traceId
andspanId