QuestionQ43

VerifiedTroubleshooting and Optimization

An application uses AWS X-Ray to generate a large amount of trace data on an hourly basis. A developer wants to use filter expressions to limit the returned results through user-specified custom attributes.

How should the developer use filter expressions to filter the results in X-Ray?

Explanation

Annotations in AWS X-Ray are indexed key-value pairs specifically designed for use with filter expressions. Metadata, by contrast, is not indexed and cannot be filtered. Custom attributes must be added as annotations to enable filtering via X-Ray's filter expression syntax.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!