
Answer-first summary for fast verification
Answer: AWS_XRAY_DAEMON_ADDRESS
AWS_XRAY_DAEMON_ADDRESS Set the host and port of the X-Ray daemon listener. By default, the SDK uses 127.0.0.1:2000 for both trace data (UDP) and sampling (TCP). Use this variable if you have configured the daemon to listen on a different port or if it is running on a different host. Incorrect options: AWS_XRAY_TRACING_NAME - This sets a service name that the SDK uses for segments. AWS_XRAY_CONTEXT_MISSING - This should be set to LOG_ERROR to avoid throwing exceptions when your instrumented code attempts to record data when no segment is open. AWS_XRAY_DEBUG_MODE - This should be set to TRUE to configure the SDK to output logs to the console, instead of configuring a logger.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In an ECS environment, AWS X-Ray requires the correct configuration for the daemon to be discovered and used for tracing. What is the specific environment variable that should be set in the AWS X-Ray SDK to guarantee the proper discovery and operation of the X-Ray daemon within the ECS setup?
A
AWS_XRAY_CONTEXT_MISSING
B
AWS_XRAY_TRACING_NAME
C
AWS_XRAY_DAEMON_ADDRESS
D
AWS_XRAY_DEBUG_MODE
No comments yet.