Check Heroku Inbound and Outbound Traffic

Is there a way to check how many gigabytes of traffic spent on a heroku app?

+5
source share
1 answer

You can write a log parser to calculate the bandwidth used. Here is an example router log message

2013-03-27T04:02:21+00:00 heroku[router]: at=info method=GET path=/ 
host=somehost.herokuapp.com fwd="1.1.1.1" dyno=web.1 connect=1ms 
service=35ms status=200 bytes=49

analyze the section for each line of the router "bytes="and add bytes.

+3
source

All Articles