aws / aws/aws-xray-sdk-java

Update Documentation for AWS_XRAY_CONTEXT_MISSING allowed values like IGNORE_ERROR

Open
#302 1 comment 0 reactions 0 assignees View on GitHub
documentation enhancement
Dominant language
Java
Stars
100
Forks
100
PR merge metrics
No merged PRs in 30d

Description

Hi We are using latest X-Ray core SDK `com.amazonaws:aws-xray-recorder-sdk-core:2.9.1`
I am trying to suppress the log `Suppressing AWS X-Ray context missing exception`.
I was able to find `IGNORE_ERROR` is also an allowed value for ENV variable `AWS_XRAY_CONTEXT_MISSING` in code base at https://github.com/aws/aws-xray-sdk-java/blob/c14447e907617cd0330dbd3b7c747bc1d6c1614a/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/ContextMissingStrategy.java#L21

However, Java configuration documentation does not mention this acceptable value: https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java-configuration.html

Is this intentional? If not, can we please update the documentation to include this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.