File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
terraform/python/ec2/adot-sigv4
validator/src/main/resources/expected-data-template/python/ec2/adot-sigv4/logs Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,8 @@ resource "null_resource" "main_service_setup" {
166166 export OTEL_EXPORTER_OTLP_LOGS_PROTOCOL=http/protobuf \
167167 export OTEL_LOGS_EXPORTER=otlp \
168168 export OTEL_METRICS_EXPORTER=none \
169- export OTEL_TRACES_EXPORTER=otlp
169+ export OTEL_TRACES_EXPORTER=otlp \
170+ export OTEL_LOG_LEVEL=CRITICAL \
170171 export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=https://xray.${ var . aws_region } .amazonaws.com/v1/traces \
171172 export OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=https://logs.${ var . aws_region } .amazonaws.com/v1/logs \
172173 export OTEL_EXPORTER_OTLP_LOGS_HEADERS=x-aws-log-group=otlp_sigv4_logs,x-aws-log-stream=default \
@@ -291,7 +292,8 @@ resource "null_resource" "remote_service_setup" {
291292 export OTEL_EXPORTER_OTLP_LOGS_PROTOCOL=http/protobuf \
292293 export OTEL_LOGS_EXPORTER=otlp \
293294 export OTEL_METRICS_EXPORTER=none \
294- export OTEL_TRACES_EXPORTER=otlp
295+ export OTEL_TRACES_EXPORTER=otlp \
296+ export OTEL_LOG_LEVEL=CRITICAL \
295297 export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=https://xray.${ var . aws_region } .amazonaws.com/v1/traces \
296298 export OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=https://logs.${ var . aws_region } .amazonaws.com/v1/logs \
297299 export OTEL_EXPORTER_OTLP_LOGS_HEADERS=x-aws-log-group=otlp_sigv4_logs,x-aws-log-stream=default \
Original file line number Diff line number Diff line change 1111 },
1212 "severityNumber": "^[0-9]+$",
1313 "severityText": "{ {severityText} }",
14- "body": { {& body} },
14+ "body": " { { body} }" ,
1515 "traceId": "{ {traceId} }",
1616 "spanId": "{ {spanId} }",
1717 "attributes": {
You can’t perform that action at this time.
0 commit comments