mozilla-services / autograph-canary

An AWS lambda for checking Autograph signing is working correctly
0 stars 1 forks source link

log tmp disk usage #61

Closed g-k closed 3 years ago

g-k commented 3 years ago

debug source of 'OSError: [Errno 28] No space left on device'

lambda has a 512 MB ephemeral disk limit https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html

lambda metrics insights provides tmp_used from embedded metric format structured logs but it's unclear that it works in a containerized lambda and the emf library looks unmaintained

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-metrics.html