{"action":"created","comment":{"url":"https://api.github.com/repos/trashkalmar/omim/pulls/comments/45175202","id":45175202,"diff_hunk":"@@ -249,9 +251,17 @@ private void build()\n     setBuildState(BuildState.BUILDING);\n     updatePlan();\n \n+    Statistics.INSTANCE.trackRouteBuild(getPointType(mStartPoint), getPointType(mEndPoint));\n+    org.alohalytics.Statistics.logEvent(AlohaHelper.ROUTING_BUILD, new String[] {getPointType(mStartPoint), getPointType(mEndPoint)});\n+\n     Framework.nativeBuildRoute(mStartPoint.getLat(), mStartPoint.getLon(), mEndPoint.getLat(), mEndPoint.getLon());\n   }\n \n+  private static String getPointType(MapObject point)","path":"android/src/com/mapswithme/maps/routing/RoutingController.java","position":19,"original_position":19,"commit_id":"da3c40b110c7dfeb4d9eda4ab691dc16418ac5fa","original_commit_id":"da3c40b110c7dfeb4d9eda4ab691dc16418ac5fa","user":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"body":"Это нужно перенести в класс статистики","created_at":"2015-11-18T09:14:22Z","updated_at":"2015-11-18T09:14:22Z","html_url":"https://github.com/trashkalmar/omim/pull/2#discussion_r45175202","pull_request_url":"https://api.github.com/repos/trashkalmar/omim/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/trashkalmar/omim/pulls/comments/45175202"},"html":{"href":"https://github.com/trashkalmar/omim/pull/2#discussion_r45175202"},"pull_request":{"href":"https://api.github.com/repos/trashkalmar/omim/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/trashkalmar/omim/pulls/2","id":51053651,"html_url":"https://github.com/trashkalmar/omim/pull/2","diff_url":"https://github.com/trashkalmar/omim/pull/2.diff","patch_url":"https://github.com/trashkalmar/omim/pull/2.patch","issue_url":"https://api.github.com/repos/trashkalmar/omim/issues/2","number":2,"state":"open","locked":false,"title":"[android] Log events.","user":{"login":"yunikkk","id":2265924,"avatar_url":"https://avatars.githubusercontent.com/u/2265924?v=3","gravatar_id":"","url":"https://api.github.com/users/yunikkk","html_url":"https://github.com/yunikkk","followers_url":"https://api.github.com/users/yunikkk/followers","following_url":"https://api.github.com/users/yunikkk/following{/other_user}","gists_url":"https://api.github.com/users/yunikkk/gists{/gist_id}","starred_url":"https://api.github.com/users/yunikkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunikkk/subscriptions","organizations_url":"https://api.github.com/users/yunikkk/orgs","repos_url":"https://api.github.com/users/yunikkk/repos","events_url":"https://api.github.com/users/yunikkk/events{/privacy}","received_events_url":"https://api.github.com/users/yunikkk/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-18T08:08:54Z","updated_at":"2015-11-18T09:14:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"335141bee9d7b52fac49f97eeb7829bb10538f94","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/trashkalmar/omim/pulls/2/commits","review_comments_url":"https://api.github.com/repos/trashkalmar/omim/pulls/2/comments","review_comment_url":"https://api.github.com/repos/trashkalmar/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trashkalmar/omim/issues/2/comments","statuses_url":"https://api.github.com/repos/trashkalmar/omim/statuses/da3c40b110c7dfeb4d9eda4ab691dc16418ac5fa","head":{"label":"yunikkk:point2point","ref":"point2point","sha":"da3c40b110c7dfeb4d9eda4ab691dc16418ac5fa","user":{"login":"yunikkk","id":2265924,"avatar_url":"https://avatars.githubusercontent.com/u/2265924?v=3","gravatar_id":"","url":"https://api.github.com/users/yunikkk","html_url":"https://github.com/yunikkk","followers_url":"https://api.github.com/users/yunikkk/followers","following_url":"https://api.github.com/users/yunikkk/following{/other_user}","gists_url":"https://api.github.com/users/yunikkk/gists{/gist_id}","starred_url":"https://api.github.com/users/yunikkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunikkk/subscriptions","organizations_url":"https://api.github.com/users/yunikkk/orgs","repos_url":"https://api.github.com/users/yunikkk/repos","events_url":"https://api.github.com/users/yunikkk/events{/privacy}","received_events_url":"https://api.github.com/users/yunikkk/received_events","type":"User","site_admin":false},"repo":{"id":44106681,"name":"omim","full_name":"yunikkk/omim","owner":{"login":"yunikkk","id":2265924,"avatar_url":"https://avatars.githubusercontent.com/u/2265924?v=3","gravatar_id":"","url":"https://api.github.com/users/yunikkk","html_url":"https://github.com/yunikkk","followers_url":"https://api.github.com/users/yunikkk/followers","following_url":"https://api.github.com/users/yunikkk/following{/other_user}","gists_url":"https://api.github.com/users/yunikkk/gists{/gist_id}","starred_url":"https://api.github.com/users/yunikkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunikkk/subscriptions","organizations_url":"https://api.github.com/users/yunikkk/orgs","repos_url":"https://api.github.com/users/yunikkk/repos","events_url":"https://api.github.com/users/yunikkk/events{/privacy}","received_events_url":"https://api.github.com/users/yunikkk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yunikkk/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/yunikkk/omim","forks_url":"https://api.github.com/repos/yunikkk/omim/forks","keys_url":"https://api.github.com/repos/yunikkk/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yunikkk/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yunikkk/omim/teams","hooks_url":"https://api.github.com/repos/yunikkk/omim/hooks","issue_events_url":"https://api.github.com/repos/yunikkk/omim/issues/events{/number}","events_url":"https://api.github.com/repos/yunikkk/omim/events","assignees_url":"https://api.github.com/repos/yunikkk/omim/assignees{/user}","branches_url":"https://api.github.com/repos/yunikkk/omim/branches{/branch}","tags_url":"https://api.github.com/repos/yunikkk/omim/tags","blobs_url":"https://api.github.com/repos/yunikkk/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yunikkk/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yunikkk/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/yunikkk/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yunikkk/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/yunikkk/omim/languages","stargazers_url":"https://api.github.com/repos/yunikkk/omim/stargazers","contributors_url":"https://api.github.com/repos/yunikkk/omim/contributors","subscribers_url":"https://api.github.com/repos/yunikkk/omim/subscribers","subscription_url":"https://api.github.com/repos/yunikkk/omim/subscription","commits_url":"https://api.github.com/repos/yunikkk/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/yunikkk/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/yunikkk/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/yunikkk/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/yunikkk/omim/contents/{+path}","compare_url":"https://api.github.com/repos/yunikkk/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yunikkk/omim/merges","archive_url":"https://api.github.com/repos/yunikkk/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yunikkk/omim/downloads","issues_url":"https://api.github.com/repos/yunikkk/omim/issues{/number}","pulls_url":"https://api.github.com/repos/yunikkk/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/yunikkk/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/yunikkk/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yunikkk/omim/labels{/name}","releases_url":"https://api.github.com/repos/yunikkk/omim/releases{/id}","created_at":"2015-10-12T12:41:54Z","updated_at":"2015-10-12T12:44:08Z","pushed_at":"2015-11-18T08:12:04Z","git_url":"git://github.com/yunikkk/omim.git","ssh_url":"git@github.com:yunikkk/omim.git","clone_url":"https://github.com/yunikkk/omim.git","svn_url":"https://github.com/yunikkk/omim","homepage":null,"size":1852678,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"trashkalmar:point2point","ref":"point2point","sha":"bddd7f9e9a886416e55193430bdde5f29844185a","user":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"repo":{"id":43429123,"name":"omim","full_name":"trashkalmar/omim","owner":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trashkalmar/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/trashkalmar/omim","forks_url":"https://api.github.com/repos/trashkalmar/omim/forks","keys_url":"https://api.github.com/repos/trashkalmar/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trashkalmar/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trashkalmar/omim/teams","hooks_url":"https://api.github.com/repos/trashkalmar/omim/hooks","issue_events_url":"https://api.github.com/repos/trashkalmar/omim/issues/events{/number}","events_url":"https://api.github.com/repos/trashkalmar/omim/events","assignees_url":"https://api.github.com/repos/trashkalmar/omim/assignees{/user}","branches_url":"https://api.github.com/repos/trashkalmar/omim/branches{/branch}","tags_url":"https://api.github.com/repos/trashkalmar/omim/tags","blobs_url":"https://api.github.com/repos/trashkalmar/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trashkalmar/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trashkalmar/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/trashkalmar/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trashkalmar/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/trashkalmar/omim/languages","stargazers_url":"https://api.github.com/repos/trashkalmar/omim/stargazers","contributors_url":"https://api.github.com/repos/trashkalmar/omim/contributors","subscribers_url":"https://api.github.com/repos/trashkalmar/omim/subscribers","subscription_url":"https://api.github.com/repos/trashkalmar/omim/subscription","commits_url":"https://api.github.com/repos/trashkalmar/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/trashkalmar/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/trashkalmar/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/trashkalmar/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/trashkalmar/omim/contents/{+path}","compare_url":"https://api.github.com/repos/trashkalmar/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trashkalmar/omim/merges","archive_url":"https://api.github.com/repos/trashkalmar/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trashkalmar/omim/downloads","issues_url":"https://api.github.com/repos/trashkalmar/omim/issues{/number}","pulls_url":"https://api.github.com/repos/trashkalmar/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/trashkalmar/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/trashkalmar/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trashkalmar/omim/labels{/name}","releases_url":"https://api.github.com/repos/trashkalmar/omim/releases{/id}","created_at":"2015-09-30T11:28:06Z","updated_at":"2015-09-30T11:30:16Z","pushed_at":"2015-11-18T08:08:54Z","git_url":"git://github.com/trashkalmar/omim.git","ssh_url":"git@github.com:trashkalmar/omim.git","clone_url":"https://github.com/trashkalmar/omim.git","svn_url":"https://github.com/trashkalmar/omim","homepage":null,"size":1824927,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"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/trashkalmar/omim/pulls/2"},"html":{"href":"https://github.com/trashkalmar/omim/pull/2"},"issue":{"href":"https://api.github.com/repos/trashkalmar/omim/issues/2"},"comments":{"href":"https://api.github.com/repos/trashkalmar/omim/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/trashkalmar/omim/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/trashkalmar/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trashkalmar/omim/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/trashkalmar/omim/statuses/da3c40b110c7dfeb4d9eda4ab691dc16418ac5fa"}}}}