{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/simple-json-datasource/issues/29","repository_url":"https://api.github.com/repos/grafana/simple-json-datasource","labels_url":"https://api.github.com/repos/grafana/simple-json-datasource/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/grafana/simple-json-datasource/issues/29/comments","events_url":"https://api.github.com/repos/grafana/simple-json-datasource/issues/29/events","html_url":"https://github.com/grafana/simple-json-datasource/issues/29","id":185089280,"number":29,"title":"Metric query does not substitute other templating variables in queries","user":{"login":"0x6373","id":6839282,"avatar_url":"https://avatars.githubusercontent.com/u/6839282?v=3","gravatar_id":"","url":"https://api.github.com/users/0x6373","html_url":"https://github.com/0x6373","followers_url":"https://api.github.com/users/0x6373/followers","following_url":"https://api.github.com/users/0x6373/following{/other_user}","gists_url":"https://api.github.com/users/0x6373/gists{/gist_id}","starred_url":"https://api.github.com/users/0x6373/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x6373/subscriptions","organizations_url":"https://api.github.com/users/0x6373/orgs","repos_url":"https://api.github.com/users/0x6373/repos","events_url":"https://api.github.com/users/0x6373/events{/privacy}","received_events_url":"https://api.github.com/users/0x6373/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-25T11:26:29Z","updated_at":"2016-10-31T07:02:04Z","closed_at":"2016-10-31T07:02:04Z","body":"When using a templating variable to query a simple-json-datasource in another templating variable (so query will be something like \"server.$servername.network.*\") there is no substitution of the variable in the query.\n\nLet's say we have a variable called \"servername\" which currently has the value \"testserver1\".\nNow i want to have a list of network interfaces in another variable (for templating), so i would query the datasource with a query of \"server.$servername\".network.*\".\n\nWith a graphite datasource the request sent to the backend is then \"server.testserver1.network._\", but with simple-json-datasource i get the following request: \"server.$servername.network._\".\n\nI think \"$servername\" should be substituted, am i right?\n"},"comment":{"url":"https://api.github.com/repos/grafana/simple-json-datasource/issues/comments/257226060","html_url":"https://github.com/grafana/simple-json-datasource/issues/29#issuecomment-257226060","issue_url":"https://api.github.com/repos/grafana/simple-json-datasource/issues/29","id":257226060,"user":{"login":"bergquist","id":618863,"avatar_url":"https://avatars.githubusercontent.com/u/618863?v=3","gravatar_id":"","url":"https://api.github.com/users/bergquist","html_url":"https://github.com/bergquist","followers_url":"https://api.github.com/users/bergquist/followers","following_url":"https://api.github.com/users/bergquist/following{/other_user}","gists_url":"https://api.github.com/users/bergquist/gists{/gist_id}","starred_url":"https://api.github.com/users/bergquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergquist/subscriptions","organizations_url":"https://api.github.com/users/bergquist/orgs","repos_url":"https://api.github.com/users/bergquist/repos","events_url":"https://api.github.com/users/bergquist/events{/privacy}","received_events_url":"https://api.github.com/users/bergquist/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T07:02:04Z","updated_at":"2016-10-31T07:02:04Z","body":"closed by #23 "}}
{"actor":{"display_login":"bergquist"}}