File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
nodejs/sample-apps/aws-sdk Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ If you'd prefer to deploy manually:
41415 . ** Set the following environment variables**
4242```
4343 OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318/
44- OTEL_TRACES_EXPORTER=logging
44+ OTEL_TRACES_EXPORTER=console
4545 OTEL_METRICS_EXPORTER=logging
4646 OTEL_LOG_LEVEL=INFO
4747 OTEL_TRACES_SAMPLER=always_on
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class OtelSampleLambdaStack extends cdk.Stack {
2626 memorySize : 256 ,
2727 environment : {
2828 OTEL_EXPORTER_OTLP_ENDPOINT : 'http://localhost:4318/' ,
29- OTEL_TRACES_EXPORTER : 'logging ' ,
29+ OTEL_TRACES_EXPORTER : 'console ' ,
3030 OTEL_METRICS_EXPORTER : 'logging' ,
3131 OTEL_LOG_LEVEL : 'INFO' ,
3232 OTEL_TRACES_SAMPLER : 'always_on' ,
You can’t perform that action at this time.
0 commit comments