File tree Expand file tree Collapse file tree 13 files changed +22
-35
lines changed
dotnet/integration-tests/aws-sdk/wrapper
go/integration-tests/aws-sdk/wrapper
integration-tests/aws-sdk/wrapper
integration-tests/aws-sdk/wrapper Expand file tree Collapse file tree 13 files changed +22
-35
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,3 @@ index 7cdea69..553e649 100644
37
37
Version: c.version,
38
38
},
39
39
ConfigProvider: c.configProvider,
40
- diff --git a/collector/Makefile b/collector/Makefile
41
- index 8a3d532..e272d83 100644
42
- --- a/collector/Makefile
43
- +++ b/collector/Makefile
44
- @@ -44,7 +44,7 @@ package: build
45
- @echo Package zip file for collector extension layer
46
- mkdir -p $(BUILD_SPACE)/collector-config
47
- cp config* $(BUILD_SPACE)/collector-config
48
- - cd $(BUILD_SPACE) && zip -r opentelemetry-collector-layer-$(GOARCH).zip collector-config extensions
49
- + cd $(BUILD_SPACE) && zip -r collector-extension-$(GOARCH).zip collector-config extensions
50
-
51
- .PHONY: publish
52
- publish:
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ locals {
5
5
resource "aws_lambda_layer_version" "collector_layer" {
6
6
count = var. enable_collector_layer ? 1 : 0
7
7
layer_name = var. collector_layer_name
8
- filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip"
8
+ filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip"
9
9
compatible_runtimes = [" dotnet6" , " dotnetcore3.1" ]
10
10
license_info = " Apache-2.0"
11
- source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip" )
11
+ source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip" )
12
12
}
13
13
14
14
module "hello-lambda-function" {
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ locals {
5
5
resource "aws_lambda_layer_version" "collector_layer" {
6
6
count = var. enable_collector_layer ? 1 : 0
7
7
layer_name = var. collector_layer_name
8
- filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip"
8
+ filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip"
9
9
compatible_runtimes = [" provided.al2" ]
10
10
license_info = " Apache-2.0"
11
- source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip" )
11
+ source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip" )
12
12
}
13
13
14
14
module "hello-lambda-function" {
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ mv otel-handler otel-handler-upstream
57
57
cp " $SOURCEDIR " /scripts/otel-handler .
58
58
# Copy ADOT Java Agent downloaded using Gradle task
59
59
cp " $SOURCEDIR " /build/javaagent/aws-opentelemetry-agent* .jar ./opentelemetry-javaagent.jar
60
- unzip -qo ../../../../collector/build/collector-extension -$1 .zip
60
+ unzip -qo ../../../../collector/build/opentelemetry- collector-layer -$1 .zip
61
61
zip -qr opentelemetry-javaagent-layer.zip *
62
62
popd || exit
63
63
@@ -69,6 +69,6 @@ mv otel-handler otel-handler-upstream
69
69
mv otel-stream-handler otel-stream-handler-upstream
70
70
mv otel-proxy-handler otel-proxy-handler-upstream
71
71
cp " $SOURCEDIR " /scripts/* .
72
- unzip -qo ${SOURCEDIR} /../opentelemetry-lambda/collector/build/collector-extension -$1 .zip
72
+ unzip -qo ${SOURCEDIR} /../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -$1 .zip
73
73
zip -qr opentelemetry-java-wrapper.zip *
74
74
popd || exit
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ resource "aws_lambda_layer_version" "sdk_layer" {
15
15
resource "aws_lambda_layer_version" "collector_layer" {
16
16
count = var. enable_collector_layer ? 1 : 0
17
17
layer_name = var. collector_layer_name
18
- filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip"
18
+ filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip"
19
19
compatible_runtimes = [" nodejs14.x" , " nodejs16.x" , " nodejs18.x" ]
20
20
license_info = " Apache-2.0"
21
- source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip" )
21
+ source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip" )
22
22
}
23
23
24
24
module "hello-lambda-function" {
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ resource "aws_lambda_layer_version" "sdk_layer" {
13
13
resource "aws_lambda_layer_version" "collector_layer" {
14
14
count = var. enable_collector_layer ? 1 : 0
15
15
layer_name = var. collector_layer_name
16
- filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip"
16
+ filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip"
17
17
compatible_runtimes = [" nodejs14.x" , " nodejs16.x" , " nodejs18.x" ]
18
18
license_info = " Apache-2.0"
19
- source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip" )
19
+ source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip" )
20
20
}
21
21
22
22
module "hello-lambda-function" {
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ resource "aws_lambda_layer_version" "sdk_layer" {
13
13
resource "aws_lambda_layer_version" "collector_layer" {
14
14
count = var. enable_collector_layer ? 1 : 0
15
15
layer_name = var. collector_layer_name
16
- filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip"
16
+ filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip"
17
17
compatible_runtimes = [" nodejs14.x" , " nodejs16.x" , " nodejs18.x" ]
18
18
license_info = " Apache-2.0"
19
- source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip" )
19
+ source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip" )
20
20
}
21
21
22
22
module "hello-lambda-function" {
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ resource "aws_lambda_layer_version" "sdk_layer" {
13
13
resource "aws_lambda_layer_version" "collector_layer" {
14
14
count = var. enable_collector_layer ? 1 : 0
15
15
layer_name = var. collector_layer_name
16
- filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip"
16
+ filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip"
17
17
compatible_runtimes = [" nodejs14.x" , " nodejs16.x" , " nodejs18.x" ]
18
18
license_info = " Apache-2.0"
19
- source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip" )
19
+ source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip" )
20
20
}
21
21
22
22
module "hello-lambda-function" {
Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ cp "$SOURCEDIR"/wrapper-adot/build/src/adot-extension.* ./packages/layer/build/w
29
29
30
30
cd ./packages/layer/build/workspace || exit
31
31
rm ../layer.zip
32
- unzip -qo ../../../../../collector/build/collector-extension -$1 .zip
32
+ unzip -qo ../../../../../collector/build/opentelemetry- collector-layer -$1 .zip
33
33
zip -qr ../layer.zip *
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ resource "aws_lambda_layer_version" "sdk_layer" {
13
13
resource "aws_lambda_layer_version" "collector_layer" {
14
14
count = var. enable_collector_layer ? 1 : 0
15
15
layer_name = var. collector_layer_name
16
- filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip"
16
+ filename = " ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip"
17
17
compatible_runtimes = [" nodejs14.x" , " nodejs16.x" , " nodejs18.x" ]
18
18
license_info = " Apache-2.0"
19
- source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/collector-extension -${ local . architecture } .zip" )
19
+ source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/collector/build/opentelemetry- collector-layer -${ local . architecture } .zip" )
20
20
}
21
21
22
22
module "hello-lambda-function" {
You can’t perform that action at this time.
0 commit comments