Skip to content

Conversation

@Schultzer
Copy link
Contributor

This PR adds a prefix option to Plug.RequestId, in a micro service architecture it can be helpful to append prefix to request id that a service generate them self, to differentiate them from all other request.

@Schultzer Schultzer force-pushed the add-prefix-option-to-request-id branch from d37a37c to e1a9723 Compare January 6, 2026 19:20
@josevalim
Copy link
Member

Instead of a prefix, it probably makes more sense to allow a &fun/0 to be passed that generates the ID. And then we expose ours and you can build whatever you want on top.

@josevalim
Copy link
Member

Closing in favor of #1294.

@josevalim josevalim closed this Jan 6, 2026
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