{"action":"opened","number":1182,"pull_request":{"url":"https://api.github.com/repos/foglamp/FogLAMP/pulls/1182","id":222820959,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyODIwOTU5","html_url":"https://github.com/foglamp/FogLAMP/pull/1182","diff_url":"https://github.com/foglamp/FogLAMP/pull/1182.diff","patch_url":"https://github.com/foglamp/FogLAMP/pull/1182.patch","issue_url":"https://api.github.com/repos/foglamp/FogLAMP/issues/1182","number":1182,"state":"open","locked":false,"title":"Ingest->Statistics writer modified to use new bulk update feature","user":{"login":"amarendra-dianomic","id":27818158,"node_id":"MDQ6VXNlcjI3ODE4MTU4","avatar_url":"https://avatars0.githubusercontent.com/u/27818158?v=4","gravatar_id":"","url":"https://api.github.com/users/amarendra-dianomic","html_url":"https://github.com/amarendra-dianomic","followers_url":"https://api.github.com/users/amarendra-dianomic/followers","following_url":"https://api.github.com/users/amarendra-dianomic/following{/other_user}","gists_url":"https://api.github.com/users/amarendra-dianomic/gists{/gist_id}","starred_url":"https://api.github.com/users/amarendra-dianomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarendra-dianomic/subscriptions","organizations_url":"https://api.github.com/users/amarendra-dianomic/orgs","repos_url":"https://api.github.com/users/amarendra-dianomic/repos","events_url":"https://api.github.com/users/amarendra-dianomic/events{/privacy}","received_events_url":"https://api.github.com/users/amarendra-dianomic/received_events","type":"User","site_admin":false},"body":"Result of running fogb for 60 seconds with coap plugin:\r\n\r\nTotal recs generated in 60 seconds: 24898\r\nNo. of assets: 1\r\nNo. of times statistics table hit for updating statistics: 11\r\nNo. of times statistics table hit for registering a new key: 1\r\n**Total no. of DB hits: 12**\r\n\r\nThis is a vast improvement over develop where the it takes **85 hits** to statistics table for the same no. of recs.\r\n\r\n","created_at":"2018-10-15T08:27:55Z","updated_at":"2018-10-15T08:27:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[{"login":"praveen-garg","id":1974003,"node_id":"MDQ6VXNlcjE5NzQwMDM=","avatar_url":"https://avatars2.githubusercontent.com/u/1974003?v=4","gravatar_id":"","url":"https://api.github.com/users/praveen-garg","html_url":"https://github.com/praveen-garg","followers_url":"https://api.github.com/users/praveen-garg/followers","following_url":"https://api.github.com/users/praveen-garg/following{/other_user}","gists_url":"https://api.github.com/users/praveen-garg/gists{/gist_id}","starred_url":"https://api.github.com/users/praveen-garg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveen-garg/subscriptions","organizations_url":"https://api.github.com/users/praveen-garg/orgs","repos_url":"https://api.github.com/users/praveen-garg/repos","events_url":"https://api.github.com/users/praveen-garg/events{/privacy}","received_events_url":"https://api.github.com/users/praveen-garg/received_events","type":"User","site_admin":false},{"login":"MarkRiddoch","id":6051869,"node_id":"MDQ6VXNlcjYwNTE4Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/6051869?v=4","gravatar_id":"","url":"https://api.github.com/users/MarkRiddoch","html_url":"https://github.com/MarkRiddoch","followers_url":"https://api.github.com/users/MarkRiddoch/followers","following_url":"https://api.github.com/users/MarkRiddoch/following{/other_user}","gists_url":"https://api.github.com/users/MarkRiddoch/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkRiddoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkRiddoch/subscriptions","organizations_url":"https://api.github.com/users/MarkRiddoch/orgs","repos_url":"https://api.github.com/users/MarkRiddoch/repos","events_url":"https://api.github.com/users/MarkRiddoch/events{/privacy}","received_events_url":"https://api.github.com/users/MarkRiddoch/received_events","type":"User","site_admin":false},{"login":"Singhal-Vaibhav","id":27723439,"node_id":"MDQ6VXNlcjI3NzIzNDM5","avatar_url":"https://avatars0.githubusercontent.com/u/27723439?v=4","gravatar_id":"","url":"https://api.github.com/users/Singhal-Vaibhav","html_url":"https://github.com/Singhal-Vaibhav","followers_url":"https://api.github.com/users/Singhal-Vaibhav/followers","following_url":"https://api.github.com/users/Singhal-Vaibhav/following{/other_user}","gists_url":"https://api.github.com/users/Singhal-Vaibhav/gists{/gist_id}","starred_url":"https://api.github.com/users/Singhal-Vaibhav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Singhal-Vaibhav/subscriptions","organizations_url":"https://api.github.com/users/Singhal-Vaibhav/orgs","repos_url":"https://api.github.com/users/Singhal-Vaibhav/repos","events_url":"https://api.github.com/users/Singhal-Vaibhav/events{/privacy}","received_events_url":"https://api.github.com/users/Singhal-Vaibhav/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/foglamp/FogLAMP/pulls/1182/commits","review_comments_url":"https://api.github.com/repos/foglamp/FogLAMP/pulls/1182/comments","review_comment_url":"https://api.github.com/repos/foglamp/FogLAMP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/foglamp/FogLAMP/issues/1182/comments","statuses_url":"https://api.github.com/repos/foglamp/FogLAMP/statuses/0e08140febd9cfddb12377e4faa9cdba99ba30f4","head":{"label":"foglamp:FOGL-1959","ref":"FOGL-1959","sha":"0e08140febd9cfddb12377e4faa9cdba99ba30f4","user":{"login":"foglamp","id":27822234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODIyMjM0","avatar_url":"https://avatars0.githubusercontent.com/u/27822234?v=4","gravatar_id":"","url":"https://api.github.com/users/foglamp","html_url":"https://github.com/foglamp","followers_url":"https://api.github.com/users/foglamp/followers","following_url":"https://api.github.com/users/foglamp/following{/other_user}","gists_url":"https://api.github.com/users/foglamp/gists{/gist_id}","starred_url":"https://api.github.com/users/foglamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foglamp/subscriptions","organizations_url":"https://api.github.com/users/foglamp/orgs","repos_url":"https://api.github.com/users/foglamp/repos","events_url":"https://api.github.com/users/foglamp/events{/privacy}","received_events_url":"https://api.github.com/users/foglamp/received_events","type":"Organization","site_admin":false},"repo":{"id":88887957,"node_id":"MDEwOlJlcG9zaXRvcnk4ODg4Nzk1Nw==","name":"FogLAMP","full_name":"foglamp/FogLAMP","private":false,"owner":{"login":"foglamp","id":27822234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODIyMjM0","avatar_url":"https://avatars0.githubusercontent.com/u/27822234?v=4","gravatar_id":"","url":"https://api.github.com/users/foglamp","html_url":"https://github.com/foglamp","followers_url":"https://api.github.com/users/foglamp/followers","following_url":"https://api.github.com/users/foglamp/following{/other_user}","gists_url":"https://api.github.com/users/foglamp/gists{/gist_id}","starred_url":"https://api.github.com/users/foglamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foglamp/subscriptions","organizations_url":"https://api.github.com/users/foglamp/orgs","repos_url":"https://api.github.com/users/foglamp/repos","events_url":"https://api.github.com/users/foglamp/events{/privacy}","received_events_url":"https://api.github.com/users/foglamp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/foglamp/FogLAMP","description":"An open source platform for the Internet of Things, it acts as an edge gateway between sensor devices and cloud storage systems","fork":false,"url":"https://api.github.com/repos/foglamp/FogLAMP","forks_url":"https://api.github.com/repos/foglamp/FogLAMP/forks","keys_url":"https://api.github.com/repos/foglamp/FogLAMP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foglamp/FogLAMP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foglamp/FogLAMP/teams","hooks_url":"https://api.github.com/repos/foglamp/FogLAMP/hooks","issue_events_url":"https://api.github.com/repos/foglamp/FogLAMP/issues/events{/number}","events_url":"https://api.github.com/repos/foglamp/FogLAMP/events","assignees_url":"https://api.github.com/repos/foglamp/FogLAMP/assignees{/user}","branches_url":"https://api.github.com/repos/foglamp/FogLAMP/branches{/branch}","tags_url":"https://api.github.com/repos/foglamp/FogLAMP/tags","blobs_url":"https://api.github.com/repos/foglamp/FogLAMP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foglamp/FogLAMP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foglamp/FogLAMP/git/refs{/sha}","trees_url":"https://api.github.com/repos/foglamp/FogLAMP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foglamp/FogLAMP/statuses/{sha}","languages_url":"https://api.github.com/repos/foglamp/FogLAMP/languages","stargazers_url":"https://api.github.com/repos/foglamp/FogLAMP/stargazers","contributors_url":"https://api.github.com/repos/foglamp/FogLAMP/contributors","subscribers_url":"https://api.github.com/repos/foglamp/FogLAMP/subscribers","subscription_url":"https://api.github.com/repos/foglamp/FogLAMP/subscription","commits_url":"https://api.github.com/repos/foglamp/FogLAMP/commits{/sha}","git_commits_url":"https://api.github.com/repos/foglamp/FogLAMP/git/commits{/sha}","comments_url":"https://api.github.com/repos/foglamp/FogLAMP/comments{/number}","issue_comment_url":"https://api.github.com/repos/foglamp/FogLAMP/issues/comments{/number}","contents_url":"https://api.github.com/repos/foglamp/FogLAMP/contents/{+path}","compare_url":"https://api.github.com/repos/foglamp/FogLAMP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foglamp/FogLAMP/merges","archive_url":"https://api.github.com/repos/foglamp/FogLAMP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foglamp/FogLAMP/downloads","issues_url":"https://api.github.com/repos/foglamp/FogLAMP/issues{/number}","pulls_url":"https://api.github.com/repos/foglamp/FogLAMP/pulls{/number}","milestones_url":"https://api.github.com/repos/foglamp/FogLAMP/milestones{/number}","notifications_url":"https://api.github.com/repos/foglamp/FogLAMP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foglamp/FogLAMP/labels{/name}","releases_url":"https://api.github.com/repos/foglamp/FogLAMP/releases{/id}","deployments_url":"https://api.github.com/repos/foglamp/FogLAMP/deployments","created_at":"2017-04-20T16:35:27Z","updated_at":"2018-10-14T12:31:28Z","pushed_at":"2018-10-15T08:18:38Z","git_url":"git://github.com/foglamp/FogLAMP.git","ssh_url":"git@github.com:foglamp/FogLAMP.git","clone_url":"https://github.com/foglamp/FogLAMP.git","svn_url":"https://github.com/foglamp/FogLAMP","homepage":"http://foglamp.readthedocs.io/","size":15828,"stargazers_count":30,"watchers_count":30,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":21,"open_issues":9,"watchers":30,"default_branch":"develop"}},"base":{"label":"foglamp:develop","ref":"develop","sha":"1b4076c7ceaa78233f1fe11a34169289e8f62ba4","user":{"login":"foglamp","id":27822234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODIyMjM0","avatar_url":"https://avatars0.githubusercontent.com/u/27822234?v=4","gravatar_id":"","url":"https://api.github.com/users/foglamp","html_url":"https://github.com/foglamp","followers_url":"https://api.github.com/users/foglamp/followers","following_url":"https://api.github.com/users/foglamp/following{/other_user}","gists_url":"https://api.github.com/users/foglamp/gists{/gist_id}","starred_url":"https://api.github.com/users/foglamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foglamp/subscriptions","organizations_url":"https://api.github.com/users/foglamp/orgs","repos_url":"https://api.github.com/users/foglamp/repos","events_url":"https://api.github.com/users/foglamp/events{/privacy}","received_events_url":"https://api.github.com/users/foglamp/received_events","type":"Organization","site_admin":false},"repo":{"id":88887957,"node_id":"MDEwOlJlcG9zaXRvcnk4ODg4Nzk1Nw==","name":"FogLAMP","full_name":"foglamp/FogLAMP","private":false,"owner":{"login":"foglamp","id":27822234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODIyMjM0","avatar_url":"https://avatars0.githubusercontent.com/u/27822234?v=4","gravatar_id":"","url":"https://api.github.com/users/foglamp","html_url":"https://github.com/foglamp","followers_url":"https://api.github.com/users/foglamp/followers","following_url":"https://api.github.com/users/foglamp/following{/other_user}","gists_url":"https://api.github.com/users/foglamp/gists{/gist_id}","starred_url":"https://api.github.com/users/foglamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foglamp/subscriptions","organizations_url":"https://api.github.com/users/foglamp/orgs","repos_url":"https://api.github.com/users/foglamp/repos","events_url":"https://api.github.com/users/foglamp/events{/privacy}","received_events_url":"https://api.github.com/users/foglamp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/foglamp/FogLAMP","description":"An open source platform for the Internet of Things, it acts as an edge gateway between sensor devices and cloud storage systems","fork":false,"url":"https://api.github.com/repos/foglamp/FogLAMP","forks_url":"https://api.github.com/repos/foglamp/FogLAMP/forks","keys_url":"https://api.github.com/repos/foglamp/FogLAMP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foglamp/FogLAMP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foglamp/FogLAMP/teams","hooks_url":"https://api.github.com/repos/foglamp/FogLAMP/hooks","issue_events_url":"https://api.github.com/repos/foglamp/FogLAMP/issues/events{/number}","events_url":"https://api.github.com/repos/foglamp/FogLAMP/events","assignees_url":"https://api.github.com/repos/foglamp/FogLAMP/assignees{/user}","branches_url":"https://api.github.com/repos/foglamp/FogLAMP/branches{/branch}","tags_url":"https://api.github.com/repos/foglamp/FogLAMP/tags","blobs_url":"https://api.github.com/repos/foglamp/FogLAMP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foglamp/FogLAMP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foglamp/FogLAMP/git/refs{/sha}","trees_url":"https://api.github.com/repos/foglamp/FogLAMP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foglamp/FogLAMP/statuses/{sha}","languages_url":"https://api.github.com/repos/foglamp/FogLAMP/languages","stargazers_url":"https://api.github.com/repos/foglamp/FogLAMP/stargazers","contributors_url":"https://api.github.com/repos/foglamp/FogLAMP/contributors","subscribers_url":"https://api.github.com/repos/foglamp/FogLAMP/subscribers","subscription_url":"https://api.github.com/repos/foglamp/FogLAMP/subscription","commits_url":"https://api.github.com/repos/foglamp/FogLAMP/commits{/sha}","git_commits_url":"https://api.github.com/repos/foglamp/FogLAMP/git/commits{/sha}","comments_url":"https://api.github.com/repos/foglamp/FogLAMP/comments{/number}","issue_comment_url":"https://api.github.com/repos/foglamp/FogLAMP/issues/comments{/number}","contents_url":"https://api.github.com/repos/foglamp/FogLAMP/contents/{+path}","compare_url":"https://api.github.com/repos/foglamp/FogLAMP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foglamp/FogLAMP/merges","archive_url":"https://api.github.com/repos/foglamp/FogLAMP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foglamp/FogLAMP/downloads","issues_url":"https://api.github.com/repos/foglamp/FogLAMP/issues{/number}","pulls_url":"https://api.github.com/repos/foglamp/FogLAMP/pulls{/number}","milestones_url":"https://api.github.com/repos/foglamp/FogLAMP/milestones{/number}","notifications_url":"https://api.github.com/repos/foglamp/FogLAMP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foglamp/FogLAMP/labels{/name}","releases_url":"https://api.github.com/repos/foglamp/FogLAMP/releases{/id}","deployments_url":"https://api.github.com/repos/foglamp/FogLAMP/deployments","created_at":"2017-04-20T16:35:27Z","updated_at":"2018-10-14T12:31:28Z","pushed_at":"2018-10-15T08:18:38Z","git_url":"git://github.com/foglamp/FogLAMP.git","ssh_url":"git@github.com:foglamp/FogLAMP.git","clone_url":"https://github.com/foglamp/FogLAMP.git","svn_url":"https://github.com/foglamp/FogLAMP","homepage":"http://foglamp.readthedocs.io/","size":15828,"stargazers_count":30,"watchers_count":30,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":21,"open_issues":9,"watchers":30,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/foglamp/FogLAMP/pulls/1182"},"html":{"href":"https://github.com/foglamp/FogLAMP/pull/1182"},"issue":{"href":"https://api.github.com/repos/foglamp/FogLAMP/issues/1182"},"comments":{"href":"https://api.github.com/repos/foglamp/FogLAMP/issues/1182/comments"},"review_comments":{"href":"https://api.github.com/repos/foglamp/FogLAMP/pulls/1182/comments"},"review_comment":{"href":"https://api.github.com/repos/foglamp/FogLAMP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/foglamp/FogLAMP/pulls/1182/commits"},"statuses":{"href":"https://api.github.com/repos/foglamp/FogLAMP/statuses/0e08140febd9cfddb12377e4faa9cdba99ba30f4"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":43,"deletions":21,"changed_files":2}}
{"actor":{"display_login":"amarendra-dianomic"}}