{"action":"created","comment":{"url":"https://api.github.com/repos/advancedtelematic/libats/pulls/comments/131617995","pull_request_review_id":54614126,"id":131617995,"diff_hunk":"@@ -0,0 +1,66 @@\n+package com.advancedtelematic.libats.messaging\n+\n+import akka.http.scaladsl.util.FastFuture\n+import com.advancedtelematic.libats.http.HealthMetrics\n+import com.codahale.metrics.{Metric, MetricFilter, MetricRegistry}\n+import io.circe.Json\n+import org.slf4j.LoggerFactory\n+import io.circe.syntax._\n+\n+import scala.concurrent.Future\n+\n+trait ListenerMonitor {\n+  def onProcessed: Future[Unit]","path":"libats-messaging/src/main/scala/com/advancedtelematic/libats/messaging/ListenerMonitor.scala","position":13,"original_position":13,"commit_id":"a86cbc64d4354f588486a501f73f1be3f2c49773","original_commit_id":"a86cbc64d4354f588486a501f73f1be3f2c49773","user":{"login":"koshelev","id":1404649,"avatar_url":"https://avatars2.githubusercontent.com/u/1404649?v=4","gravatar_id":"","url":"https://api.github.com/users/koshelev","html_url":"https://github.com/koshelev","followers_url":"https://api.github.com/users/koshelev/followers","following_url":"https://api.github.com/users/koshelev/following{/other_user}","gists_url":"https://api.github.com/users/koshelev/gists{/gist_id}","starred_url":"https://api.github.com/users/koshelev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koshelev/subscriptions","organizations_url":"https://api.github.com/users/koshelev/orgs","repos_url":"https://api.github.com/users/koshelev/repos","events_url":"https://api.github.com/users/koshelev/events{/privacy}","received_events_url":"https://api.github.com/users/koshelev/received_events","type":"User","site_admin":false},"body":"Do we need a general listener? :) Now when nats is dead :)","created_at":"2017-08-07T10:06:03Z","updated_at":"2017-08-07T10:06:03Z","html_url":"https://github.com/advancedtelematic/libats/pull/33#discussion_r131617995","pull_request_url":"https://api.github.com/repos/advancedtelematic/libats/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/comments/131617995"},"html":{"href":"https://github.com/advancedtelematic/libats/pull/33#discussion_r131617995"},"pull_request":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/advancedtelematic/libats/pulls/33","id":134389188,"html_url":"https://github.com/advancedtelematic/libats/pull/33","diff_url":"https://github.com/advancedtelematic/libats/pull/33.diff","patch_url":"https://github.com/advancedtelematic/libats/pull/33.patch","issue_url":"https://api.github.com/repos/advancedtelematic/libats/issues/33","number":33,"state":"open","locked":false,"title":"Add support for message listener metrics","user":{"login":"simao","id":203575,"avatar_url":"https://avatars2.githubusercontent.com/u/203575?v=4","gravatar_id":"","url":"https://api.github.com/users/simao","html_url":"https://github.com/simao","followers_url":"https://api.github.com/users/simao/followers","following_url":"https://api.github.com/users/simao/following{/other_user}","gists_url":"https://api.github.com/users/simao/gists{/gist_id}","starred_url":"https://api.github.com/users/simao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simao/subscriptions","organizations_url":"https://api.github.com/users/simao/orgs","repos_url":"https://api.github.com/users/simao/repos","events_url":"https://api.github.com/users/simao/events{/privacy}","received_events_url":"https://api.github.com/users/simao/received_events","type":"User","site_admin":false},"body":"Refactor health check/metrics resource","created_at":"2017-08-07T08:48:08Z","updated_at":"2017-08-07T10:06:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a594399b98d0c0ff0595a339ed442503259ba174","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/advancedtelematic/libats/pulls/33/commits","review_comments_url":"https://api.github.com/repos/advancedtelematic/libats/pulls/33/comments","review_comment_url":"https://api.github.com/repos/advancedtelematic/libats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/advancedtelematic/libats/issues/33/comments","statuses_url":"https://api.github.com/repos/advancedtelematic/libats/statuses/a86cbc64d4354f588486a501f73f1be3f2c49773","head":{"label":"advancedtelematic:listener_metrics","ref":"listener_metrics","sha":"a86cbc64d4354f588486a501f73f1be3f2c49773","user":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":82199768,"name":"libats","full_name":"advancedtelematic/libats","owner":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advancedtelematic/libats","description":null,"fork":false,"url":"https://api.github.com/repos/advancedtelematic/libats","forks_url":"https://api.github.com/repos/advancedtelematic/libats/forks","keys_url":"https://api.github.com/repos/advancedtelematic/libats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/libats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/libats/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/libats/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/libats/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/libats/events","assignees_url":"https://api.github.com/repos/advancedtelematic/libats/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/libats/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/libats/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/libats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/libats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/libats/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/libats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/libats/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/libats/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/libats/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/libats/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/libats/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/libats/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/libats/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/libats/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/libats/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/libats/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/libats/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/libats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/libats/merges","archive_url":"https://api.github.com/repos/advancedtelematic/libats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/libats/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/libats/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/libats/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/libats/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/libats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/libats/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/libats/releases{/id}","deployments_url":"https://api.github.com/repos/advancedtelematic/libats/deployments","created_at":"2017-02-16T16:13:58Z","updated_at":"2017-02-16T16:14:31Z","pushed_at":"2017-08-07T08:48:09Z","git_url":"git://github.com/advancedtelematic/libats.git","ssh_url":"git@github.com:advancedtelematic/libats.git","clone_url":"https://github.com/advancedtelematic/libats.git","svn_url":"https://github.com/advancedtelematic/libats","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"advancedtelematic:master","ref":"master","sha":"99defa7bcf48f7d6e2eb0808df9c3101a3afad86","user":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":82199768,"name":"libats","full_name":"advancedtelematic/libats","owner":{"login":"advancedtelematic","id":7944633,"avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/advancedtelematic/libats","description":null,"fork":false,"url":"https://api.github.com/repos/advancedtelematic/libats","forks_url":"https://api.github.com/repos/advancedtelematic/libats/forks","keys_url":"https://api.github.com/repos/advancedtelematic/libats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/libats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/libats/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/libats/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/libats/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/libats/events","assignees_url":"https://api.github.com/repos/advancedtelematic/libats/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/libats/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/libats/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/libats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/libats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/libats/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/libats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/libats/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/libats/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/libats/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/libats/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/libats/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/libats/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/libats/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/libats/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/libats/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/libats/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/libats/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/libats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/libats/merges","archive_url":"https://api.github.com/repos/advancedtelematic/libats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/libats/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/libats/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/libats/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/libats/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/libats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/libats/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/libats/releases{/id}","deployments_url":"https://api.github.com/repos/advancedtelematic/libats/deployments","created_at":"2017-02-16T16:13:58Z","updated_at":"2017-02-16T16:14:31Z","pushed_at":"2017-08-07T08:48:09Z","git_url":"git://github.com/advancedtelematic/libats.git","ssh_url":"git@github.com:advancedtelematic/libats.git","clone_url":"https://github.com/advancedtelematic/libats.git","svn_url":"https://github.com/advancedtelematic/libats","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/33"},"html":{"href":"https://github.com/advancedtelematic/libats/pull/33"},"issue":{"href":"https://api.github.com/repos/advancedtelematic/libats/issues/33"},"comments":{"href":"https://api.github.com/repos/advancedtelematic/libats/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/advancedtelematic/libats/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/advancedtelematic/libats/statuses/a86cbc64d4354f588486a501f73f1be3f2c49773"}}}}
{"actor":{"display_login":"koshelev"}}