{"action":"created","issue":{"url":"https://api.github.com/repos/sul-dlss/argo/issues/641","repository_url":"https://api.github.com/repos/sul-dlss/argo","labels_url":"https://api.github.com/repos/sul-dlss/argo/issues/641/labels{/name}","comments_url":"https://api.github.com/repos/sul-dlss/argo/issues/641/comments","events_url":"https://api.github.com/repos/sul-dlss/argo/issues/641/events","html_url":"https://github.com/sul-dlss/argo/pull/641","id":138066200,"number":641,"title":"[WIP] eye for delayed_job monitoring","user":{"login":"jmartin-sul","id":7741604,"avatar_url":"https://avatars.githubusercontent.com/u/7741604?v=3","gravatar_id":"","url":"https://api.github.com/users/jmartin-sul","html_url":"https://github.com/jmartin-sul","followers_url":"https://api.github.com/users/jmartin-sul/followers","following_url":"https://api.github.com/users/jmartin-sul/following{/other_user}","gists_url":"https://api.github.com/users/jmartin-sul/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartin-sul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartin-sul/subscriptions","organizations_url":"https://api.github.com/users/jmartin-sul/orgs","repos_url":"https://api.github.com/users/jmartin-sul/repos","events_url":"https://api.github.com/users/jmartin-sul/events{/privacy}","received_events_url":"https://api.github.com/users/jmartin-sul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sul-dlss/argo/labels/in%20progress","name":"in progress","color":"fbca04"},{"url":"https://api.github.com/repos/sul-dlss/argo/labels/should%20have","name":"should have","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"jmartin-sul","id":7741604,"avatar_url":"https://avatars.githubusercontent.com/u/7741604?v=3","gravatar_id":"","url":"https://api.github.com/users/jmartin-sul","html_url":"https://github.com/jmartin-sul","followers_url":"https://api.github.com/users/jmartin-sul/followers","following_url":"https://api.github.com/users/jmartin-sul/following{/other_user}","gists_url":"https://api.github.com/users/jmartin-sul/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartin-sul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartin-sul/subscriptions","organizations_url":"https://api.github.com/users/jmartin-sul/orgs","repos_url":"https://api.github.com/users/jmartin-sul/repos","events_url":"https://api.github.com/users/jmartin-sul/events{/privacy}","received_events_url":"https://api.github.com/users/jmartin-sul/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-03T03:39:57Z","updated_at":"2016-04-01T00:57:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sul-dlss/argo/pulls/641","html_url":"https://github.com/sul-dlss/argo/pull/641","diff_url":"https://github.com/sul-dlss/argo/pull/641.diff","patch_url":"https://github.com/sul-dlss/argo/pull/641.patch"},"body":"add the eye gem to monitor delayed_job workers for excessive memory consumption\r\n* install the eye gem\r\n* copy the eye command line control script to bin/, since it might not be installed system-wide\r\n* add a basic eye configuration for monitoring delayed_job workers on prod:\r\n * set up logging\r\n * hard-code expected worker count\r\n * define start, stop, and restart commands\r\n * set a max memory consumption of 1.5 GB, check current values every 2 minutes, restart workers that fail the check twice\r\n\r\nthings that need improvement:\r\n* eye config duplicates configuration, since worker count is defined elsewhere already in argo\r\n* doesn't auto-start eye on deployment (must be manually managed by a user)"},"comment":{"url":"https://api.github.com/repos/sul-dlss/argo/issues/comments/204194687","html_url":"https://github.com/sul-dlss/argo/pull/641#issuecomment-204194687","issue_url":"https://api.github.com/repos/sul-dlss/argo/issues/641","id":204194687,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T00:57:08Z","updated_at":"2016-04-01T00:57:08Z","body":"\n[![Coverage Status](https://coveralls.io/builds/5623284/badge)](https://coveralls.io/builds/5623284)\n\nCoverage remained the same at 83.666% when pulling **377c612e6b94e05228683ea9961e38d6882d866e on eye-job-ctrl** into **2064184119da2dc61587c69b9b1e056cb5178c5b on master**.\n"}}