diff --git a/polaris-service/src/main/java/org/apache/polaris/service/tracing/TracingFilter.java b/polaris-service/src/main/java/org/apache/polaris/service/tracing/TracingFilter.java index b3cefe1cb..f166dd6c5 100644 --- a/polaris-service/src/main/java/org/apache/polaris/service/tracing/TracingFilter.java +++ b/polaris-service/src/main/java/org/apache/polaris/service/tracing/TracingFilter.java @@ -90,6 +90,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha span.setAttribute(ServerAttributes.SERVER_ADDRESS, httpRequest.getServerName()); span.setAttribute(UrlAttributes.URL_SCHEME, httpRequest.getScheme()); span.setAttribute(UrlAttributes.URL_PATH, httpRequest.getPathInfo()); + span.setAttribute("polaris.client.id", httpRequest.getHeader("Polaris-Client-ID")); chain.doFilter(request, response); } finally {