Skip to content

Ignore tracing for certain Urls /hostname #35

Closed
@sudhirpandey

Description

@sudhirpandey

Is your feature request related to a problem? Please describe.
We are using a capture lambda handler decorations, but unfortunately our lambda is making a large amount of api calls to ec2.amazon.com, which we dont want any trace(segements) for. Since a large amount of trace subsegment is generate due to this api call( that happens in loop), we run out of xray limit for a signel trace which is 500Kb .
https://docs.aws.amazon.com/general/latest/gr/xray.html#limits_xray.

Describe the solution you'd like
If we could avoid generating trace segements for a known URL /hostname as described here https://github.com/aws/aws-xray-sdk-python#ignoring-httplib-requests, while using tracer , we would be able to get our trace limit under the limit and still use tracer. Its possible for us to use xray sdk directly and start tracing only methods we wanted but, it would be very useful to have such ignore capability in tracer too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ProposedCommunity submitedTracerall_runtimesChanges that should be applied to all runtimes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions