Description
Code of Conduct
- I agree to follow Django's Code of Conduct
Package Information
snok/django-guid
Problem
The django-guid package ensures that each request has a unique ID associated with it, either generated or retrieved from a header provided by an upstream load balancer, API gateway, etc.. It then adds the ID to all log outputs making debugging a lot easier. This is especially useful if the system is part of a larger set of services where further internal API calls may be required to service the incoming request from the client.
Rationale
I would argue that all production systems need request IDs to facilitate debugging, and that it would be beneficial to new Django projects to have this functionality wired in by default. It saves the hassle of configuring it, adding the request IDs into the logging config, and adding it to various error pages.
Additional Details
No response
Implementation Details
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status