{"action":"opened","number":3892,"pull_request":{"url":"https://api.github.com/repos/grafana/grafana/pulls/3892","id":57724368,"html_url":"https://github.com/grafana/grafana/pull/3892","diff_url":"https://github.com/grafana/grafana/pull/3892.diff","patch_url":"https://github.com/grafana/grafana/pull/3892.patch","issue_url":"https://api.github.com/repos/grafana/grafana/issues/3892","number":3892,"state":"open","locked":false,"title":"Allow the use of auth and credentials in opentsdb","user":{"login":"pfischermx","id":2073487,"avatar_url":"https://avatars.githubusercontent.com/u/2073487?v=3","gravatar_id":"","url":"https://api.github.com/users/pfischermx","html_url":"https://github.com/pfischermx","followers_url":"https://api.github.com/users/pfischermx/followers","following_url":"https://api.github.com/users/pfischermx/following{/other_user}","gists_url":"https://api.github.com/users/pfischermx/gists{/gist_id}","starred_url":"https://api.github.com/users/pfischermx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfischermx/subscriptions","organizations_url":"https://api.github.com/users/pfischermx/orgs","repos_url":"https://api.github.com/users/pfischermx/repos","events_url":"https://api.github.com/users/pfischermx/events{/privacy}","received_events_url":"https://api.github.com/users/pfischermx/received_events","type":"User","site_admin":false},"body":"I had a local hack that was adding credentials to requests but then I tried the nightly build and noted the credentials were still not getting sent even if I selected \"With Credentials\". It seems that opentsdb is just obviously not sending it after comparing the code with other datasources.\r\n\r\nThis PR will set withCredentials and auth (if used) to the request. ","created_at":"2016-01-30T01:14:15Z","updated_at":"2016-01-30T01:14:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/grafana/grafana/pulls/3892/commits","review_comments_url":"https://api.github.com/repos/grafana/grafana/pulls/3892/comments","review_comment_url":"https://api.github.com/repos/grafana/grafana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/3892/comments","statuses_url":"https://api.github.com/repos/grafana/grafana/statuses/98082a940cb9ce4345fd1e6b9e96a2a26670dd26","head":{"label":"pfischermx:master","ref":"master","sha":"98082a940cb9ce4345fd1e6b9e96a2a26670dd26","user":{"login":"pfischermx","id":2073487,"avatar_url":"https://avatars.githubusercontent.com/u/2073487?v=3","gravatar_id":"","url":"https://api.github.com/users/pfischermx","html_url":"https://github.com/pfischermx","followers_url":"https://api.github.com/users/pfischermx/followers","following_url":"https://api.github.com/users/pfischermx/following{/other_user}","gists_url":"https://api.github.com/users/pfischermx/gists{/gist_id}","starred_url":"https://api.github.com/users/pfischermx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfischermx/subscriptions","organizations_url":"https://api.github.com/users/pfischermx/orgs","repos_url":"https://api.github.com/users/pfischermx/repos","events_url":"https://api.github.com/users/pfischermx/events{/privacy}","received_events_url":"https://api.github.com/users/pfischermx/received_events","type":"User","site_admin":false},"repo":{"id":50390324,"name":"grafana","full_name":"pfischermx/grafana","owner":{"login":"pfischermx","id":2073487,"avatar_url":"https://avatars.githubusercontent.com/u/2073487?v=3","gravatar_id":"","url":"https://api.github.com/users/pfischermx","html_url":"https://github.com/pfischermx","followers_url":"https://api.github.com/users/pfischermx/followers","following_url":"https://api.github.com/users/pfischermx/following{/other_user}","gists_url":"https://api.github.com/users/pfischermx/gists{/gist_id}","starred_url":"https://api.github.com/users/pfischermx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfischermx/subscriptions","organizations_url":"https://api.github.com/users/pfischermx/orgs","repos_url":"https://api.github.com/users/pfischermx/repos","events_url":"https://api.github.com/users/pfischermx/events{/privacy}","received_events_url":"https://api.github.com/users/pfischermx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pfischermx/grafana","description":"Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB","fork":true,"url":"https://api.github.com/repos/pfischermx/grafana","forks_url":"https://api.github.com/repos/pfischermx/grafana/forks","keys_url":"https://api.github.com/repos/pfischermx/grafana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pfischermx/grafana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pfischermx/grafana/teams","hooks_url":"https://api.github.com/repos/pfischermx/grafana/hooks","issue_events_url":"https://api.github.com/repos/pfischermx/grafana/issues/events{/number}","events_url":"https://api.github.com/repos/pfischermx/grafana/events","assignees_url":"https://api.github.com/repos/pfischermx/grafana/assignees{/user}","branches_url":"https://api.github.com/repos/pfischermx/grafana/branches{/branch}","tags_url":"https://api.github.com/repos/pfischermx/grafana/tags","blobs_url":"https://api.github.com/repos/pfischermx/grafana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pfischermx/grafana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pfischermx/grafana/git/refs{/sha}","trees_url":"https://api.github.com/repos/pfischermx/grafana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pfischermx/grafana/statuses/{sha}","languages_url":"https://api.github.com/repos/pfischermx/grafana/languages","stargazers_url":"https://api.github.com/repos/pfischermx/grafana/stargazers","contributors_url":"https://api.github.com/repos/pfischermx/grafana/contributors","subscribers_url":"https://api.github.com/repos/pfischermx/grafana/subscribers","subscription_url":"https://api.github.com/repos/pfischermx/grafana/subscription","commits_url":"https://api.github.com/repos/pfischermx/grafana/commits{/sha}","git_commits_url":"https://api.github.com/repos/pfischermx/grafana/git/commits{/sha}","comments_url":"https://api.github.com/repos/pfischermx/grafana/comments{/number}","issue_comment_url":"https://api.github.com/repos/pfischermx/grafana/issues/comments{/number}","contents_url":"https://api.github.com/repos/pfischermx/grafana/contents/{+path}","compare_url":"https://api.github.com/repos/pfischermx/grafana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pfischermx/grafana/merges","archive_url":"https://api.github.com/repos/pfischermx/grafana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pfischermx/grafana/downloads","issues_url":"https://api.github.com/repos/pfischermx/grafana/issues{/number}","pulls_url":"https://api.github.com/repos/pfischermx/grafana/pulls{/number}","milestones_url":"https://api.github.com/repos/pfischermx/grafana/milestones{/number}","notifications_url":"https://api.github.com/repos/pfischermx/grafana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pfischermx/grafana/labels{/name}","releases_url":"https://api.github.com/repos/pfischermx/grafana/releases{/id}","deployments_url":"https://api.github.com/repos/pfischermx/grafana/deployments","created_at":"2016-01-26T00:09:03Z","updated_at":"2016-01-26T00:09:05Z","pushed_at":"2016-01-30T01:10:10Z","git_url":"git://github.com/pfischermx/grafana.git","ssh_url":"git@github.com:pfischermx/grafana.git","clone_url":"https://github.com/pfischermx/grafana.git","svn_url":"https://github.com/pfischermx/grafana","homepage":"http://grafana.org","size":87335,"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":"12460af0ecb820b7e372c342eaf0ef28ecde3e19","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}","deployments_url":"https://api.github.com/repos/grafana/grafana/deployments","created_at":"2013-12-11T15:59:56Z","updated_at":"2016-01-30T00:41:22Z","pushed_at":"2016-01-30T01:14:15Z","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":125083,"stargazers_count":8113,"watchers_count":8113,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1211,"mirror_url":null,"open_issues_count":494,"forks":1211,"open_issues":494,"watchers":8113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grafana/grafana/pulls/3892"},"html":{"href":"https://github.com/grafana/grafana/pull/3892"},"issue":{"href":"https://api.github.com/repos/grafana/grafana/issues/3892"},"comments":{"href":"https://api.github.com/repos/grafana/grafana/issues/3892/comments"},"review_comments":{"href":"https://api.github.com/repos/grafana/grafana/pulls/3892/comments"},"review_comment":{"href":"https://api.github.com/repos/grafana/grafana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grafana/grafana/pulls/3892/commits"},"statuses":{"href":"https://api.github.com/repos/grafana/grafana/statuses/98082a940cb9ce4345fd1e6b9e96a2a26670dd26"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":0,"changed_files":1}}