obelix74 commented on code in PR #3414:
URL: https://github.com/apache/polaris/pull/3414#discussion_r2682858964
##########
runtime/service/src/main/java/org/apache/polaris/service/catalog/io/StorageAccessConfigProvider.java:
##########
@@ -187,6 +189,24 @@ private CredentialVendingContext
buildCredentialVendingContext(
builder.activatedRoles(Optional.of(rolesString));
}
+ // Extract OpenTelemetry trace ID for end-to-end correlation
+ // This enables correlation between credential vending (CloudTrail),
catalog operations
+ // (Polaris events), and metrics reports from compute engines
+ builder.traceId(getCurrentTraceId());
Review Comment:
@dimas-b also, given that the `traceId` will not be used in cache, do we
still need a separate feature flag? There exists
`INCLUDE_SESSION_TAGS_IN_SUBSCOPED_CREDENTIAL` to include all session tags in
totality that was merged as part of https://github.com/apache/polaris/pull/3327.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]