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

Azure storage logs should have a useful correlationId #1179

Open
jasonzio opened this issue Sep 28, 2022 · 1 comment
Open

Azure storage logs should have a useful correlationId #1179

jasonzio opened this issue Sep 28, 2022 · 1 comment

Comments

@jasonzio
Copy link

jasonzio commented Sep 28, 2022

Common practice is to create a correlationId for any user-facing service request and apply that single correlationId to all services invoked while handling that request. The django-guid plug-in is the standard mechanism for setting such a guid, and logs emitted by django itself include that id.

Azure storage API calls can optionally pass a correlationId which is attached to log entries created by Azure while handling the request. The guid passed into django-guid should be plumbed through to any calls to Azure storage APIs to enable log correlation across all services when investigating problems.

@jasonzio
Copy link
Author

I've submitted #1178 to address this.

@jasonzio jasonzio changed the title Azure storage logs don't have a useful correlationId Azure storage logs should have a useful correlationId Sep 28, 2022
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

No branches or pull requests

1 participant