{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/3178","labels_url":"https://api.github.com/repos/grafana/grafana/issues/3178/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/3178/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/3178/events","html_url":"https://github.com/grafana/grafana/pull/3178","id":115933233,"number":3178,"title":"Add Dynamic Datasources","user":{"login":"jonnyreeves","id":200185,"avatar_url":"https://avatars.githubusercontent.com/u/200185?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnyreeves","html_url":"https://github.com/jonnyreeves","followers_url":"https://api.github.com/users/jonnyreeves/followers","following_url":"https://api.github.com/users/jonnyreeves/following{/other_user}","gists_url":"https://api.github.com/users/jonnyreeves/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnyreeves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnyreeves/subscriptions","organizations_url":"https://api.github.com/users/jonnyreeves/orgs","repos_url":"https://api.github.com/users/jonnyreeves/repos","events_url":"https://api.github.com/users/jonnyreeves/events{/privacy}","received_events_url":"https://api.github.com/users/jonnyreeves/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-09T18:09:54Z","updated_at":"2015-12-06T07:38:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/grafana/grafana/pulls/3178","html_url":"https://github.com/grafana/grafana/pull/3178","diff_url":"https://github.com/grafana/grafana/pull/3178.diff","patch_url":"https://github.com/grafana/grafana/pull/3178.patch"},"body":"Rebase toni-moreno's DataSource Variables branch and modify it so that `datasourceSrv.js` treats dynamic data-sources as first-class concepts."},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/162285038","html_url":"https://github.com/grafana/grafana/pull/3178#issuecomment-162285038","issue_url":"https://api.github.com/repos/grafana/grafana/issues/3178","id":162285038,"user":{"login":"grobie","id":3432,"avatar_url":"https://avatars.githubusercontent.com/u/3432?v=3","gravatar_id":"","url":"https://api.github.com/users/grobie","html_url":"https://github.com/grobie","followers_url":"https://api.github.com/users/grobie/followers","following_url":"https://api.github.com/users/grobie/following{/other_user}","gists_url":"https://api.github.com/users/grobie/gists{/gist_id}","starred_url":"https://api.github.com/users/grobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grobie/subscriptions","organizations_url":"https://api.github.com/users/grobie/orgs","repos_url":"https://api.github.com/users/grobie/repos","events_url":"https://api.github.com/users/grobie/events{/privacy}","received_events_url":"https://api.github.com/users/grobie/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T07:38:31Z","updated_at":"2015-12-06T07:38:31Z","body":"Great work!\r\n\r\nMy idea included indeed your suggested match string, I think a regex would provide the user with a good interface. I'd separate the idea of making it easier to maintain many servers from this PR. There are probably more use cases than our one-server-per-region one. I expect many setups which don't necessarily have a pattern in their server names like in @juliusv's example `http://prometheus-some-team-{{zone}}:9090/`. For these the current implementation makes sense. I have an idea for that use case which could be implemented separately.\r\n\r\nLGTM!"}}