Using oink gem with heroku

后端 未结 7 2165
猫巷女王i
猫巷女王i 2020-12-28 18:01

I\'ve installed oink gem for monitoring the memory usage of my rails application. In order to see oink report I need to run this command in the terminal:

oin         


        
7条回答
  •  盖世英雄少女心
    2020-12-28 18:21

    If you are using a log archive downloaded from Papertrail, you can use this one-liner to format your output:

    cat log/production.log | cut -f 10- | grep 'rails\[' > log/production-oink.log
    

提交回复
热议问题