aklivity / zilla

🦎 A multi-protocol edge & service proxy. Seamlessly interface web apps, IoT clients, & microservices to Apache Kafka® via declaratively defined, stateless APIs.
https://docs.aklivity.io/zilla
Other
507 stars 48 forks source link

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

Open vordimous opened 2 months ago

vordimous commented 2 months ago

Is your feature request related to a problem? Please describe. Currently, if authentication fails, Zilla will log 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.

hedhyw commented 2 months ago

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