Add support for AWS_XRAY_SDK_ENABLED environment variable

Open
#178 6 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, java

Research direction

No files, tests, or entry points are named in the issue. Start by locating the Java SDK's configuration handling and the path that sends segments, then compare the stated AWS_XRAY_SDK_ENABLED behavior with the Python SDK. Done means the Java SDK recognizes the variable and disables segment sending when it is disabled.

Written by the indexing model from the issue text.

Description

enhancement

The python SDK supports AWS_XRAY_SDK_ENABLED which disables sending segments. This allows for one artifact to be deployed everywhere rather than one artifact with the SDK and one without, or having a bunch of "if SDK_ENABLED" spread throughout the code.

It would be nice if the java SDK supported the same variable

Dominant language
Java
Stars
100
Forks
100
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-xray-sdk-java

All issues in aws/aws-xray-sdk-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.