Skip to content

Conversation

@leplatrem
Copy link
Contributor

@leplatrem leplatrem commented Feb 10, 2023

Fix #344

@leplatrem leplatrem requested a review from a team as a code owner February 10, 2023 15:38
@leplatrem leplatrem added the enhancement New feature or request label Feb 10, 2023
Copy link
Contributor

@grahamalama grahamalama left a comment

Choose a reason for hiding this comment

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

I notice we use uuid4 as a unique request id in case we don't get the Nginx header, which makes sense.

However, I also noticed that nginx uses a "16 byte hexadecimal number" as their request id (docs).

Should we mirror that by using secrets.token_hex(16)?

@leplatrem leplatrem merged commit 0b5cda9 into main Feb 13, 2023
@leplatrem leplatrem deleted the 344-add-rid-logs branch February 13, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add rid (request id) to logs

3 participants