Skip to content

Commit c4508cf

Browse files
authored
Updated docs for new lambda layer release (#178)
* updated docs for new lambda layer release * improved python wording
1 parent 398fda5 commit c4508cf

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Find the supported regions and ARN in the table below for the ARNs to consume.
6969

7070
|Supported Regions |Lambda layer ARN format| Contents |
7171
|---------------------|-------------------------|----------|
72-
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-collector-ver-0-33-0:1 | Contains the [ADOT Collector for Lambda v0.12.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.12.0)|
72+
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-collector-ver-0-36-0:1 | Contains the [ADOT Collector for Lambda v0.13.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.13.0)|
7373

7474

7575
### Enable Tracing

src/docs/getting-started/lambda/lambda-java-auto-instr.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Find the supported regions and ARN in the table below for the ARNs to consume.
2929

3030
|Supported Regions |Lambda layer ARN format| Contents |
3131
|---------------------|-------------------------|----------|
32-
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-java-agent-ver-1-5-0:3 | Contains [ADOT Java Auto-Instrumentation Agent v1.5.0](https://github.com/aws-observability/aws-otel-java-instrumentation/releases/tag/v1.5.0) <br/><br/> Contains the [ADOT Collector for Lambda v0.12.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.12.0) |
32+
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-java-agent-ver-1-6-0:1 | Contains [ADOT Java Auto-Instrumentation Agent v1.6.0](https://github.com/aws-observability/aws-otel-java-instrumentation/releases/tag/v1.6.0) <br/><br/> Contains the [ADOT Collector for Lambda v0.13.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.13.0) |
3333

3434
### Enable auto-instrumentation for your Lambda function
3535

@@ -49,12 +49,14 @@ For more on AWS X-Ray permissions for AWS Lambda, see the [AWS Lambda documentat
4949

5050
### Metric Instrumentation in your Lambda Function
5151

52+
**Note:** As of v1.6.0 of the OpenTelemetry Java Agent, metric exporting is disabled by default to preserve stability. To enable exporting metrics for use with backends like Amazon Managed Prometheus, set the environment variable `OTEL_METRICS_EXPORTER=otlp`.
53+
5254
Unlike traces, Metric auto instrumentation has not been supported in OpenTelemetry yet. You would have to manually instrument your code in your Lambda application in order to generate application metrics. We will be using the [OpenTelemetry Java Metrics API](https://github.com/open-telemetry/opentelemetry-java/tree/main/api/metrics/src/main/java/io/opentelemetry/api/metrics) to define our metrics. You can define your metric types in a MetricGenerator.java file.
5355

5456
1. Import the OpenTelemetry Java Metrics API into your dependency file
5557
```
5658
dependencies {
57-
implementation platform("io.opentelemetry:opentelemetry-bom:1.5.0")
59+
implementation platform("io.opentelemetry:opentelemetry-bom:1.6.0")
5860
implementation('io.opentelemetry:opentelemetry-api')
5961
}
6062
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Find the supported regions and ARN in the table below for the ARNs to consume.
3939

4040
|Supported Regions |Lambda layer ARN format| Contents |
4141
|---------------------|-------------------------|----------|
42-
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-java-wrapper-ver-1-5-0:2 | Contains [OpenTelemetry for Java v1.5.0](https://github.com/open-telemetry/opentelemetry-java/releases/tag/v1.5.0) with [Java Instrumentation v1.5.2](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.5.2) <br/><br/> Contains the [ADOT Collector for Lambda v0.12.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.12.0) |
42+
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-java-wrapper-ver-1-6-0:1 | Contains [OpenTelemetry for Java v1.6.0](https://github.com/open-telemetry/opentelemetry-java/releases/tag/v1.6.0) with [Java Instrumentation v1.6.0](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.6.0) <br/><br/> Contains the [ADOT Collector for Lambda v0.13.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.13.0) |
4343

4444

4545
### Enable auto-instrumentation for your Lambda function

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Find the supported regions and ARN in the table below for the ARNs to consume.
2929

3030
|Supported Regions |Lambda layer ARN format| Contents |
3131
|---------------------|-------------------------|----------|
32-
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-nodejs-ver-0-24-0:2 | Contains [OpenTelemetry for JavaScript v0.24.0 ](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v0.24.0) with [Contrib v0.24.0](https://github.com/open-telemetry/opentelemetry-js-contrib/releases/tag/v0.24.0) <br/><br/> Contains the [ADOT Collector for Lambda v0.12.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.12.0)|
32+
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-nodejs-ver-0-25-0:1 | Contains [OpenTelemetry for JavaScript v0.25.0](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v0.25.0) with [Lambda instrumentation v0.26.0](https://github.com/open-telemetry/opentelemetry-js-contrib/releases/tag/instrumentation-aws-lambda-v0.26.0) <br/><br/> Contains the [ADOT Collector for Lambda v0.13.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.13.0)|
3333

3434

3535
### Enable auto-instrumentation for your Lambda function

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Find the supported regions and ARN in the table below for the ARNs to consume.
3232

3333
|Supported Regions |Lambda layer ARN format| Contents |
3434
|---------------------|-------------------------|----------|
35-
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-python38-ver-1-5-0:2 | Contains [OpenTelemetry for Python v1.5.0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.5.0) with [Contrib v0.24b0](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.24b0) <br/><br/> Contains the [ADOT Collector for Lambda v0.12.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.12.0)|
35+
| ap-northeast-1<br/>ap-northeast-2<br/>ap-south-1<br/>ap-southeast-1<br/>ap-southeast-2<br/>ca-central-1<br/>eu-central-1<br/>eu-north-1<br/>eu-west-1<br/>eu-west-2<br/>eu-west-3<br/>sa-east-1<br/>us-east-1<br/>us-east-2<br/>us-west-1<br/>us-west-2 | arn:aws:lambda:\<region\>:901920570463:layer:aws-otel-python38-ver-1-5-0:3 | Contains [OpenTelemetry Python AWS Extension v1.0.1](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/opentelemetry-sdk-extension-aws%3D%3D1.0.1) which uses [OpenTelemetry Python v1.5.0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.5.0) <br/><br/> Contains the [ADOT Collector for Lambda v0.13.0](https://github.com/aws-observability/aws-otel-collector/releases/tag/pkg%2Flambdacomponents%2Fv0.13.0)|
3636

3737

3838
### Enable auto-instrumentation for your Lambda function

0 commit comments

Comments
 (0)