Skip to content

Commit

Permalink
chore(prod): enable worker logs (#145)
Browse files Browse the repository at this point in the history
### Context
- Egress event was not sent to the SQS Queue in AWS, and there is no
easy way to find the error with the Live Stream of requests in the
Worker due to the volume of requests we receive.
- To help troubleshoot the issue this PR enables the worker logs with 1%
sampling.
  • Loading branch information
fforbeck authored Jan 14, 2025
1 parent 7608649 commit f581d4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ CARPARK_PUBLIC_BUCKET_URL = "https://carpark-prod-0.r2.w3s.link"
UPLOAD_API_URL = "https://up.web3.storage"
INDEXING_SERVICE_URL = "https://indexer.storacha.network/"

[env.production.observability]
enabled = true
head_sampling_rate = 0.01

# Staging!
[env.staging]
account_id = "fffa4b4363a7e5250af8357087263b3a"
Expand Down

0 comments on commit f581d4a

Please sign in to comment.