Skip to content

Commit 99f91d8

Browse files
committed
test
1 parent 6fd9ff2 commit 99f91d8

File tree

1 file changed

+4
-4
lines changed
  • terraform/node/ec2/adot-genai

1 file changed

+4
-4
lines changed

terraform/node/ec2/adot-genai/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ export AGENT_OBSERVABILITY_ENABLED="true"
9393
cd /app/genai-service
9494
nohup node --require '@aws/aws-distro-opentelemetry-node-autoinstrumentation/register' --require ./customInstrumentation.js index.js > /var/log/langchain-service.log 2>&1 &
9595
96-
# Upload cloud-init logs to S3
97-
aws s3 cp /var/log/cloud-init.log s3://adot-genai-js-test/cloud-init-logs/${var.test_id}/cloud-init.log
98-
aws s3 cp /var/log/cloud-init-output.log s3://adot-genai-js-test/cloud-init-logs/${var.test_id}/cloud-init-output.log
99-
10096
# Wait for service to be ready
10197
echo "Waiting for service to be ready..."
10298
for i in {1..60}; do
@@ -125,6 +121,10 @@ done
125121
echo "Traffic generator completed"
126122
' > /var/log/traffic-generator.log 2>&1 &
127123
124+
# Upload cloud-init logs to S3
125+
aws s3 cp /var/log/cloud-init.log s3://adot-genai-js-test/cloud-init-logs/${var.test_id}/cloud-init.log
126+
aws s3 cp /var/log/cloud-init-output.log s3://adot-genai-js-test/cloud-init-logs/${var.test_id}/cloud-init-output.log
127+
128128
EOF
129129
)
130130

0 commit comments

Comments
 (0)