Is your feature request related to a problem? Please describe.
I would like to be able to instrument common logging libraries like Log4J and Logback to inject trace IDs that are formatted in the AWS X-Ray format, as opposed to the default W3C format.
Describe the solution you'd like
This solution is already available in the downstream AWS-distributed Java agent (source). I would like a similar library instrumentation available so I can use it without needing the agent.
Describe alternatives you've considered
Injecting trace IDs in W3C format works for manual trace -> log correlation, but for automated correlation done by AWS services like ServiceLens, the X-Ray format is required.
Is your feature request related to a problem? Please describe. I would like to be able to instrument common logging libraries like Log4J and Logback to inject trace IDs that are formatted in the AWS X-Ray format, as opposed to the default W3C format.
Describe the solution you'd like This solution is already available in the downstream AWS-distributed Java agent (source). I would like a similar library instrumentation available so I can use it without needing the agent.
Describe alternatives you've considered Injecting trace IDs in W3C format works for manual trace -> log correlation, but for automated correlation done by AWS services like ServiceLens, the X-Ray format is required.
cc @anuraaga