Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add traceid spanid #81

Merged
merged 3 commits into from
Mar 19, 2024
Merged

Conversation

liammclennan
Copy link
Contributor

Add traceId and spanId

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() }
    };
}

Copy link
Member

@nblumhardt nblumhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎

@liammclennan liammclennan merged commit 0cbcadf into datalust:dev Mar 19, 2024
13 checks passed
@liammclennan liammclennan deleted the add-traceid-spanid branch March 19, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants