{"action":"created","issue":{"url":"https://api.github.com/repos/wpeterson/heroku-vector/issues/5","labels_url":"https://api.github.com/repos/wpeterson/heroku-vector/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/wpeterson/heroku-vector/issues/5/comments","events_url":"https://api.github.com/repos/wpeterson/heroku-vector/issues/5/events","html_url":"https://github.com/wpeterson/heroku-vector/issues/5","id":93023151,"number":5,"title":"DynoScaler not printing logs...","user":{"login":"taylorbrooks","id":117657,"avatar_url":"https://avatars.githubusercontent.com/u/117657?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorbrooks","html_url":"https://github.com/taylorbrooks","followers_url":"https://api.github.com/users/taylorbrooks/followers","following_url":"https://api.github.com/users/taylorbrooks/following{/other_user}","gists_url":"https://api.github.com/users/taylorbrooks/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorbrooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorbrooks/subscriptions","organizations_url":"https://api.github.com/users/taylorbrooks/orgs","repos_url":"https://api.github.com/users/taylorbrooks/repos","events_url":"https://api.github.com/users/taylorbrooks/events{/privacy}","received_events_url":"https://api.github.com/users/taylorbrooks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-04T15:43:28Z","updated_at":"2015-07-04T21:29:29Z","closed_at":"2015-07-04T19:57:11Z","body":"I'm not seeing any output when I tail the log for the vector process. If I use the Sidekiq source and set the period to 5 seconds, I would expect to see log output (using debug level) every 5 seconds. \r\n\r\nAssuming this `evaluate_and_scale` method is being called: https://github.com/wpeterson/heroku-vector/blob/master/lib/heroku_vector/dyno_scaler.rb#L67\r\n\r\nMy guess is 2 things:\r\n1) EventMachine is not running or the periodic timer is not running. https://github.com/wpeterson/heroku-vector/blob/master/lib/heroku_vector/worker.rb#L35\r\n2) EM is running but, the logs aren't being output correctly...\r\n\r\nI'm thinking it's 1, because I queued up 10k jobs in Sidekiq and the worker dynos didn't scale up.\r\n\r\nInvestigating further..."},"comment":{"url":"https://api.github.com/repos/wpeterson/heroku-vector/issues/comments/118556421","html_url":"https://github.com/wpeterson/heroku-vector/issues/5#issuecomment-118556421","issue_url":"https://api.github.com/repos/wpeterson/heroku-vector/issues/5","id":118556421,"user":{"login":"wpeterson","id":178135,"avatar_url":"https://avatars.githubusercontent.com/u/178135?v=3","gravatar_id":"","url":"https://api.github.com/users/wpeterson","html_url":"https://github.com/wpeterson","followers_url":"https://api.github.com/users/wpeterson/followers","following_url":"https://api.github.com/users/wpeterson/following{/other_user}","gists_url":"https://api.github.com/users/wpeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/wpeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpeterson/subscriptions","organizations_url":"https://api.github.com/users/wpeterson/orgs","repos_url":"https://api.github.com/users/wpeterson/repos","events_url":"https://api.github.com/users/wpeterson/events{/privacy}","received_events_url":"https://api.github.com/users/wpeterson/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T21:29:29Z","updated_at":"2015-07-04T21:29:29Z","body":"Taylor - congrats, I'm glad to hear you got it working.  If you have suggestions about how to make the documentation or configuration easier, I'd love to hear it.\r\n\r\nYes, with scale_up_by => 3 and you got a big spike of traffic:\r\nMinute 0: 1 dyno\r\n# Traffic goes up\r\nMinute 1: 4 dynos (+3)\r\n# Traffic comes back down\r\nMinute 6: 3 dynos (-1)\r\nMinute 11: 2 dynos (-1)\r\nMinute 16: 1 dyno (-1)\r\n\r\nYou can control the velocity of scaling up and scaling down to meet your needs.\r\n"}}