File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
java/sample-apps/aws-sdk/deploy/agent
nodejs/sample-apps/aws-sdk/deploy/wrapper Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ receivers:
5252 http:
5353
5454exporters:
55- logging :
55+ debug :
5656 awsxray:
5757 prometheusremotewrite:
5858 endpoint: "${ aws_prometheus_workspace . test_amp_workspace [0 ]. prometheus_endpoint } api/v1/remote_write"
@@ -68,7 +68,7 @@ service:
6868 exporters: [awsxray]
6969 metrics:
7070 receivers: [otlp]
71- exporters: [logging , prometheusremotewrite]
71+ exporters: [debug , prometheusremotewrite]
7272EOT
7373 filename = " config.yaml"
7474 }
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ module "app" {
1414 collector_layer_arn = null
1515 sdk_layer_arn = local. architecture_to_arns_mapping [var . architecture ][data . aws_region . current . name ]
1616 tracing_mode = " Active"
17+ runtime = var. runtime
1718 architecture = var. architecture
1819}
1920
Original file line number Diff line number Diff line change @@ -9,3 +9,9 @@ variable "architecture" {
99 description = " Lambda function architecture, either arm64 or x86_64"
1010 default = " x86_64"
1111}
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