I have a microservice running on AWS Fargate, i.e. as a docker container, that starts slowing down after an hour, but memory usage stays constant. The only easy way to currently get data out from the machine is to either write it to Amazon S3 or stdout.
My question: Is there a package that could somehow sample profiling information that I could just print to stdout?