{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/comments/39437334","id":39437334,"diff_hunk":"@@ -184,6 +184,23 @@ local function process_json(msg, json, parsed)\n         else\n             msg.Payload = json\n         end\n+    elseif parsed.deviceinfo then","path":"heka/sandbox/decoders/extract_telemetry_dimensions.lua","position":26,"original_position":26,"commit_id":"d23a5c942e595b18d3b3088b06b939c0e250f9b2","original_commit_id":"d23a5c942e595b18d3b3088b06b939c0e250f9b2","user":{"login":"mreid-moz","id":969479,"avatar_url":"https://avatars.githubusercontent.com/u/969479?v=3","gravatar_id":"","url":"https://api.github.com/users/mreid-moz","html_url":"https://github.com/mreid-moz","followers_url":"https://api.github.com/users/mreid-moz/followers","following_url":"https://api.github.com/users/mreid-moz/following{/other_user}","gists_url":"https://api.github.com/users/mreid-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/mreid-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreid-moz/subscriptions","organizations_url":"https://api.github.com/users/mreid-moz/orgs","repos_url":"https://api.github.com/users/mreid-moz/repos","events_url":"https://api.github.com/users/mreid-moz/events{/privacy}","received_events_url":"https://api.github.com/users/mreid-moz/received_events","type":"User","site_admin":false},"body":"Yes, I will change to check the type","created_at":"2015-09-14T19:39:38Z","updated_at":"2015-09-14T19:39:38Z","html_url":"https://github.com/mozilla-services/data-pipeline/pull/123#discussion_r39437334","pull_request_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/comments/39437334"},"html":{"href":"https://github.com/mozilla-services/data-pipeline/pull/123#discussion_r39437334"},"pull_request":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/123","id":44945714,"html_url":"https://github.com/mozilla-services/data-pipeline/pull/123","diff_url":"https://github.com/mozilla-services/data-pipeline/pull/123.diff","patch_url":"https://github.com/mozilla-services/data-pipeline/pull/123.patch","issue_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/123","number":123,"state":"open","locked":false,"title":"Ingest fxos pings","user":{"login":"mreid-moz","id":969479,"avatar_url":"https://avatars.githubusercontent.com/u/969479?v=3","gravatar_id":"","url":"https://api.github.com/users/mreid-moz","html_url":"https://github.com/mreid-moz","followers_url":"https://api.github.com/users/mreid-moz/followers","following_url":"https://api.github.com/users/mreid-moz/following{/other_user}","gists_url":"https://api.github.com/users/mreid-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/mreid-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreid-moz/subscriptions","organizations_url":"https://api.github.com/users/mreid-moz/orgs","repos_url":"https://api.github.com/users/mreid-moz/repos","events_url":"https://api.github.com/users/mreid-moz/events{/privacy}","received_events_url":"https://api.github.com/users/mreid-moz/received_events","type":"User","site_admin":false},"body":"Example old-style \"appusage\" ping:\r\n```\r\n{\r\n  \"start\": 1441900000000,\r\n  \"apps\": {\r\n    \"https://marketplace.firefox.com/app/3c94d3cf-0000-0000-0000-aca253cc14af/manifest.webapp\": {\r\n      \"usageTime\": 920,\r\n      \"invocations\": 14,\r\n      \"installs\": 0,\r\n      \"uninstalls\": 0,\r\n      \"activities\": {\r\n        \"app://video.gaiamobile.org/view.html\": 1\r\n      }\r\n    },\r\n    // ... more apps ...\r\n  },\r\n  \"stop\": 1442200000000,\r\n  \"deviceID\": \"86nnnnn6\",\r\n  \"locale\": \"es\",\r\n  \"screen\": {\r\n    \"width\": 320,\r\n    \"height\": 480,\r\n    \"devicePixelRatio\": 1\r\n  },\r\n  \"deviceinfo\": {\r\n    \"deviceinfo.update_channel\": \"unknown\",\r\n    \"deviceinfo.platform_version\": \"34.0\",\r\n    \"deviceinfo.platform_build_id\": \"20141114142617\",\r\n    \"developer.menu.enabled\": false\r\n  }\r\n}\r\n```","created_at":"2015-09-14T15:41:22Z","updated_at":"2015-09-14T19:39:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e5cf01430f74db42a79885eb7857b26e7564f38","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/123/commits","review_comments_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/123/comments","review_comment_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/123/comments","statuses_url":"https://api.github.com/repos/mozilla-services/data-pipeline/statuses/d23a5c942e595b18d3b3088b06b939c0e250f9b2","head":{"label":"mreid-moz:ingest_fxos_pings","ref":"ingest_fxos_pings","sha":"d23a5c942e595b18d3b3088b06b939c0e250f9b2","user":{"login":"mreid-moz","id":969479,"avatar_url":"https://avatars.githubusercontent.com/u/969479?v=3","gravatar_id":"","url":"https://api.github.com/users/mreid-moz","html_url":"https://github.com/mreid-moz","followers_url":"https://api.github.com/users/mreid-moz/followers","following_url":"https://api.github.com/users/mreid-moz/following{/other_user}","gists_url":"https://api.github.com/users/mreid-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/mreid-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreid-moz/subscriptions","organizations_url":"https://api.github.com/users/mreid-moz/orgs","repos_url":"https://api.github.com/users/mreid-moz/repos","events_url":"https://api.github.com/users/mreid-moz/events{/privacy}","received_events_url":"https://api.github.com/users/mreid-moz/received_events","type":"User","site_admin":false},"repo":{"id":30599564,"name":"data-pipeline","full_name":"mreid-moz/data-pipeline","owner":{"login":"mreid-moz","id":969479,"avatar_url":"https://avatars.githubusercontent.com/u/969479?v=3","gravatar_id":"","url":"https://api.github.com/users/mreid-moz","html_url":"https://github.com/mreid-moz","followers_url":"https://api.github.com/users/mreid-moz/followers","following_url":"https://api.github.com/users/mreid-moz/following{/other_user}","gists_url":"https://api.github.com/users/mreid-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/mreid-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreid-moz/subscriptions","organizations_url":"https://api.github.com/users/mreid-moz/orgs","repos_url":"https://api.github.com/users/mreid-moz/repos","events_url":"https://api.github.com/users/mreid-moz/events{/privacy}","received_events_url":"https://api.github.com/users/mreid-moz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mreid-moz/data-pipeline","description":"Mozilla Services Data Pipeline","fork":true,"url":"https://api.github.com/repos/mreid-moz/data-pipeline","forks_url":"https://api.github.com/repos/mreid-moz/data-pipeline/forks","keys_url":"https://api.github.com/repos/mreid-moz/data-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mreid-moz/data-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mreid-moz/data-pipeline/teams","hooks_url":"https://api.github.com/repos/mreid-moz/data-pipeline/hooks","issue_events_url":"https://api.github.com/repos/mreid-moz/data-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/mreid-moz/data-pipeline/events","assignees_url":"https://api.github.com/repos/mreid-moz/data-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/mreid-moz/data-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/mreid-moz/data-pipeline/tags","blobs_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mreid-moz/data-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/mreid-moz/data-pipeline/languages","stargazers_url":"https://api.github.com/repos/mreid-moz/data-pipeline/stargazers","contributors_url":"https://api.github.com/repos/mreid-moz/data-pipeline/contributors","subscribers_url":"https://api.github.com/repos/mreid-moz/data-pipeline/subscribers","subscription_url":"https://api.github.com/repos/mreid-moz/data-pipeline/subscription","commits_url":"https://api.github.com/repos/mreid-moz/data-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/mreid-moz/data-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/mreid-moz/data-pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/mreid-moz/data-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/mreid-moz/data-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mreid-moz/data-pipeline/merges","archive_url":"https://api.github.com/repos/mreid-moz/data-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mreid-moz/data-pipeline/downloads","issues_url":"https://api.github.com/repos/mreid-moz/data-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/mreid-moz/data-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/mreid-moz/data-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/mreid-moz/data-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mreid-moz/data-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/mreid-moz/data-pipeline/releases{/id}","created_at":"2015-02-10T15:47:28Z","updated_at":"2015-04-14T12:36:29Z","pushed_at":"2015-09-14T17:26:25Z","git_url":"git://github.com/mreid-moz/data-pipeline.git","ssh_url":"git@github.com:mreid-moz/data-pipeline.git","clone_url":"https://github.com/mreid-moz/data-pipeline.git","svn_url":"https://github.com/mreid-moz/data-pipeline","homepage":null,"size":848,"stargazers_count":0,"watchers_count":0,"language":"Lua","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":"mozilla-services:master","ref":"master","sha":"dbc390f0f56687d8604d2b2bddfb46dd8ba1989c","user":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"repo":{"id":29309276,"name":"data-pipeline","full_name":"mozilla-services/data-pipeline","owner":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-services/data-pipeline","description":"Mozilla Services Data Pipeline","fork":false,"url":"https://api.github.com/repos/mozilla-services/data-pipeline","forks_url":"https://api.github.com/repos/mozilla-services/data-pipeline/forks","keys_url":"https://api.github.com/repos/mozilla-services/data-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-services/data-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-services/data-pipeline/teams","hooks_url":"https://api.github.com/repos/mozilla-services/data-pipeline/hooks","issue_events_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-services/data-pipeline/events","assignees_url":"https://api.github.com/repos/mozilla-services/data-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-services/data-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-services/data-pipeline/tags","blobs_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-services/data-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-services/data-pipeline/languages","stargazers_url":"https://api.github.com/repos/mozilla-services/data-pipeline/stargazers","contributors_url":"https://api.github.com/repos/mozilla-services/data-pipeline/contributors","subscribers_url":"https://api.github.com/repos/mozilla-services/data-pipeline/subscribers","subscription_url":"https://api.github.com/repos/mozilla-services/data-pipeline/subscription","commits_url":"https://api.github.com/repos/mozilla-services/data-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-services/data-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-services/data-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-services/data-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-services/data-pipeline/merges","archive_url":"https://api.github.com/repos/mozilla-services/data-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-services/data-pipeline/downloads","issues_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-services/data-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-services/data-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-services/data-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-services/data-pipeline/releases{/id}","created_at":"2015-01-15T17:34:58Z","updated_at":"2015-09-02T19:14:38Z","pushed_at":"2015-09-14T19:33:29Z","git_url":"git://github.com/mozilla-services/data-pipeline.git","ssh_url":"git@github.com:mozilla-services/data-pipeline.git","clone_url":"https://github.com/mozilla-services/data-pipeline.git","svn_url":"https://github.com/mozilla-services/data-pipeline","homepage":null,"size":1465,"stargazers_count":9,"watchers_count":9,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/123"},"html":{"href":"https://github.com/mozilla-services/data-pipeline/pull/123"},"issue":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/123"},"comments":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/statuses/d23a5c942e595b18d3b3088b06b939c0e250f9b2"}}}}