[Showing] Django GUID (Correlation-ID)

GitHub | Read the docs

Logs are great, but they are also often flooded. Django GUID allow you to attach a GUID to every log message that are triggered by a request. Multi threaded or load balanced environment making logs not chronological? No problem, django-guid makes troubleshooting easy.

Ever had a user of your site or API say “Hey, I got an error?” and wished they could give you an ID that you could find all log messages for? django-guid allows you to return the GUID as a header, so you can display it to your end users.

Have a look at the extended example and try to do a CTRL + F for 99d44111e9174c5a9494275aa7f28858 to see all logs connected to one of the incoming requests to my stack.

2 Likes