Skip to content

Use AWS X-Ray id generator with auto-instrumentation #8790

Discussion options

You must be logged in to vote

Ideally, it should be yet another environment variable, e.g.:

export OTEL_TRACES_IDGENERATOR=xray

I wouldn't count on a new OTel-wide env var setting; but I think it's quite possible to have a custom AutoConfigurationCustomizerProvider that sets the generator depending on some configuration flag (e.g. otel.aws-xray.trace-id-generator.enabled or something) in the aws-xray module. Can you create an issue in the contrib repo and ping the aws-xray component owners?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@vmihailenco
Comment options

@mateuszrzeszutek
Comment options

Answer selected by vmihailenco
@vmihailenco
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants