{"action":"created","comment":{"url":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/comments/46288886","id":46288886,"diff_hunk":"@@ -0,0 +1,153 @@\n+---\n+lowercaseOutputLabelNames: true\n+lowercaseOutputName: true\n+blackListObjectNames: [\"metrics:type=*,name=jvm*\"]\n+\n+rules:\n+\n+- pattern: \"metrics<name=ch.qos.logback.core.Appender.(debug|error|info|trace|warn)><>Count\"\n+  name: log_msg_total\n+  labels:\n+    level: \"$1\"\n+  type: COUNTER\n+\n+- pattern: \"metrics<name=ch.qos.logback.core.Appender.(debug|error|info|trace|warn)><>(FiveMinuteRate|MeanRate|OneMinuteRate|FifteenMinuteRate)\"\n+  name: log_msg_rate\n+  labels:\n+    level: \"$1\"\n+    calculation: \"$2\"\n+  type: COUNTER\n+\n+- pattern: \"metrics<name=ch.qos.logback.core.Appender.all><>Count\"\n+  name: log_msg_all_total\n+  type: COUNTER\n+\n+- pattern: \"metrics<name=ch.qos.logback.core.Appender.all><>(FiveMinuteRate|MeanRate|OneMinuteRate|FifteenMinuteRate)\"\n+  name: log_msg_all_rate\n+  labels:\n+    calculation: \"$1\"\n+  type: COUNTER\n+\n+- pattern: \"metrics<name=org.eclipse.jetty.server.HttpConnectionFactory.(.+).connections><>Count\"\n+  name: http_connections_total\n+  type: COUNTER\n+  labels:\n+    port: \"$1\"\n+\n+\n+- pattern: \"metrics<name=io.dropwizard.jetty.MutableServletContextHandler.(.+)-responses><>Count\"\n+  name: http_response_codes_total\n+  type: COUNTER\n+  labels:\n+    http_code: \"$1\"\n+\n+- pattern: \"metrics<name=io.dropwizard.jetty.MutableServletContextHandler.active-(.+)><>Count\"","path":"example_configs/dropwizard-0-8-x.yml","position":44,"original_position":44,"commit_id":"3aa3829131e7252f47b64ee5a7ad5ae0acad49de","original_commit_id":"3aa3829131e7252f47b64ee5a7ad5ae0acad49de","user":{"login":"olvesh","id":220643,"avatar_url":"https://avatars.githubusercontent.com/u/220643?v=3","gravatar_id":"","url":"https://api.github.com/users/olvesh","html_url":"https://github.com/olvesh","followers_url":"https://api.github.com/users/olvesh/followers","following_url":"https://api.github.com/users/olvesh/following{/other_user}","gists_url":"https://api.github.com/users/olvesh/gists{/gist_id}","starred_url":"https://api.github.com/users/olvesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olvesh/subscriptions","organizations_url":"https://api.github.com/users/olvesh/orgs","repos_url":"https://api.github.com/users/olvesh/repos","events_url":"https://api.github.com/users/olvesh/events{/privacy}","received_events_url":"https://api.github.com/users/olvesh/received_events","type":"User","site_admin":false},"body":"The first one lists count of opened http connections on different ports.\r\nThe middle-one lists ´1xx|2xx|4xx|5xx`","created_at":"2015-12-01T15:09:01Z","updated_at":"2015-12-01T15:09:01Z","html_url":"https://github.com/prometheus/jmx_exporter/pull/44#discussion_r46288886","pull_request_url":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/comments/46288886"},"html":{"href":"https://github.com/prometheus/jmx_exporter/pull/44#discussion_r46288886"},"pull_request":{"href":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/44","id":52245365,"html_url":"https://github.com/prometheus/jmx_exporter/pull/44","diff_url":"https://github.com/prometheus/jmx_exporter/pull/44.diff","patch_url":"https://github.com/prometheus/jmx_exporter/pull/44.patch","issue_url":"https://api.github.com/repos/prometheus/jmx_exporter/issues/44","number":44,"state":"open","locked":false,"title":"Dropwizard, Datastax Client and Kafka consumer/producers examples","user":{"login":"olvesh","id":220643,"avatar_url":"https://avatars.githubusercontent.com/u/220643?v=3","gravatar_id":"","url":"https://api.github.com/users/olvesh","html_url":"https://github.com/olvesh","followers_url":"https://api.github.com/users/olvesh/followers","following_url":"https://api.github.com/users/olvesh/following{/other_user}","gists_url":"https://api.github.com/users/olvesh/gists{/gist_id}","starred_url":"https://api.github.com/users/olvesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olvesh/subscriptions","organizations_url":"https://api.github.com/users/olvesh/orgs","repos_url":"https://api.github.com/users/olvesh/repos","events_url":"https://api.github.com/users/olvesh/events{/privacy}","received_events_url":"https://api.github.com/users/olvesh/received_events","type":"User","site_admin":false},"body":"Hope these looks ok. They work in my settings but not sure how \"correct\" they are.","created_at":"2015-12-01T11:19:38Z","updated_at":"2015-12-01T15:09:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6dcc7d5a5c34487ef78dcb3131c2875cdb34ef5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/44/commits","review_comments_url":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/44/comments","review_comment_url":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prometheus/jmx_exporter/issues/44/comments","statuses_url":"https://api.github.com/repos/prometheus/jmx_exporter/statuses/3aa3829131e7252f47b64ee5a7ad5ae0acad49de","head":{"label":"olvesh:examples","ref":"examples","sha":"3aa3829131e7252f47b64ee5a7ad5ae0acad49de","user":{"login":"olvesh","id":220643,"avatar_url":"https://avatars.githubusercontent.com/u/220643?v=3","gravatar_id":"","url":"https://api.github.com/users/olvesh","html_url":"https://github.com/olvesh","followers_url":"https://api.github.com/users/olvesh/followers","following_url":"https://api.github.com/users/olvesh/following{/other_user}","gists_url":"https://api.github.com/users/olvesh/gists{/gist_id}","starred_url":"https://api.github.com/users/olvesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olvesh/subscriptions","organizations_url":"https://api.github.com/users/olvesh/orgs","repos_url":"https://api.github.com/users/olvesh/repos","events_url":"https://api.github.com/users/olvesh/events{/privacy}","received_events_url":"https://api.github.com/users/olvesh/received_events","type":"User","site_admin":false},"repo":{"id":47183305,"name":"jmx_exporter","full_name":"olvesh/jmx_exporter","owner":{"login":"olvesh","id":220643,"avatar_url":"https://avatars.githubusercontent.com/u/220643?v=3","gravatar_id":"","url":"https://api.github.com/users/olvesh","html_url":"https://github.com/olvesh","followers_url":"https://api.github.com/users/olvesh/followers","following_url":"https://api.github.com/users/olvesh/following{/other_user}","gists_url":"https://api.github.com/users/olvesh/gists{/gist_id}","starred_url":"https://api.github.com/users/olvesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olvesh/subscriptions","organizations_url":"https://api.github.com/users/olvesh/orgs","repos_url":"https://api.github.com/users/olvesh/repos","events_url":"https://api.github.com/users/olvesh/events{/privacy}","received_events_url":"https://api.github.com/users/olvesh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olvesh/jmx_exporter","description":"A process for exposing JMX Beans via HTTP for Prometheus consumption","fork":true,"url":"https://api.github.com/repos/olvesh/jmx_exporter","forks_url":"https://api.github.com/repos/olvesh/jmx_exporter/forks","keys_url":"https://api.github.com/repos/olvesh/jmx_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olvesh/jmx_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olvesh/jmx_exporter/teams","hooks_url":"https://api.github.com/repos/olvesh/jmx_exporter/hooks","issue_events_url":"https://api.github.com/repos/olvesh/jmx_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/olvesh/jmx_exporter/events","assignees_url":"https://api.github.com/repos/olvesh/jmx_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/olvesh/jmx_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/olvesh/jmx_exporter/tags","blobs_url":"https://api.github.com/repos/olvesh/jmx_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olvesh/jmx_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olvesh/jmx_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/olvesh/jmx_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olvesh/jmx_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/olvesh/jmx_exporter/languages","stargazers_url":"https://api.github.com/repos/olvesh/jmx_exporter/stargazers","contributors_url":"https://api.github.com/repos/olvesh/jmx_exporter/contributors","subscribers_url":"https://api.github.com/repos/olvesh/jmx_exporter/subscribers","subscription_url":"https://api.github.com/repos/olvesh/jmx_exporter/subscription","commits_url":"https://api.github.com/repos/olvesh/jmx_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/olvesh/jmx_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/olvesh/jmx_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/olvesh/jmx_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/olvesh/jmx_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/olvesh/jmx_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olvesh/jmx_exporter/merges","archive_url":"https://api.github.com/repos/olvesh/jmx_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olvesh/jmx_exporter/downloads","issues_url":"https://api.github.com/repos/olvesh/jmx_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/olvesh/jmx_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/olvesh/jmx_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/olvesh/jmx_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olvesh/jmx_exporter/labels{/name}","releases_url":"https://api.github.com/repos/olvesh/jmx_exporter/releases{/id}","created_at":"2015-12-01T10:49:19Z","updated_at":"2015-12-01T10:49:20Z","pushed_at":"2015-12-01T11:23:42Z","git_url":"git://github.com/olvesh/jmx_exporter.git","ssh_url":"git@github.com:olvesh/jmx_exporter.git","clone_url":"https://github.com/olvesh/jmx_exporter.git","svn_url":"https://github.com/olvesh/jmx_exporter","homepage":"","size":864,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prometheus:master","ref":"master","sha":"4c0b7dabfa1830221f3806c1785b8791e98a4ef3","user":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars.githubusercontent.com/u/3380462?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"repo":{"id":17170044,"name":"jmx_exporter","full_name":"prometheus/jmx_exporter","owner":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars.githubusercontent.com/u/3380462?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prometheus/jmx_exporter","description":"A process for exposing JMX Beans via HTTP for Prometheus consumption","fork":false,"url":"https://api.github.com/repos/prometheus/jmx_exporter","forks_url":"https://api.github.com/repos/prometheus/jmx_exporter/forks","keys_url":"https://api.github.com/repos/prometheus/jmx_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prometheus/jmx_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prometheus/jmx_exporter/teams","hooks_url":"https://api.github.com/repos/prometheus/jmx_exporter/hooks","issue_events_url":"https://api.github.com/repos/prometheus/jmx_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/prometheus/jmx_exporter/events","assignees_url":"https://api.github.com/repos/prometheus/jmx_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/prometheus/jmx_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/prometheus/jmx_exporter/tags","blobs_url":"https://api.github.com/repos/prometheus/jmx_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prometheus/jmx_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prometheus/jmx_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/prometheus/jmx_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prometheus/jmx_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/prometheus/jmx_exporter/languages","stargazers_url":"https://api.github.com/repos/prometheus/jmx_exporter/stargazers","contributors_url":"https://api.github.com/repos/prometheus/jmx_exporter/contributors","subscribers_url":"https://api.github.com/repos/prometheus/jmx_exporter/subscribers","subscription_url":"https://api.github.com/repos/prometheus/jmx_exporter/subscription","commits_url":"https://api.github.com/repos/prometheus/jmx_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/prometheus/jmx_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/prometheus/jmx_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/prometheus/jmx_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/prometheus/jmx_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/prometheus/jmx_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prometheus/jmx_exporter/merges","archive_url":"https://api.github.com/repos/prometheus/jmx_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prometheus/jmx_exporter/downloads","issues_url":"https://api.github.com/repos/prometheus/jmx_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/prometheus/jmx_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/prometheus/jmx_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/prometheus/jmx_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prometheus/jmx_exporter/labels{/name}","releases_url":"https://api.github.com/repos/prometheus/jmx_exporter/releases{/id}","created_at":"2014-02-25T10:55:39Z","updated_at":"2015-11-05T13:14:40Z","pushed_at":"2015-12-01T13:16:15Z","git_url":"git://github.com/prometheus/jmx_exporter.git","ssh_url":"git@github.com:prometheus/jmx_exporter.git","clone_url":"https://github.com/prometheus/jmx_exporter.git","svn_url":"https://github.com/prometheus/jmx_exporter","homepage":"","size":887,"stargazers_count":27,"watchers_count":27,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":9,"forks":25,"open_issues":9,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/44"},"html":{"href":"https://github.com/prometheus/jmx_exporter/pull/44"},"issue":{"href":"https://api.github.com/repos/prometheus/jmx_exporter/issues/44"},"comments":{"href":"https://api.github.com/repos/prometheus/jmx_exporter/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prometheus/jmx_exporter/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/prometheus/jmx_exporter/statuses/3aa3829131e7252f47b64ee5a7ad5ae0acad49de"}}}}