{"action":"created","comment":{"url":"https://api.github.com/repos/caskdata/cdap/pulls/comments/89416116","pull_request_review_id":9960976,"id":89416116,"diff_hunk":"@@ -275,6 +275,76 @@ These metrics are available in a stream context:\n    * - ``system.collect.bytes``\n      - Number of bytes collected by the stream\n \n+These metrics on request and response are available for system and user services:\n+\n+.. list-table::\n+   :header-rows: 1\n+   :widths: 60 40\n+\n+   * - Request and Response Metric\n+     - Description\n+   * - ``system.request.received``\n+     - Number of requests received for the service\n+   * - ``system.response.successful``\n+     - Number of successful responses sent\n+   * - ``system.response.{server-error, client-error}``\n+     - Number of ``server-error`` or ``client-error`` responses sent\n+\n+These metrics on logging are available on the application context:\n+\n+.. list-table::\n+   :header-rows: 1\n+   :widths: 60 40\n+\n+   * - Application Logging Metric\n+     - Description\n+   * - ``system.app.log.{error, info, warn}``\n+     - Number of ``error``, ``info``, or ``warn`` log messages logged by the application\n+\n+These metrics on logging are available for the system services, in the system component context:\n+\n+.. list-table::\n+   :header-rows: 1\n+   :widths: 60 40\n+\n+   * - System Services Logging Metric\n+     - Description\n+   * - ``system.services.log.{error, info, warn}``\n+     - Number of ``error``, ``info``, or ``warn`` log messages logged by the system services\n+\n+These metrics are available for the CDAP transaction service:\n+\n+.. list-table::\n+   :header-rows: 1\n+   :widths: 60 40\n+\n+   * - Transaction Metric\n+     - Description\n+   * - ``system.start.{short, long}``\n+     - Number of ``short`` or ``long`` transactions started\n+   * - ``system.start.{short, long}.latency``\n+     - Time taken (in milliseconds) to start ``short`` or ``long`` transactions\n+   * - ``system.wal.append.count``\n+     - Number of transaction edits added to the write-ahead log\n+   * - ``system.{canCommit, commit, committed, inprogress, invalidate, abort}``\n+     - Number of transactions in a specified transaction state\n+   * - ``system.{canCommit, commit, committed, inprogress, invalidate, abort}.latency``\n+     - Time taken (in milliseconds) to perform a specified transaction state update\n+   * - ``system.{invalid, committing, committed, inprogress}.size``\n+     - Number of transaction data structures","path":"cdap-docs/reference-manual/source/http-restful-api/metrics.rst","position":60,"original_position":60,"commit_id":"8e0698ed14336e118167c22ad3c25a40fd2548aa","original_commit_id":"8e0698ed14336e118167c22ad3c25a40fd2548aa","user":{"login":"poornachandra","id":3181212,"avatar_url":"https://avatars.githubusercontent.com/u/3181212?v=3","gravatar_id":"","url":"https://api.github.com/users/poornachandra","html_url":"https://github.com/poornachandra","followers_url":"https://api.github.com/users/poornachandra/followers","following_url":"https://api.github.com/users/poornachandra/following{/other_user}","gists_url":"https://api.github.com/users/poornachandra/gists{/gist_id}","starred_url":"https://api.github.com/users/poornachandra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poornachandra/subscriptions","organizations_url":"https://api.github.com/users/poornachandra/orgs","repos_url":"https://api.github.com/users/poornachandra/repos","events_url":"https://api.github.com/users/poornachandra/events{/privacy}","received_events_url":"https://api.github.com/users/poornachandra/received_events","type":"User","site_admin":false},"body":"`Number of transactions of various types that are active`","created_at":"2016-11-23T23:39:46Z","updated_at":"2016-11-23T23:46:27Z","html_url":"https://github.com/caskdata/cdap/pull/7180#discussion_r89416116","pull_request_url":"https://api.github.com/repos/caskdata/cdap/pulls/7180","_links":{"self":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/comments/89416116"},"html":{"href":"https://github.com/caskdata/cdap/pull/7180#discussion_r89416116"},"pull_request":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/7180"}}},"pull_request":{"url":"https://api.github.com/repos/caskdata/cdap/pulls/7180","id":95087360,"html_url":"https://github.com/caskdata/cdap/pull/7180","diff_url":"https://github.com/caskdata/cdap/pull/7180.diff","patch_url":"https://github.com/caskdata/cdap/pull/7180.patch","issue_url":"https://api.github.com/repos/caskdata/cdap/issues/7180","number":7180,"state":"open","locked":false,"title":"CDAP-7481 Adding available CDAP System Metrics in docs","user":{"login":"gsps1","id":1328150,"avatar_url":"https://avatars.githubusercontent.com/u/1328150?v=3","gravatar_id":"","url":"https://api.github.com/users/gsps1","html_url":"https://github.com/gsps1","followers_url":"https://api.github.com/users/gsps1/followers","following_url":"https://api.github.com/users/gsps1/following{/other_user}","gists_url":"https://api.github.com/users/gsps1/gists{/gist_id}","starred_url":"https://api.github.com/users/gsps1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsps1/subscriptions","organizations_url":"https://api.github.com/users/gsps1/orgs","repos_url":"https://api.github.com/users/gsps1/repos","events_url":"https://api.github.com/users/gsps1/events{/privacy}","received_events_url":"https://api.github.com/users/gsps1/received_events","type":"User","site_admin":false},"body":"Running as a Quick Build: http://builds.cask.co/browse/CDAP-DQB173-2\r\n\r\nPage of interest: http://builds.cask.co/artifact/CDAP-DQB173/shared/build-2/Docs-HTML/4.0.0-SNAPSHOT/en/reference-manual/http-restful-api/metrics.html#available-system-metrics","created_at":"2016-11-23T22:10:26Z","updated_at":"2016-11-23T23:46:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"500ba84a59386357b581df73d6a8c6b88a9b7544","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/caskdata/cdap/pulls/7180/commits","review_comments_url":"https://api.github.com/repos/caskdata/cdap/pulls/7180/comments","review_comment_url":"https://api.github.com/repos/caskdata/cdap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caskdata/cdap/issues/7180/comments","statuses_url":"https://api.github.com/repos/caskdata/cdap/statuses/8e0698ed14336e118167c22ad3c25a40fd2548aa","head":{"label":"caskdata:feature/CDAP-7481-system-metrics-docs","ref":"feature/CDAP-7481-system-metrics-docs","sha":"8e0698ed14336e118167c22ad3c25a40fd2548aa","user":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"repo":{"id":22542759,"name":"cdap","full_name":"caskdata/cdap","owner":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caskdata/cdap","description":"Cask Data Application Platform (CDAP)","fork":false,"url":"https://api.github.com/repos/caskdata/cdap","forks_url":"https://api.github.com/repos/caskdata/cdap/forks","keys_url":"https://api.github.com/repos/caskdata/cdap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caskdata/cdap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caskdata/cdap/teams","hooks_url":"https://api.github.com/repos/caskdata/cdap/hooks","issue_events_url":"https://api.github.com/repos/caskdata/cdap/issues/events{/number}","events_url":"https://api.github.com/repos/caskdata/cdap/events","assignees_url":"https://api.github.com/repos/caskdata/cdap/assignees{/user}","branches_url":"https://api.github.com/repos/caskdata/cdap/branches{/branch}","tags_url":"https://api.github.com/repos/caskdata/cdap/tags","blobs_url":"https://api.github.com/repos/caskdata/cdap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caskdata/cdap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caskdata/cdap/git/refs{/sha}","trees_url":"https://api.github.com/repos/caskdata/cdap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caskdata/cdap/statuses/{sha}","languages_url":"https://api.github.com/repos/caskdata/cdap/languages","stargazers_url":"https://api.github.com/repos/caskdata/cdap/stargazers","contributors_url":"https://api.github.com/repos/caskdata/cdap/contributors","subscribers_url":"https://api.github.com/repos/caskdata/cdap/subscribers","subscription_url":"https://api.github.com/repos/caskdata/cdap/subscription","commits_url":"https://api.github.com/repos/caskdata/cdap/commits{/sha}","git_commits_url":"https://api.github.com/repos/caskdata/cdap/git/commits{/sha}","comments_url":"https://api.github.com/repos/caskdata/cdap/comments{/number}","issue_comment_url":"https://api.github.com/repos/caskdata/cdap/issues/comments{/number}","contents_url":"https://api.github.com/repos/caskdata/cdap/contents/{+path}","compare_url":"https://api.github.com/repos/caskdata/cdap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caskdata/cdap/merges","archive_url":"https://api.github.com/repos/caskdata/cdap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caskdata/cdap/downloads","issues_url":"https://api.github.com/repos/caskdata/cdap/issues{/number}","pulls_url":"https://api.github.com/repos/caskdata/cdap/pulls{/number}","milestones_url":"https://api.github.com/repos/caskdata/cdap/milestones{/number}","notifications_url":"https://api.github.com/repos/caskdata/cdap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caskdata/cdap/labels{/name}","releases_url":"https://api.github.com/repos/caskdata/cdap/releases{/id}","deployments_url":"https://api.github.com/repos/caskdata/cdap/deployments","created_at":"2014-08-02T09:00:10Z","updated_at":"2016-11-22T19:22:02Z","pushed_at":"2016-11-23T23:43:46Z","git_url":"git://github.com/caskdata/cdap.git","ssh_url":"git@github.com:caskdata/cdap.git","clone_url":"https://github.com/caskdata/cdap.git","svn_url":"https://github.com/caskdata/cdap","homepage":"http://cdap.io","size":668241,"stargazers_count":147,"watchers_count":147,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":66,"mirror_url":null,"open_issues_count":23,"forks":66,"open_issues":23,"watchers":147,"default_branch":"develop"}},"base":{"label":"caskdata:develop","ref":"develop","sha":"13ead58ea17be64e74a03924cc57b5a051e4e49b","user":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"repo":{"id":22542759,"name":"cdap","full_name":"caskdata/cdap","owner":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caskdata/cdap","description":"Cask Data Application Platform (CDAP)","fork":false,"url":"https://api.github.com/repos/caskdata/cdap","forks_url":"https://api.github.com/repos/caskdata/cdap/forks","keys_url":"https://api.github.com/repos/caskdata/cdap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caskdata/cdap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caskdata/cdap/teams","hooks_url":"https://api.github.com/repos/caskdata/cdap/hooks","issue_events_url":"https://api.github.com/repos/caskdata/cdap/issues/events{/number}","events_url":"https://api.github.com/repos/caskdata/cdap/events","assignees_url":"https://api.github.com/repos/caskdata/cdap/assignees{/user}","branches_url":"https://api.github.com/repos/caskdata/cdap/branches{/branch}","tags_url":"https://api.github.com/repos/caskdata/cdap/tags","blobs_url":"https://api.github.com/repos/caskdata/cdap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caskdata/cdap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caskdata/cdap/git/refs{/sha}","trees_url":"https://api.github.com/repos/caskdata/cdap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caskdata/cdap/statuses/{sha}","languages_url":"https://api.github.com/repos/caskdata/cdap/languages","stargazers_url":"https://api.github.com/repos/caskdata/cdap/stargazers","contributors_url":"https://api.github.com/repos/caskdata/cdap/contributors","subscribers_url":"https://api.github.com/repos/caskdata/cdap/subscribers","subscription_url":"https://api.github.com/repos/caskdata/cdap/subscription","commits_url":"https://api.github.com/repos/caskdata/cdap/commits{/sha}","git_commits_url":"https://api.github.com/repos/caskdata/cdap/git/commits{/sha}","comments_url":"https://api.github.com/repos/caskdata/cdap/comments{/number}","issue_comment_url":"https://api.github.com/repos/caskdata/cdap/issues/comments{/number}","contents_url":"https://api.github.com/repos/caskdata/cdap/contents/{+path}","compare_url":"https://api.github.com/repos/caskdata/cdap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caskdata/cdap/merges","archive_url":"https://api.github.com/repos/caskdata/cdap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caskdata/cdap/downloads","issues_url":"https://api.github.com/repos/caskdata/cdap/issues{/number}","pulls_url":"https://api.github.com/repos/caskdata/cdap/pulls{/number}","milestones_url":"https://api.github.com/repos/caskdata/cdap/milestones{/number}","notifications_url":"https://api.github.com/repos/caskdata/cdap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caskdata/cdap/labels{/name}","releases_url":"https://api.github.com/repos/caskdata/cdap/releases{/id}","deployments_url":"https://api.github.com/repos/caskdata/cdap/deployments","created_at":"2014-08-02T09:00:10Z","updated_at":"2016-11-22T19:22:02Z","pushed_at":"2016-11-23T23:43:46Z","git_url":"git://github.com/caskdata/cdap.git","ssh_url":"git@github.com:caskdata/cdap.git","clone_url":"https://github.com/caskdata/cdap.git","svn_url":"https://github.com/caskdata/cdap","homepage":"http://cdap.io","size":668241,"stargazers_count":147,"watchers_count":147,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":66,"mirror_url":null,"open_issues_count":23,"forks":66,"open_issues":23,"watchers":147,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/7180"},"html":{"href":"https://github.com/caskdata/cdap/pull/7180"},"issue":{"href":"https://api.github.com/repos/caskdata/cdap/issues/7180"},"comments":{"href":"https://api.github.com/repos/caskdata/cdap/issues/7180/comments"},"review_comments":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/7180/comments"},"review_comment":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/7180/commits"},"statuses":{"href":"https://api.github.com/repos/caskdata/cdap/statuses/8e0698ed14336e118167c22ad3c25a40fd2548aa"}}}}
{"actor":{"display_login":"poornachandra"}}