{"action":"created","issue":{"url":"https://api.github.com/repos/rcbops/rpc-maas/issues/206","labels_url":"https://api.github.com/repos/rcbops/rpc-maas/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/rcbops/rpc-maas/issues/206/comments","events_url":"https://api.github.com/repos/rcbops/rpc-maas/issues/206/events","html_url":"https://github.com/rcbops/rpc-maas/pull/206","id":78125884,"number":206,"title":"Create rabbitmq_max_channels_per_connection metric","user":{"login":"mattt416","id":16207,"avatar_url":"https://avatars.githubusercontent.com/u/16207?v=3","gravatar_id":"","url":"https://api.github.com/users/mattt416","html_url":"https://github.com/mattt416","followers_url":"https://api.github.com/users/mattt416/followers","following_url":"https://api.github.com/users/mattt416/following{/other_user}","gists_url":"https://api.github.com/users/mattt416/gists{/gist_id}","starred_url":"https://api.github.com/users/mattt416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattt416/subscriptions","organizations_url":"https://api.github.com/users/mattt416/orgs","repos_url":"https://api.github.com/users/mattt416/repos","events_url":"https://api.github.com/users/mattt416/events{/privacy}","received_events_url":"https://api.github.com/users/mattt416/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rcbops/rpc-maas/labels/status-in-progress","name":"status-in-progress","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-19T15:06:12Z","updated_at":"2015-05-20T15:50:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rcbops/rpc-maas/pulls/206","html_url":"https://github.com/rcbops/rpc-maas/pull/206","diff_url":"https://github.com/rcbops/rpc-maas/pull/206.diff","patch_url":"https://github.com/rcbops/rpc-maas/pull/206.patch"},"body":"Currently, we alarm if connection['channels'] > 1.  This change creates\r\na new metric called rabbitmq_max_channels_per_connection which we can\r\nalarm against using a MaaS alarm.  Additionally, this change updates\r\nCONNECTIONS_URL so we only return the data from /api/connections that\r\nwe need (channels).\r\n\r\nTODO: We will need to create an alarm on rpc-extras which ideally\r\n      alarms if rabbitmq_max_channels_per_connection > 10.  Running a\r\n      dev cluster periodically sees\r\n      rabbitmq_max_channels_per_connection > 1 and 10 is an\r\n      'arbitrary but likely reasonable limit' which we can use to\r\n      prevent channel ballooning.\r\n\r\nCloses issue #188"},"comment":{"url":"https://api.github.com/repos/rcbops/rpc-maas/issues/comments/103934797","html_url":"https://github.com/rcbops/rpc-maas/pull/206#issuecomment-103934797","issue_url":"https://api.github.com/repos/rcbops/rpc-maas/issues/206","id":103934797,"user":{"login":"Apsu","id":1023042,"avatar_url":"https://avatars.githubusercontent.com/u/1023042?v=3","gravatar_id":"","url":"https://api.github.com/users/Apsu","html_url":"https://github.com/Apsu","followers_url":"https://api.github.com/users/Apsu/followers","following_url":"https://api.github.com/users/Apsu/following{/other_user}","gists_url":"https://api.github.com/users/Apsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Apsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apsu/subscriptions","organizations_url":"https://api.github.com/users/Apsu/orgs","repos_url":"https://api.github.com/users/Apsu/repos","events_url":"https://api.github.com/users/Apsu/events{/privacy}","received_events_url":"https://api.github.com/users/Apsu/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T15:50:25Z","updated_at":"2015-05-20T15:50:25Z","body":"@mattt416 LGTM"}}