{"action":"created","comment":{"url":"https://api.github.com/repos/18F/cg-docs/pulls/comments/42882811","id":42882811,"diff_hunk":"@@ -0,0 +1,31 @@\n+---\n+menu:\n+  main:\n+    parent: ops\n+title: Metrics\n+weight: 10\n+---\n+\n+# Requesting an account on Metrics\n+1. Please [create a ticket](https://github.com/18f/devops/issues/new) with the title including `[Metrics Acct Req]`\n+1. Please indicate if you need an `admin` account or `regular` account.\n+\n+# Updating the Metrics containers.\n+1. SSH into jumpbox\n+1. Go into the metrics folder `cd ~/workspace/deployments/monitoring-services/cf-metrics-18f`\n+1. Pull all the recent changes for that project `git pull`\n+1. Run `eval \"$(docker-machine env cfmetrics-chili)\"`\n+1. Run `docker-compose build && docker-compose up -d`\n+1. Verify none of the components went down by running `docker-compose ps`\n+\n+### Warning: Any commits that update the version of Grafana will wipe out dashboards and users for now. The following actions should be taken in case.\n+\n+# Pointing Grafana to new Datasource or Updating Datasoruce (Grafana admins)\n+1. Currently, the dashboards are looking for the `Name` to be `cf_prd`, `cf_np`, `bosh_prd`, or `bosh_np`. So if you are updating one of those, please ensure the name fits exactly.\n+1. Set the `Type` to `InfluxDB 0.9.x`\n+1. Given the AWS Internal IP of the Docker Host (Please refer to the AWS EC2 Console), Set the `Url` to `http://<internal-ip>:8086`\n+1. Set the `Database`, `User`, and `Password` as appropriate.","path":"content/ops/metrics.md","position":27,"original_position":27,"commit_id":"fe2f066c4c7a401c6a88323a052189c423df302f","original_commit_id":"fe2f066c4c7a401c6a88323a052189c423df302f","user":{"login":"jessieay","id":601515,"avatar_url":"https://avatars.githubusercontent.com/u/601515?v=3","gravatar_id":"","url":"https://api.github.com/users/jessieay","html_url":"https://github.com/jessieay","followers_url":"https://api.github.com/users/jessieay/followers","following_url":"https://api.github.com/users/jessieay/following{/other_user}","gists_url":"https://api.github.com/users/jessieay/gists{/gist_id}","starred_url":"https://api.github.com/users/jessieay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessieay/subscriptions","organizations_url":"https://api.github.com/users/jessieay/orgs","repos_url":"https://api.github.com/users/jessieay/repos","events_url":"https://api.github.com/users/jessieay/events{/privacy}","received_events_url":"https://api.github.com/users/jessieay/received_events","type":"User","site_admin":false},"body":"instructions or link on how to do this? (probably obvious to some, but not to me)","created_at":"2015-10-23T16:06:15Z","updated_at":"2015-10-23T16:06:15Z","html_url":"https://github.com/18F/cg-docs/pull/123#discussion_r42882811","pull_request_url":"https://api.github.com/repos/18F/cg-docs/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/18F/cg-docs/pulls/comments/42882811"},"html":{"href":"https://github.com/18F/cg-docs/pull/123#discussion_r42882811"},"pull_request":{"href":"https://api.github.com/repos/18F/cg-docs/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/18F/cg-docs/pulls/123","id":48588559,"html_url":"https://github.com/18F/cg-docs/pull/123","diff_url":"https://github.com/18F/cg-docs/pull/123.diff","patch_url":"https://github.com/18F/cg-docs/pull/123.patch","issue_url":"https://api.github.com/repos/18F/cg-docs/issues/123","number":123,"state":"open","locked":false,"title":"Add Documentation for metrics","user":{"login":"jcscottiii","id":7788930,"avatar_url":"https://avatars.githubusercontent.com/u/7788930?v=3","gravatar_id":"","url":"https://api.github.com/users/jcscottiii","html_url":"https://github.com/jcscottiii","followers_url":"https://api.github.com/users/jcscottiii/followers","following_url":"https://api.github.com/users/jcscottiii/following{/other_user}","gists_url":"https://api.github.com/users/jcscottiii/gists{/gist_id}","starred_url":"https://api.github.com/users/jcscottiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcscottiii/subscriptions","organizations_url":"https://api.github.com/users/jcscottiii/orgs","repos_url":"https://api.github.com/users/jcscottiii/repos","events_url":"https://api.github.com/users/jcscottiii/events{/privacy}","received_events_url":"https://api.github.com/users/jcscottiii/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-23T14:44:52Z","updated_at":"2015-10-23T16:06:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53974348182f58d6b8b4f7010c4c93ca80044fa3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/cg-docs/pulls/123/commits","review_comments_url":"https://api.github.com/repos/18F/cg-docs/pulls/123/comments","review_comment_url":"https://api.github.com/repos/18F/cg-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/cg-docs/issues/123/comments","statuses_url":"https://api.github.com/repos/18F/cg-docs/statuses/fe2f066c4c7a401c6a88323a052189c423df302f","head":{"label":"18F:metrics-doc","ref":"metrics-doc","sha":"fe2f066c4c7a401c6a88323a052189c423df302f","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":29991068,"name":"cg-docs","full_name":"18F/cg-docs","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/cg-docs","description":"Documentation site for cloud.gov Cloud Foundry","fork":false,"url":"https://api.github.com/repos/18F/cg-docs","forks_url":"https://api.github.com/repos/18F/cg-docs/forks","keys_url":"https://api.github.com/repos/18F/cg-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/cg-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/cg-docs/teams","hooks_url":"https://api.github.com/repos/18F/cg-docs/hooks","issue_events_url":"https://api.github.com/repos/18F/cg-docs/issues/events{/number}","events_url":"https://api.github.com/repos/18F/cg-docs/events","assignees_url":"https://api.github.com/repos/18F/cg-docs/assignees{/user}","branches_url":"https://api.github.com/repos/18F/cg-docs/branches{/branch}","tags_url":"https://api.github.com/repos/18F/cg-docs/tags","blobs_url":"https://api.github.com/repos/18F/cg-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/cg-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/cg-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/cg-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/cg-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/cg-docs/languages","stargazers_url":"https://api.github.com/repos/18F/cg-docs/stargazers","contributors_url":"https://api.github.com/repos/18F/cg-docs/contributors","subscribers_url":"https://api.github.com/repos/18F/cg-docs/subscribers","subscription_url":"https://api.github.com/repos/18F/cg-docs/subscription","commits_url":"https://api.github.com/repos/18F/cg-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/cg-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/cg-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/cg-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/cg-docs/contents/{+path}","compare_url":"https://api.github.com/repos/18F/cg-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/cg-docs/merges","archive_url":"https://api.github.com/repos/18F/cg-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/cg-docs/downloads","issues_url":"https://api.github.com/repos/18F/cg-docs/issues{/number}","pulls_url":"https://api.github.com/repos/18F/cg-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/cg-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/cg-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/cg-docs/labels{/name}","releases_url":"https://api.github.com/repos/18F/cg-docs/releases{/id}","created_at":"2015-01-28T22:15:24Z","updated_at":"2015-10-13T20:44:10Z","pushed_at":"2015-10-23T14:44:52Z","git_url":"git://github.com/18F/cg-docs.git","ssh_url":"git@github.com:18F/cg-docs.git","clone_url":"https://github.com/18F/cg-docs.git","svn_url":"https://github.com/18F/cg-docs","homepage":"https://docs.cloud.gov","size":16978,"stargazers_count":8,"watchers_count":8,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":16,"forks":11,"open_issues":16,"watchers":8,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"95f63a1f1bd363b580d42f0655d171beeb003a5e","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":29991068,"name":"cg-docs","full_name":"18F/cg-docs","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/cg-docs","description":"Documentation site for cloud.gov Cloud Foundry","fork":false,"url":"https://api.github.com/repos/18F/cg-docs","forks_url":"https://api.github.com/repos/18F/cg-docs/forks","keys_url":"https://api.github.com/repos/18F/cg-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/cg-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/cg-docs/teams","hooks_url":"https://api.github.com/repos/18F/cg-docs/hooks","issue_events_url":"https://api.github.com/repos/18F/cg-docs/issues/events{/number}","events_url":"https://api.github.com/repos/18F/cg-docs/events","assignees_url":"https://api.github.com/repos/18F/cg-docs/assignees{/user}","branches_url":"https://api.github.com/repos/18F/cg-docs/branches{/branch}","tags_url":"https://api.github.com/repos/18F/cg-docs/tags","blobs_url":"https://api.github.com/repos/18F/cg-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/cg-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/cg-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/cg-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/cg-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/cg-docs/languages","stargazers_url":"https://api.github.com/repos/18F/cg-docs/stargazers","contributors_url":"https://api.github.com/repos/18F/cg-docs/contributors","subscribers_url":"https://api.github.com/repos/18F/cg-docs/subscribers","subscription_url":"https://api.github.com/repos/18F/cg-docs/subscription","commits_url":"https://api.github.com/repos/18F/cg-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/cg-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/cg-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/cg-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/cg-docs/contents/{+path}","compare_url":"https://api.github.com/repos/18F/cg-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/cg-docs/merges","archive_url":"https://api.github.com/repos/18F/cg-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/cg-docs/downloads","issues_url":"https://api.github.com/repos/18F/cg-docs/issues{/number}","pulls_url":"https://api.github.com/repos/18F/cg-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/cg-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/cg-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/cg-docs/labels{/name}","releases_url":"https://api.github.com/repos/18F/cg-docs/releases{/id}","created_at":"2015-01-28T22:15:24Z","updated_at":"2015-10-13T20:44:10Z","pushed_at":"2015-10-23T14:44:52Z","git_url":"git://github.com/18F/cg-docs.git","ssh_url":"git@github.com:18F/cg-docs.git","clone_url":"https://github.com/18F/cg-docs.git","svn_url":"https://github.com/18F/cg-docs","homepage":"https://docs.cloud.gov","size":16978,"stargazers_count":8,"watchers_count":8,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":16,"forks":11,"open_issues":16,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/cg-docs/pulls/123"},"html":{"href":"https://github.com/18F/cg-docs/pull/123"},"issue":{"href":"https://api.github.com/repos/18F/cg-docs/issues/123"},"comments":{"href":"https://api.github.com/repos/18F/cg-docs/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/cg-docs/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/cg-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/cg-docs/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/18F/cg-docs/statuses/fe2f066c4c7a401c6a88323a052189c423df302f"}}}}