2012-08-26 5 views

답변

3

로그 파서를 작성하여 사용 된 대역폭을 계산할 수 있습니다. 여기 "bytes=" 부 각각 라우터 광고를위한 라우터 로그 메시지

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 

해석의 예는 상기 바이트를 추가한다.

+0

고마워요! Heroku 로그가 포함 된 PaperTrailApp 파일에서 사용하는 간단한 스크립트를 작성했습니다. https://github.com/jsarenik/heroku-traffic –

관련 문제