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.

gefragt vor einem Jahr442 Aufrufe
1 Antwort
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
beantwortet vor einem Jahr
  • If the sampling rule is set 0 , does that mean no cost is incurred ?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen