3 ms·
I run a fairly high scale pipeline on lambda. The post touched briefly on logging but wanted to chime in with a few helpful points: - Format all logs in json.
by stlava 10y ago
I run a fairly high scale pipeline on lambda. The post touched briefly on logging but wanted to chime in with a few helpful points:
- Format all logs in json. This allows you to use the json path filtering option on CW.
- Add function version & tag to the log lines. CW doesn't allow you to filter based on version.
- Don't expect CW log querying to work all the time.
- Output runtime stats to CW metrics.
edit: formatting