Skip to content

Ensure envDetector will override any conflicting resource attributes #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

jj22ee
Copy link
Contributor

@jj22ee jj22ee commented Sep 12, 2024

Issue #, if available:

Description of changes:

  • Move envDetectorSync to the end of the defaultDetectors list.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jj22ee jj22ee requested a review from pxaws September 12, 2024 22:51
@jj22ee jj22ee requested a review from a team as a code owner September 12, 2024 22:51
@pxaws pxaws merged commit f2e0f77 into main Sep 12, 2024
8 checks passed
@pxaws pxaws deleted the env-resource-priority branch September 12, 2024 22:57
pxaws pushed a commit that referenced this pull request Sep 18, 2024
…ic (#69)

*Issue #, if available:*

*Description of changes:*
1. Add `General Recommendations` table for ADOT JS Env Vars.
2. If user sets the `OTEL_NODE_RESOURCE_DETECTORS` Env Var, ensure that
`env` is at the end of the list if not added by user. (see related
[#53](#53))

*Testing:*
- See [README in branch
here](https://github.com/aws-observability/aws-otel-js-instrumentation/tree/readme-env-var-update/aws-distro-opentelemetry-node-autoinstrumentation).

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants