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

Adding an annotation with a space in the key silently fails #389

Open
scottgerring opened this issue Nov 7, 2023 · 0 comments
Open

Adding an annotation with a space in the key silently fails #389

scottgerring opened this issue Nov 7, 2023 · 0 comments

Comments

@scottgerring
Copy link

Per this issue over on powertools for Java: aws-powertools/powertools-lambda-java#1499
If a user adds a trace annotation with a space in it, the annotation is silently not added to the trace.

It looks like annotation keys have to be alphanumeric without spaces for X-Ray. It would be great if the X-Ray SDK could through a runtime exception or something, so we get some indication that the thing we are doing isn't going to work, rather than silently accepting bad data.

What do you think?

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

No branches or pull requests

1 participant