Stop Sending Health Checks Traces to XRay

0

Hi,

I need to stop Health Checks Traces on XRay, I am using OTEL Collector with AWSXrayExporter. How do I achieve it, I don't see anything in the docs. Thanks in advance.

asked a year ago396 views
1 Answer
0

Hello,

You can do this by setting up sampling rules.

Go to the X-Ray service at console.aws.amazon.com, click sampling, then click Create Sampling Rule.

Here you can configure 0 for the reservoir size and fixed rate. This ensures that it never samples.

Then set the URL path under matching criteria to the health check URL path. This sets up your filter.

You can read more about it here. https://docs.aws.amazon.com/xray/latest/devguide/xray-console-sampling.html?icmpid=docs_xray_console#xray-console-sampling-options

atshaw
answered a year ago
  • If the sampling rule is set 0 , does that mean no cost is incurred ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions