Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert OpenTelemetry trace id to X-Ray trace id #184

Open
rapphil opened this issue Apr 20, 2023 · 2 comments
Open

Convert OpenTelemetry trace id to X-Ray trace id #184

rapphil opened this issue Apr 20, 2023 · 2 comments
Labels

Comments

@rapphil
Copy link

rapphil commented Apr 20, 2023

What is my problem?

In an application that uses OpenTelemetry and generate exemplars and traces, the trace id will be presented in the form of a 128 bit hex string.

image

However the X-Ray trace id format is different: https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html#xray-api-traceids

Nonetheless OpenTelemetry trace ids and X-Ray trace ids are compatible, because both can be stored as a 128 bit integer.

What is the proposed solution?

This plugin should try to automatically convert from OpenTelemetry trace ids to X-Ray trace ids when you click in the button in the dialog from the image above.

This can be an optin feature.

@rapphil rapphil added datasource/X-Ray type/bug Something isn't working labels Apr 20, 2023
@fridgepoet
Copy link
Member

Hey @rapphil thanks, a conversion sounds like it could be useful.

What part of the X-ray plugin has the button in your screenshot?

@sarahzinger sarahzinger added type/feature-request New feature or request and removed type/bug Something isn't working labels May 16, 2023
@nakedible-p
Copy link

As an additional information for this – the AWS X-Ray console automatically allow searches with the X-Ray trace id format and the OpenTelemetry (W3C) trace id format. So now it's only Grafana which doesn't do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

4 participants