zilla icon indicating copy to clipboard operation
zilla copied to clipboard

Securely add the more detail around authentication failure when logging with metrics exporters

Open vordimous opened this issue 10 months ago • 1 comments

Is your feature request related to a problem? Please describe. Currently, if authentication fails, Zilla will log GUARD_JWT_AUTHORIZATION_FAILED - with no additional context on the cause of the auth failure.

Describe the solution you'd like Adding additional metrics types or modifying the current metrics types to include more information and context about authentication will help troubleshoot issues.

Describe alternatives you've considered A verbosity level flag could manage this and could be controlled separately so a lower environment can expose more while production can expose less.

vordimous avatar Apr 09 '24 16:04 vordimous

It would be a very nice feature! and not only about AUTHORIZATION_FAILED, but about all sorts of failures!

hedhyw avatar Apr 10 '24 05:04 hedhyw