{"action":"created","comment":{"url":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/comments/63403451","id":63403451,"diff_hunk":"@@ -2,8 +2,38 @@\n \n monitoring_tmp_dir: \"{{ base_monitoring_dir }}/tmp\"\n telegraf_version: \"0.10.4.1-1\"\n-target_db: \"metrics_db\"\n+metrics_db: \"metrics_db\"\n+content_db: \"content_db\"\n+inbound_db: \"inbound_db\"\n+analytics_db: \"analytics_db\"\n+billing_db: \"billing_db\"\n+wonk_db: \"wonk_db\"\n+local_db: \"local_db\"\n debug_mode: \"false\"\n \n #8125 has the actual stasd endpoint (repeaters). This is the port where the repeaters send the data to for each influxdb.\n statsd_service_port: \"9125\"\n+\n+inbound_apps:\n+  - leeloo\n+  - seomoz\n+  - inbound\n+\n+content_apps:\n+  - kairos\n+\n+analytics_apps:\n+  - joe-fox\n+  - pdfit\n+  - tilex\n+\n+billing_apps:\n+  - longboard\n+\n+wonk_apps:\n+  - wonk\n+\n+local_apps:\n+  - mozlocal*\n+\n+db_apps_mapping: [{\"db_name\":\"local_db\", \"app_name\": [\"mozlocal*\"]}, {\"db_name\":\"inbound_db\", \"app_name\": [\"leeloo\", \"seomoz\", \"inbound\"]},{\"db_name\":\"analytics_db\", \"app_name\": [\"joe-fox\", \"tilex\", \"pdfit\"]}, {\"db_name\":\"billing_db\", \"app_name\": [\"longboard\"]}, {\"db_name\":\"wonk_db\", \"app_name\": [\"wonk\"]}, {\"db_name\":\"content_db\", \"app_name\": [\"kairos\"]}, {\"db_name\":\"metrics_db\", \"app_name\":[]}]","path":"ansible/roles/monitoring-statsd-fe-influxdb/vars/main.yml","position":39,"original_position":39,"commit_id":"1d0c8c68dcf580046ae82d9546553e1ecbd9580b","original_commit_id":"1d0c8c68dcf580046ae82d9546553e1ecbd9580b","user":{"login":"jordmoz","id":12503426,"avatar_url":"https://avatars.githubusercontent.com/u/12503426?v=3","gravatar_id":"","url":"https://api.github.com/users/jordmoz","html_url":"https://github.com/jordmoz","followers_url":"https://api.github.com/users/jordmoz/followers","following_url":"https://api.github.com/users/jordmoz/following{/other_user}","gists_url":"https://api.github.com/users/jordmoz/gists{/gist_id}","starred_url":"https://api.github.com/users/jordmoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordmoz/subscriptions","organizations_url":"https://api.github.com/users/jordmoz/orgs","repos_url":"https://api.github.com/users/jordmoz/repos","events_url":"https://api.github.com/users/jordmoz/events{/privacy}","received_events_url":"https://api.github.com/users/jordmoz/received_events","type":"User","site_admin":false},"body":"I would restructure this as YAML.","created_at":"2016-05-16T18:43:45Z","updated_at":"2016-05-16T18:43:45Z","html_url":"https://github.com/seomoz/roger-monitoring/pull/45#discussion_r63403451","pull_request_url":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/comments/63403451"},"html":{"href":"https://github.com/seomoz/roger-monitoring/pull/45#discussion_r63403451"},"pull_request":{"href":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/45","id":70045457,"html_url":"https://github.com/seomoz/roger-monitoring/pull/45","diff_url":"https://github.com/seomoz/roger-monitoring/pull/45.diff","patch_url":"https://github.com/seomoz/roger-monitoring/pull/45.patch","issue_url":"https://api.github.com/repos/seomoz/roger-monitoring/issues/45","number":45,"state":"open","locked":false,"title":"ROGER-988:Store statsd metrics on a DB per team","user":{"login":"04msambit","id":2840953,"avatar_url":"https://avatars.githubusercontent.com/u/2840953?v=3","gravatar_id":"","url":"https://api.github.com/users/04msambit","html_url":"https://github.com/04msambit","followers_url":"https://api.github.com/users/04msambit/followers","following_url":"https://api.github.com/users/04msambit/following{/other_user}","gists_url":"https://api.github.com/users/04msambit/gists{/gist_id}","starred_url":"https://api.github.com/users/04msambit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/04msambit/subscriptions","organizations_url":"https://api.github.com/users/04msambit/orgs","repos_url":"https://api.github.com/users/04msambit/repos","events_url":"https://api.github.com/users/04msambit/events{/privacy}","received_events_url":"https://api.github.com/users/04msambit/received_events","type":"User","site_admin":false},"body":"1 - Created 6 other databases to split data per team to go to specific team.\r\n2 - Added check based on which users , db , grants are created.\r\n\r\n**Test**\r\n\r\nTested by sending data fro various teams , and verifying the data ends up in correct db.\r\n\r\n@ankanm Please have a look","created_at":"2016-05-13T19:22:38Z","updated_at":"2016-05-16T18:43:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed4495a412780eb5b0832b2b4a6cb2a8d55e58db","assignee":{"login":"amitbose327","id":13841431,"avatar_url":"https://avatars.githubusercontent.com/u/13841431?v=3","gravatar_id":"","url":"https://api.github.com/users/amitbose327","html_url":"https://github.com/amitbose327","followers_url":"https://api.github.com/users/amitbose327/followers","following_url":"https://api.github.com/users/amitbose327/following{/other_user}","gists_url":"https://api.github.com/users/amitbose327/gists{/gist_id}","starred_url":"https://api.github.com/users/amitbose327/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitbose327/subscriptions","organizations_url":"https://api.github.com/users/amitbose327/orgs","repos_url":"https://api.github.com/users/amitbose327/repos","events_url":"https://api.github.com/users/amitbose327/events{/privacy}","received_events_url":"https://api.github.com/users/amitbose327/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/45/commits","review_comments_url":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/45/comments","review_comment_url":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seomoz/roger-monitoring/issues/45/comments","statuses_url":"https://api.github.com/repos/seomoz/roger-monitoring/statuses/1d0c8c68dcf580046ae82d9546553e1ecbd9580b","head":{"label":"seomoz:sambit/ROGER-988","ref":"sambit/ROGER-988","sha":"1d0c8c68dcf580046ae82d9546553e1ecbd9580b","user":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"repo":{"id":50947919,"name":"roger-monitoring","full_name":"seomoz/roger-monitoring","owner":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seomoz/roger-monitoring","description":"Monitoring stack for RogerOS","fork":false,"url":"https://api.github.com/repos/seomoz/roger-monitoring","forks_url":"https://api.github.com/repos/seomoz/roger-monitoring/forks","keys_url":"https://api.github.com/repos/seomoz/roger-monitoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seomoz/roger-monitoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seomoz/roger-monitoring/teams","hooks_url":"https://api.github.com/repos/seomoz/roger-monitoring/hooks","issue_events_url":"https://api.github.com/repos/seomoz/roger-monitoring/issues/events{/number}","events_url":"https://api.github.com/repos/seomoz/roger-monitoring/events","assignees_url":"https://api.github.com/repos/seomoz/roger-monitoring/assignees{/user}","branches_url":"https://api.github.com/repos/seomoz/roger-monitoring/branches{/branch}","tags_url":"https://api.github.com/repos/seomoz/roger-monitoring/tags","blobs_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seomoz/roger-monitoring/statuses/{sha}","languages_url":"https://api.github.com/repos/seomoz/roger-monitoring/languages","stargazers_url":"https://api.github.com/repos/seomoz/roger-monitoring/stargazers","contributors_url":"https://api.github.com/repos/seomoz/roger-monitoring/contributors","subscribers_url":"https://api.github.com/repos/seomoz/roger-monitoring/subscribers","subscription_url":"https://api.github.com/repos/seomoz/roger-monitoring/subscription","commits_url":"https://api.github.com/repos/seomoz/roger-monitoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/seomoz/roger-monitoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/seomoz/roger-monitoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/seomoz/roger-monitoring/contents/{+path}","compare_url":"https://api.github.com/repos/seomoz/roger-monitoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seomoz/roger-monitoring/merges","archive_url":"https://api.github.com/repos/seomoz/roger-monitoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seomoz/roger-monitoring/downloads","issues_url":"https://api.github.com/repos/seomoz/roger-monitoring/issues{/number}","pulls_url":"https://api.github.com/repos/seomoz/roger-monitoring/pulls{/number}","milestones_url":"https://api.github.com/repos/seomoz/roger-monitoring/milestones{/number}","notifications_url":"https://api.github.com/repos/seomoz/roger-monitoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seomoz/roger-monitoring/labels{/name}","releases_url":"https://api.github.com/repos/seomoz/roger-monitoring/releases{/id}","deployments_url":"https://api.github.com/repos/seomoz/roger-monitoring/deployments","created_at":"2016-02-02T20:00:05Z","updated_at":"2016-02-03T00:20:33Z","pushed_at":"2016-05-15T19:46:25Z","git_url":"git://github.com/seomoz/roger-monitoring.git","ssh_url":"git@github.com:seomoz/roger-monitoring.git","clone_url":"https://github.com/seomoz/roger-monitoring.git","svn_url":"https://github.com/seomoz/roger-monitoring","homepage":null,"size":89,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"seomoz:master","ref":"master","sha":"a783f1b18fc5f2ab7a61c3dc585911eb00643c1d","user":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"repo":{"id":50947919,"name":"roger-monitoring","full_name":"seomoz/roger-monitoring","owner":{"login":"seomoz","id":104895,"avatar_url":"https://avatars.githubusercontent.com/u/104895?v=3","gravatar_id":"","url":"https://api.github.com/users/seomoz","html_url":"https://github.com/seomoz","followers_url":"https://api.github.com/users/seomoz/followers","following_url":"https://api.github.com/users/seomoz/following{/other_user}","gists_url":"https://api.github.com/users/seomoz/gists{/gist_id}","starred_url":"https://api.github.com/users/seomoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seomoz/subscriptions","organizations_url":"https://api.github.com/users/seomoz/orgs","repos_url":"https://api.github.com/users/seomoz/repos","events_url":"https://api.github.com/users/seomoz/events{/privacy}","received_events_url":"https://api.github.com/users/seomoz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seomoz/roger-monitoring","description":"Monitoring stack for RogerOS","fork":false,"url":"https://api.github.com/repos/seomoz/roger-monitoring","forks_url":"https://api.github.com/repos/seomoz/roger-monitoring/forks","keys_url":"https://api.github.com/repos/seomoz/roger-monitoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seomoz/roger-monitoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seomoz/roger-monitoring/teams","hooks_url":"https://api.github.com/repos/seomoz/roger-monitoring/hooks","issue_events_url":"https://api.github.com/repos/seomoz/roger-monitoring/issues/events{/number}","events_url":"https://api.github.com/repos/seomoz/roger-monitoring/events","assignees_url":"https://api.github.com/repos/seomoz/roger-monitoring/assignees{/user}","branches_url":"https://api.github.com/repos/seomoz/roger-monitoring/branches{/branch}","tags_url":"https://api.github.com/repos/seomoz/roger-monitoring/tags","blobs_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seomoz/roger-monitoring/statuses/{sha}","languages_url":"https://api.github.com/repos/seomoz/roger-monitoring/languages","stargazers_url":"https://api.github.com/repos/seomoz/roger-monitoring/stargazers","contributors_url":"https://api.github.com/repos/seomoz/roger-monitoring/contributors","subscribers_url":"https://api.github.com/repos/seomoz/roger-monitoring/subscribers","subscription_url":"https://api.github.com/repos/seomoz/roger-monitoring/subscription","commits_url":"https://api.github.com/repos/seomoz/roger-monitoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/seomoz/roger-monitoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/seomoz/roger-monitoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/seomoz/roger-monitoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/seomoz/roger-monitoring/contents/{+path}","compare_url":"https://api.github.com/repos/seomoz/roger-monitoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seomoz/roger-monitoring/merges","archive_url":"https://api.github.com/repos/seomoz/roger-monitoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seomoz/roger-monitoring/downloads","issues_url":"https://api.github.com/repos/seomoz/roger-monitoring/issues{/number}","pulls_url":"https://api.github.com/repos/seomoz/roger-monitoring/pulls{/number}","milestones_url":"https://api.github.com/repos/seomoz/roger-monitoring/milestones{/number}","notifications_url":"https://api.github.com/repos/seomoz/roger-monitoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seomoz/roger-monitoring/labels{/name}","releases_url":"https://api.github.com/repos/seomoz/roger-monitoring/releases{/id}","deployments_url":"https://api.github.com/repos/seomoz/roger-monitoring/deployments","created_at":"2016-02-02T20:00:05Z","updated_at":"2016-02-03T00:20:33Z","pushed_at":"2016-05-15T19:46:25Z","git_url":"git://github.com/seomoz/roger-monitoring.git","ssh_url":"git@github.com:seomoz/roger-monitoring.git","clone_url":"https://github.com/seomoz/roger-monitoring.git","svn_url":"https://github.com/seomoz/roger-monitoring","homepage":null,"size":89,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/45"},"html":{"href":"https://github.com/seomoz/roger-monitoring/pull/45"},"issue":{"href":"https://api.github.com/repos/seomoz/roger-monitoring/issues/45"},"comments":{"href":"https://api.github.com/repos/seomoz/roger-monitoring/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seomoz/roger-monitoring/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/seomoz/roger-monitoring/statuses/1d0c8c68dcf580046ae82d9546553e1ecbd9580b"}}}}