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.

已提问 1 年前442 查看次数
1 回答
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
已回答 1 年前
  • If the sampling rule is set 0 , does that mean no cost is incurred ?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则