File tree 3 files changed +9
-2
lines changed
java/sample-apps/aws-sdk/deploy/agent
nodejs/sample-apps/aws-sdk/deploy/wrapper
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ receivers:
52
52
http:
53
53
54
54
exporters:
55
- logging :
55
+ debug :
56
56
awsxray:
57
57
prometheusremotewrite:
58
58
endpoint: "${ aws_prometheus_workspace . test_amp_workspace [0 ]. prometheus_endpoint } api/v1/remote_write"
@@ -68,7 +68,7 @@ service:
68
68
exporters: [awsxray]
69
69
metrics:
70
70
receivers: [otlp]
71
- exporters: [logging , prometheusremotewrite]
71
+ exporters: [debug , prometheusremotewrite]
72
72
EOT
73
73
filename = " config.yaml"
74
74
}
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ module "app" {
14
14
collector_layer_arn = null
15
15
sdk_layer_arn = local. architecture_to_arns_mapping [var . architecture ][data . aws_region . current . name ]
16
16
tracing_mode = " Active"
17
+ runtime = var. runtime
17
18
architecture = var. architecture
18
19
}
19
20
Original file line number Diff line number Diff line change @@ -9,3 +9,9 @@ variable "architecture" {
9
9
description = " Lambda function architecture, either arm64 or x86_64"
10
10
default = " x86_64"
11
11
}
12
+
13
+ variable "runtime" {
14
+ type = string
15
+ description = " NodeJS runtime version used for sample Lambda Function"
16
+ default = " nodejs18.x"
17
+ }
You can’t perform that action at this time.
0 commit comments