3 ms·
Regarding the tooling: I hated debugging Lambdas via CloudWatch logs when using them for Hustle, it drove me to drink. I eventually got upset enough that I mad
by tbrock 8y ago
Regarding the tooling: I hated debugging Lambdas via CloudWatch logs when using them for Hustle, it drove me to drink.
I eventually got upset enough that I made a tool to stream the cloudwatch logs to the terminal and colorize, indent + nicely format json output:
https://github.com/TylerBrock/saw https://github.com/TylerBrock/saw
- mbu 8y agoThat looks like a nice tool! Will check it out. Have you tried anything like iopipe for helping debug lambdas?
- tbrock 8y agoNo I haven’t tried it. I’ll give it a look.
- kolanos 8y agoFor anyone interested in giving IOpipe a try, it supports Node.js [0], Python [1], Java [2] and Go [3]. [0]: https://github.com/iopipe/iopipe-js/ https://github.com/iopipe/iopipe-js/ [1]: https://github.com/iopipe/iopipe-python/ https://github.com/iopipe/iopipe-python/ [2]: https://github.com/iopipe/iopipe-java/ https://github.com/iopipe/iopipe-java/ [3]: https://github.com/iopipe/iopipe-go/ https://github.com/iopipe/iopipe-go/ Disclosure: Work on the Python and Go agents.
- jonathan-kosgei 8y agoThere's also https://github.com/rpgreen/apilogs https://github.com/rpgreen/apilogs but I haven't yet gotten it to work. Cloudwatch feels like it was not made for humans. Searching and filtering for specific log events is a huge pain. I think one of the best things one could do is to pipe your Cloudwatch logs to an ElasticSearch cluster.
- tbrock 8y agoAnything where you have to install python is kind of a drag. Same thing with awslogs, etc... Saw installs as a single binary, is performant, and has better looking output than all of them.