Using oink gem with heroku

后端 未结 7 2173
猫巷女王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:20

    Got it working with hiattp's answer, but needed to add --text to the grep.

    cat log/production.log | cut -c 46- | grep 'rails\[' > log/production-oink.log
    

提交回复
热议问题