You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update README regarding Env Vars, Reorder Env Detector in Env Var logic (#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.
|`OTEL_EXPORTER_OTLP_PROTOCOL`| Leave unset so that ADOT JS will use a recommended OTLP protocol |`http/protobuf`|
33
+
|`OTEL_PROPAGATORS`| Leave unset so that ADOT JS will use a recommended list of propagators |`xray,tracecontext,b3,b3multi`|
34
+
|`OTEL_NODE_DISABLED_INSTRUMENTATIONS`| Leave unset so that ADOT JS will disable a recommended list of instrumentations |`fs,dns`|
35
+
|`OTEL_NODE_RESOURCE_DETECTORS`| Leave unset so that ADOT JS will use a recommended list of Resource Detectors. If set, `env` should be at the end of the list |`aws,env`|
0 commit comments