Skip to content

Commit a9928f3

Browse files
authored
Sample spans always in Nodejs sample app (open-telemetry#1498)
1 parent 1634f8d commit a9928f3

File tree

1 file changed

+1
-0
lines changed
  • nodejs/sample-apps/aws-sdk/deploy/wrapper

1 file changed

+1
-0
lines changed

nodejs/sample-apps/aws-sdk/deploy/wrapper/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module "hello-lambda-function" {
2424
OTEL_METRICS_EXPORTER = "logging"
2525
OTEL_LOG_LEVEL = "DEBUG"
2626
OTEL_EXPORTER_OTLP_ENDPOINT = "http://localhost:4318/"
27+
OTEL_TRACES_SAMPLER = "always_on"
2728
}
2829

2930
tracing_mode = var.tracing_mode

0 commit comments

Comments
 (0)