-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
bugSomething isn't workingSomething isn't workingfeature-requestNew feature or requestNew feature or requestsize/XS
Description
What were you trying to accomplish?
I noticed that Trace Annotations not getting added if Annotation Key has a space in it
The following code works
TracingUtils.putAnnotation("TraceName", "MyTrace");
The following code doesn't work
TracingUtils.putAnnotation("Trace Name", "MyTrace");
Expected Behavior
Annotation should be visible in Trace details page
Annotation should be visible in Trace details page irrespective of how the key is created.
Current Behavior
Annotation is totally missing if key has a space in it
Possible Solution
Did not dig deep on the code
Steps to Reproduce (for bugs)
- Try with following code.
-
TracingUtils.putAnnotation("TraceName", "MyTrace");
Environment
- Powertools for AWS Lambda (Java) version used: 1.17.0
- Packaging format (Layers, Maven/Gradle): Maven
- AWS Lambda function runtime: java11
- Debugging logs
# paste logs here
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfeature-requestNew feature or requestNew feature or requestsize/XS
Type
Projects
Status
Shipped