{"action":"opened","number":3400,"pull_request":{"url":"https://api.github.com/repos/grafana/grafana/pulls/3400","id":52471779,"html_url":"https://github.com/grafana/grafana/pull/3400","diff_url":"https://github.com/grafana/grafana/pull/3400.diff","patch_url":"https://github.com/grafana/grafana/pull/3400.patch","issue_url":"https://api.github.com/repos/grafana/grafana/issues/3400","number":3400,"state":"open","locked":false,"title":"Wait for all panels to render in PhantomJS","user":{"login":"greglook","id":3128434,"avatar_url":"https://avatars.githubusercontent.com/u/3128434?v=3","gravatar_id":"","url":"https://api.github.com/users/greglook","html_url":"https://github.com/greglook","followers_url":"https://api.github.com/users/greglook/followers","following_url":"https://api.github.com/users/greglook/following{/other_user}","gists_url":"https://api.github.com/users/greglook/gists{/gist_id}","starred_url":"https://api.github.com/users/greglook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greglook/subscriptions","organizations_url":"https://api.github.com/users/greglook/orgs","repos_url":"https://api.github.com/users/greglook/repos","events_url":"https://api.github.com/users/greglook/events{/privacy}","received_events_url":"https://api.github.com/users/greglook/received_events","type":"User","site_admin":false},"body":"Fixes #2085\r\n\r\nWe want to set up physical displays (mounted TVs) to show dashboards in Grafana, driven by a RaspberryPI. The problem we encountered is that the raspberry has to load all the client-side code and data, even though no one will be interacting with the display. Instead, it'd be much faster to have the server render the dashboard and just serve up the image on the display.\r\n\r\nThis changes the PhantomJS rendering script to wait for at least the number of panel elements on the page to render, rather than waiting for only one of them. I've tested locally and both single-panel and dashboard rendering works as expected.\r\n\r\ncc @cyc @jamesob","created_at":"2015-12-02T23:41:22Z","updated_at":"2015-12-02T23:41:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/grafana/grafana/pulls/3400/commits","review_comments_url":"https://api.github.com/repos/grafana/grafana/pulls/3400/comments","review_comment_url":"https://api.github.com/repos/grafana/grafana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/3400/comments","statuses_url":"https://api.github.com/repos/grafana/grafana/statuses/a1f103576ac96a139a133500d9e4bd21f935e00c","head":{"label":"counsyl:wait-for-dashboard-render","ref":"wait-for-dashboard-render","sha":"a1f103576ac96a139a133500d9e4bd21f935e00c","user":{"login":"counsyl","id":538578,"avatar_url":"https://avatars.githubusercontent.com/u/538578?v=3","gravatar_id":"","url":"https://api.github.com/users/counsyl","html_url":"https://github.com/counsyl","followers_url":"https://api.github.com/users/counsyl/followers","following_url":"https://api.github.com/users/counsyl/following{/other_user}","gists_url":"https://api.github.com/users/counsyl/gists{/gist_id}","starred_url":"https://api.github.com/users/counsyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/counsyl/subscriptions","organizations_url":"https://api.github.com/users/counsyl/orgs","repos_url":"https://api.github.com/users/counsyl/repos","events_url":"https://api.github.com/users/counsyl/events{/privacy}","received_events_url":"https://api.github.com/users/counsyl/received_events","type":"Organization","site_admin":false},"repo":{"id":39918005,"name":"grafana","full_name":"counsyl/grafana","owner":{"login":"counsyl","id":538578,"avatar_url":"https://avatars.githubusercontent.com/u/538578?v=3","gravatar_id":"","url":"https://api.github.com/users/counsyl","html_url":"https://github.com/counsyl","followers_url":"https://api.github.com/users/counsyl/followers","following_url":"https://api.github.com/users/counsyl/following{/other_user}","gists_url":"https://api.github.com/users/counsyl/gists{/gist_id}","starred_url":"https://api.github.com/users/counsyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/counsyl/subscriptions","organizations_url":"https://api.github.com/users/counsyl/orgs","repos_url":"https://api.github.com/users/counsyl/repos","events_url":"https://api.github.com/users/counsyl/events{/privacy}","received_events_url":"https://api.github.com/users/counsyl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/counsyl/grafana","description":"Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB","fork":true,"url":"https://api.github.com/repos/counsyl/grafana","forks_url":"https://api.github.com/repos/counsyl/grafana/forks","keys_url":"https://api.github.com/repos/counsyl/grafana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/counsyl/grafana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/counsyl/grafana/teams","hooks_url":"https://api.github.com/repos/counsyl/grafana/hooks","issue_events_url":"https://api.github.com/repos/counsyl/grafana/issues/events{/number}","events_url":"https://api.github.com/repos/counsyl/grafana/events","assignees_url":"https://api.github.com/repos/counsyl/grafana/assignees{/user}","branches_url":"https://api.github.com/repos/counsyl/grafana/branches{/branch}","tags_url":"https://api.github.com/repos/counsyl/grafana/tags","blobs_url":"https://api.github.com/repos/counsyl/grafana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/counsyl/grafana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/counsyl/grafana/git/refs{/sha}","trees_url":"https://api.github.com/repos/counsyl/grafana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/counsyl/grafana/statuses/{sha}","languages_url":"https://api.github.com/repos/counsyl/grafana/languages","stargazers_url":"https://api.github.com/repos/counsyl/grafana/stargazers","contributors_url":"https://api.github.com/repos/counsyl/grafana/contributors","subscribers_url":"https://api.github.com/repos/counsyl/grafana/subscribers","subscription_url":"https://api.github.com/repos/counsyl/grafana/subscription","commits_url":"https://api.github.com/repos/counsyl/grafana/commits{/sha}","git_commits_url":"https://api.github.com/repos/counsyl/grafana/git/commits{/sha}","comments_url":"https://api.github.com/repos/counsyl/grafana/comments{/number}","issue_comment_url":"https://api.github.com/repos/counsyl/grafana/issues/comments{/number}","contents_url":"https://api.github.com/repos/counsyl/grafana/contents/{+path}","compare_url":"https://api.github.com/repos/counsyl/grafana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/counsyl/grafana/merges","archive_url":"https://api.github.com/repos/counsyl/grafana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/counsyl/grafana/downloads","issues_url":"https://api.github.com/repos/counsyl/grafana/issues{/number}","pulls_url":"https://api.github.com/repos/counsyl/grafana/pulls{/number}","milestones_url":"https://api.github.com/repos/counsyl/grafana/milestones{/number}","notifications_url":"https://api.github.com/repos/counsyl/grafana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/counsyl/grafana/labels{/name}","releases_url":"https://api.github.com/repos/counsyl/grafana/releases{/id}","created_at":"2015-07-29T21:47:59Z","updated_at":"2015-07-29T21:48:00Z","pushed_at":"2015-12-02T23:13:17Z","git_url":"git://github.com/counsyl/grafana.git","ssh_url":"git@github.com:counsyl/grafana.git","clone_url":"https://github.com/counsyl/grafana.git","svn_url":"https://github.com/counsyl/grafana","homepage":"http://grafana.org","size":78457,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"grafana:master","ref":"master","sha":"8eb3e48bc7c65f3682d71cc1923b3d4170f3edb9","user":{"login":"grafana","id":7195757,"avatar_url":"https://avatars.githubusercontent.com/u/7195757?v=3","gravatar_id":"","url":"https://api.github.com/users/grafana","html_url":"https://github.com/grafana","followers_url":"https://api.github.com/users/grafana/followers","following_url":"https://api.github.com/users/grafana/following{/other_user}","gists_url":"https://api.github.com/users/grafana/gists{/gist_id}","starred_url":"https://api.github.com/users/grafana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grafana/subscriptions","organizations_url":"https://api.github.com/users/grafana/orgs","repos_url":"https://api.github.com/users/grafana/repos","events_url":"https://api.github.com/users/grafana/events{/privacy}","received_events_url":"https://api.github.com/users/grafana/received_events","type":"Organization","site_admin":false},"repo":{"id":15111821,"name":"grafana","full_name":"grafana/grafana","owner":{"login":"grafana","id":7195757,"avatar_url":"https://avatars.githubusercontent.com/u/7195757?v=3","gravatar_id":"","url":"https://api.github.com/users/grafana","html_url":"https://github.com/grafana","followers_url":"https://api.github.com/users/grafana/followers","following_url":"https://api.github.com/users/grafana/following{/other_user}","gists_url":"https://api.github.com/users/grafana/gists{/gist_id}","starred_url":"https://api.github.com/users/grafana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grafana/subscriptions","organizations_url":"https://api.github.com/users/grafana/orgs","repos_url":"https://api.github.com/users/grafana/repos","events_url":"https://api.github.com/users/grafana/events{/privacy}","received_events_url":"https://api.github.com/users/grafana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grafana/grafana","description":"Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB","fork":false,"url":"https://api.github.com/repos/grafana/grafana","forks_url":"https://api.github.com/repos/grafana/grafana/forks","keys_url":"https://api.github.com/repos/grafana/grafana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grafana/grafana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grafana/grafana/teams","hooks_url":"https://api.github.com/repos/grafana/grafana/hooks","issue_events_url":"https://api.github.com/repos/grafana/grafana/issues/events{/number}","events_url":"https://api.github.com/repos/grafana/grafana/events","assignees_url":"https://api.github.com/repos/grafana/grafana/assignees{/user}","branches_url":"https://api.github.com/repos/grafana/grafana/branches{/branch}","tags_url":"https://api.github.com/repos/grafana/grafana/tags","blobs_url":"https://api.github.com/repos/grafana/grafana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grafana/grafana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grafana/grafana/git/refs{/sha}","trees_url":"https://api.github.com/repos/grafana/grafana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grafana/grafana/statuses/{sha}","languages_url":"https://api.github.com/repos/grafana/grafana/languages","stargazers_url":"https://api.github.com/repos/grafana/grafana/stargazers","contributors_url":"https://api.github.com/repos/grafana/grafana/contributors","subscribers_url":"https://api.github.com/repos/grafana/grafana/subscribers","subscription_url":"https://api.github.com/repos/grafana/grafana/subscription","commits_url":"https://api.github.com/repos/grafana/grafana/commits{/sha}","git_commits_url":"https://api.github.com/repos/grafana/grafana/git/commits{/sha}","comments_url":"https://api.github.com/repos/grafana/grafana/comments{/number}","issue_comment_url":"https://api.github.com/repos/grafana/grafana/issues/comments{/number}","contents_url":"https://api.github.com/repos/grafana/grafana/contents/{+path}","compare_url":"https://api.github.com/repos/grafana/grafana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grafana/grafana/merges","archive_url":"https://api.github.com/repos/grafana/grafana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grafana/grafana/downloads","issues_url":"https://api.github.com/repos/grafana/grafana/issues{/number}","pulls_url":"https://api.github.com/repos/grafana/grafana/pulls{/number}","milestones_url":"https://api.github.com/repos/grafana/grafana/milestones{/number}","notifications_url":"https://api.github.com/repos/grafana/grafana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grafana/grafana/labels{/name}","releases_url":"https://api.github.com/repos/grafana/grafana/releases{/id}","created_at":"2013-12-11T15:59:56Z","updated_at":"2015-12-02T21:58:56Z","pushed_at":"2015-12-02T17:31:18Z","git_url":"git://github.com/grafana/grafana.git","ssh_url":"git@github.com:grafana/grafana.git","clone_url":"https://github.com/grafana/grafana.git","svn_url":"https://github.com/grafana/grafana","homepage":"http://grafana.org","size":110576,"stargazers_count":7440,"watchers_count":7440,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1089,"mirror_url":null,"open_issues_count":621,"forks":1089,"open_issues":621,"watchers":7440,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grafana/grafana/pulls/3400"},"html":{"href":"https://github.com/grafana/grafana/pull/3400"},"issue":{"href":"https://api.github.com/repos/grafana/grafana/issues/3400"},"comments":{"href":"https://api.github.com/repos/grafana/grafana/issues/3400/comments"},"review_comments":{"href":"https://api.github.com/repos/grafana/grafana/pulls/3400/comments"},"review_comment":{"href":"https://api.github.com/repos/grafana/grafana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grafana/grafana/pulls/3400/commits"},"statuses":{"href":"https://api.github.com/repos/grafana/grafana/statuses/a1f103576ac96a139a133500d9e4bd21f935e00c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}