4 ms·
I've recently spent a few days adding proper instrumentation to a .NET Core side project using CloudWatch Logs. I don't know anything about the Go ecosystem, b
by james_s_tayler 7y ago
I've recently spent a few days adding proper instrumentation to a .NET Core side project using CloudWatch Logs.
I don't know anything about the Go ecosystem, but if there is a nice solution for structured logging then CloudWatch Logs is very easy to implement, very cheap, can easily make decent dashboards with it and if needed in the future you can forward the logs onto Elastic Search.
I'm using a library called Serilog in my project to log everything in a consistent structured log that gets all kinds of metadata automatically appended to it and the json payload winds up in CloudWatch Logs. Then I've got a couple of Custom metrics to measure throughput as well as some log filter metrics to track latency of the service and it's downstream dependencies.
It works very well and was surprisingly quick to put together. I believe cost wise my usage level is covered pretty much for free. Can't complain!