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.

demandé il y a un an442 vues
1 réponse
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
répondu il y a un an
  • If the sampling rule is set 0 , does that mean no cost is incurred ?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions