{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/5174","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/5174/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/5174/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/5174/events","html_url":"https://github.com/grafana/grafana/issues/5174","id":156804525,"number":5174,"title":"[Bug] $tag_tagname substitution not working with with tag names containing dashes","user":{"login":"dwo","id":131652,"avatar_url":"https://avatars.githubusercontent.com/u/131652?v=3","gravatar_id":"","url":"https://api.github.com/users/dwo","html_url":"https://github.com/dwo","followers_url":"https://api.github.com/users/dwo/followers","following_url":"https://api.github.com/users/dwo/following{/other_user}","gists_url":"https://api.github.com/users/dwo/gists{/gist_id}","starred_url":"https://api.github.com/users/dwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwo/subscriptions","organizations_url":"https://api.github.com/users/dwo/orgs","repos_url":"https://api.github.com/users/dwo/repos","events_url":"https://api.github.com/users/dwo/events{/privacy}","received_events_url":"https://api.github.com/users/dwo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-25T17:18:09Z","updated_at":"2016-05-25T18:35:19Z","closed_at":null,"body":">What Grafana version are you using?\r\n\r\n2.6.0\r\n\r\n> What datasource are you using?\r\n\r\nOpenTSDB\r\n\r\n> What OS are you running grafana on?\r\n\r\nI'm observing this in Firefox 47b6 on Mac OS X 10.11.5 (Grafana itself is on Linux)\r\n\r\n> What did you do?\r\n\r\nI queried an OpenTSDB metric with a tag like `foo-bar=*` and added `$tag_foo-bar` in the Alias field.\r\n\r\n> What was the expected result?\r\n\r\nFor the various values of the `foo-bar` tag to be substituted into the legend.\r\n\r\n> What happenend instead?\r\n\r\nThe legend displays `$tag_foo-bar` as is for each of the graphed lines in the Legend.\r\n\r\nI confirmed that this bug doesn't happen for a non-dashed tag for the same metric. I haven't tried this against Grafana 3.0 yet.\r\n\r\n![grafana - tag_tagname bug](https://cloud.githubusercontent.com/assets/131652/15549514/c8d6e2e2-22a4-11e6-85af-763b369274b6.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/221666234","html_url":"https://github.com/grafana/grafana/issues/5174#issuecomment-221666234","issue_url":"https://api.github.com/repos/grafana/grafana/issues/5174","id":221666234,"user":{"login":"utkarshcmu","id":1019609,"avatar_url":"https://avatars.githubusercontent.com/u/1019609?v=3","gravatar_id":"","url":"https://api.github.com/users/utkarshcmu","html_url":"https://github.com/utkarshcmu","followers_url":"https://api.github.com/users/utkarshcmu/followers","following_url":"https://api.github.com/users/utkarshcmu/following{/other_user}","gists_url":"https://api.github.com/users/utkarshcmu/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshcmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshcmu/subscriptions","organizations_url":"https://api.github.com/users/utkarshcmu/orgs","repos_url":"https://api.github.com/users/utkarshcmu/repos","events_url":"https://api.github.com/users/utkarshcmu/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshcmu/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T18:35:19Z","updated_at":"2016-05-25T18:35:19Z","body":"We should fix this though. I use underscores so never encountered this issue. :("}}
{"actor":{"display_login":"utkarshcmu"}}