fivetran-kostaszoumpatianos opened a new issue, #2444: URL: https://github.com/apache/polaris/issues/2444
### Is your feature request related to a problem? Please describe. Currently we emit various metrics and have the option of tagging them with the realm-id, when `polaris.metrics.realm-id-tag.enable-in-api-metrics=true`. In some cases it would be useful to also annotated the metrics with a user-principal tag, such that specific issues can be better traced at a user level. ### Describe the solution you'd like We could add a `polaris.metrics.user-principal-tag.enable-in-api-metrics=true`. The user principal is already present in the SecurityContext, which can be easily annotated with a `MeterTag` in the api template. ### Describe alternatives you've considered We could log the catalog name but this is more complicated and would require a more intrusive change. ### Additional context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org