{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/2254","labels_url":"https://api.github.com/repos/grafana/grafana/issues/2254/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/2254/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/2254/events","html_url":"https://github.com/grafana/grafana/issues/2254","id":91807387,"number":2254,"title":"adding a custom function for graphite backend","user":{"login":"robochat","id":5839195,"avatar_url":"https://avatars.githubusercontent.com/u/5839195?v=3","gravatar_id":"","url":"https://api.github.com/users/robochat","html_url":"https://github.com/robochat","followers_url":"https://api.github.com/users/robochat/followers","following_url":"https://api.github.com/users/robochat/following{/other_user}","gists_url":"https://api.github.com/users/robochat/gists{/gist_id}","starred_url":"https://api.github.com/users/robochat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robochat/subscriptions","organizations_url":"https://api.github.com/users/robochat/orgs","repos_url":"https://api.github.com/users/robochat/repos","events_url":"https://api.github.com/users/robochat/events{/privacy}","received_events_url":"https://api.github.com/users/robochat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T13:47:43Z","updated_at":"2015-06-29T14:09:12Z","closed_at":"2015-06-29T14:09:12Z","body":"Hi,\r\nI'd like to add a custom function for the graphite backend. I've already implemented the function in graphite (actually I'm using graphite-api but it all works nonetheless). I can see on github that there is a file gfunc.js which I need to edit but I can find it anywhere in my installation even though everything seems to work fine. I thought that it might be at ` /usr/share/grafana/public/app/plugins/datasource/graphite` but there are no javascript files there. Could someone help me? I'm using graphite 2.0.2."},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/116683577","html_url":"https://github.com/grafana/grafana/issues/2254#issuecomment-116683577","issue_url":"https://api.github.com/repos/grafana/grafana/issues/2254","id":116683577,"user":{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T14:09:12Z","updated_at":"2015-06-29T14:09:12Z","body":"to modify gfunc.js you need to clone this repository , make the modification and build an optimized built (read building from source on the docs site).\r\n"}}