Skip to content

Commit da25ec8

Browse files
authored
update ndoejs lambda docs to specify support of OTLP over HTTP only (#545)
1 parent 3e1275a commit da25ec8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/docs/getting-started/lambda/lambda-js.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ Tips:
4545
* By default, the layer is configured to export traces to AWS X-Ray.
4646
Make sure your Lambda role has the required AWS X-Ray permissions.
4747
For more on AWS X-Ray permissions for AWS Lambda, see the [AWS Lambda documentation](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html#services-xray-permissions).
48+
* Also note that, the `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable
49+
does not need to be set. The default value is `http://localhost:4318`,
50+
as the ADOT Node.JS lambda layer only supports OTLP over HTTP.
4851

4952
### Remove OpenTelemetry from your Lambda function
5053
To disable OpenTelemetry for your Lambda function, remove the Lambda layer,
@@ -54,7 +57,7 @@ remove the environment variable `AWS_LAMBDA_EXEC_WRAPPER`, and disable active tr
5457

5558
## Configuration
5659

57-
The ADOT Node.js layer combines both OpenTelemetry JavaScript and the ADOT Collector.
60+
The ADOT Node.JS layer combines both OpenTelemetry JavaScript and the ADOT Collector.
5861
The configuration of the ADOT Collector follows the OpenTelemetry standard.
5962

6063
By default, the ADOT Lambda layer uses the [config.yaml](https://github.com/aws-observability/aws-otel-lambda/blob/main/adot/collector/config.yaml),

0 commit comments

Comments
 (0)