{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/1232","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/1232/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/1232/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/1232/events","html_url":"https://github.com/grafana/grafana/issues/1232","id":51993162,"node_id":"MDU6SXNzdWU1MTk5MzE2Mg==","number":1232,"title":"Feature Request: Add per metric (Drilldown) link to add another variable to a Drilldown graph link","user":{"login":"toni-moreno","id":5883405,"node_id":"MDQ6VXNlcjU4ODM0MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/5883405?v=4","gravatar_id":"","url":"https://api.github.com/users/toni-moreno","html_url":"https://github.com/toni-moreno","followers_url":"https://api.github.com/users/toni-moreno/followers","following_url":"https://api.github.com/users/toni-moreno/following{/other_user}","gists_url":"https://api.github.com/users/toni-moreno/gists{/gist_id}","starred_url":"https://api.github.com/users/toni-moreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toni-moreno/subscriptions","organizations_url":"https://api.github.com/users/toni-moreno/orgs","repos_url":"https://api.github.com/users/toni-moreno/repos","events_url":"https://api.github.com/users/toni-moreno/events{/privacy}","received_events_url":"https://api.github.com/users/toni-moreno/received_events","type":"User","site_admin":false},"labels":[{"id":120793231,"node_id":"MDU6TGFiZWwxMjA3OTMyMzE=","url":"https://api.github.com/repos/grafana/grafana/labels/comp:%20dashboard/templating","name":"comp: dashboard/templating","color":"c7def8","default":false},{"id":81198721,"node_id":"MDU6TGFiZWw4MTE5ODcyMQ==","url":"https://api.github.com/repos/grafana/grafana/labels/type:%20feature%20request","name":"type: feature request","color":"dddddd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":51,"created_at":"2014-12-15T14:42:33Z","updated_at":"2018-10-30T16:51:35Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Consider the following use case:\n\nI summarize the max waiting connections for all datasources on a weblogic  domain with 4 weblogic instances, after select domain and other location variables.\n\n![image](https://cloud.githubusercontent.com/assets/5883405/5437055/55561c88-846d-11e4-9634-53e4ddcef057.png)\n\nmy graphs looks like that: \n\n![image](https://cloud.githubusercontent.com/assets/5883405/5437005/d223cdce-846c-11e4-99ee-1f4503451180.png).\n\nAfter I can see the affected instances I will want to see detailed information on each weblogic instance) . \n\nWe have built another dashboard [ DATASOURCES_X_INSTANCE] with all datasources per instances listed and I've linked will current dashboard  passing all location variables\n\n![image](https://cloud.githubusercontent.com/assets/5883405/5437212/b9a018c8-846e-11e4-8ead-aa64c69fbbfb.png)\n\nwe'll load with : \n\n```\nvar-backend=$backend&var-xxxxx=$xxxxx&var-yyyyy=$yyyyy&var-zzz=$zzzz&var-domain=$domain\n```\n\nthis dashboard has also another variable called \"instance\" . At this point  we need to add another link near the instance name (per metric)  linked with the same drill-down graph link but adding a new variable ( instance) \n\n![image](https://cloud.githubusercontent.com/assets/5883405/5437451/e7439758-8470-11e4-813d-185daf23a67d.png)\n\nOn click over the \"link image\"  grafana will redirect me to the DATASOURCES_X_INSTANCE with these variables.\n- var-backend=$backend\n- var-xxxxx=$xxxxx\n- var-yyyyy=$yyyyy\n- var-zzz=$zzzz\n- var-domain=$domain\n- **var-instance=$(name_in_metric_legend)**\n\nIf done I will be able to select among all my instances ( once selected location/domain previously on the main dashboard) \n\nWhat do you think about?\n"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/434381682","html_url":"https://github.com/grafana/grafana/issues/1232#issuecomment-434381682","issue_url":"https://api.github.com/repos/grafana/grafana/issues/1232","id":434381682,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDM4MTY4Mg==","user":{"login":"mkaluza","id":991991,"node_id":"MDQ6VXNlcjk5MTk5MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/991991?v=4","gravatar_id":"","url":"https://api.github.com/users/mkaluza","html_url":"https://github.com/mkaluza","followers_url":"https://api.github.com/users/mkaluza/followers","following_url":"https://api.github.com/users/mkaluza/following{/other_user}","gists_url":"https://api.github.com/users/mkaluza/gists{/gist_id}","starred_url":"https://api.github.com/users/mkaluza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkaluza/subscriptions","organizations_url":"https://api.github.com/users/mkaluza/orgs","repos_url":"https://api.github.com/users/mkaluza/repos","events_url":"https://api.github.com/users/mkaluza/events{/privacy}","received_events_url":"https://api.github.com/users/mkaluza/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T16:51:35Z","updated_at":"2018-10-30T16:51:35Z","author_association":"NONE","body":"@torkelo I had a look into the code and I think I could implement this.\r\nImplementing one url pattern per graph is easy - already did it.\r\n\r\nBut I'm having trouble with one thing. I would like to be able to add templates per target, but I can't find the connection between data series and the target it came from. How can I connect result metrics like servers.1.load,  servers.2.load etc with target servers.*.load? "}}
{"actor":{"display_login":"mkaluza"}}