{"action":"created","issue":{"url":"https://api.github.com/repos/nature/boomcatch/issues/62","labels_url":"https://api.github.com/repos/nature/boomcatch/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/nature/boomcatch/issues/62/comments","events_url":"https://api.github.com/repos/nature/boomcatch/issues/62/events","html_url":"https://github.com/nature/boomcatch/issues/62","id":86488934,"number":62,"title":"Possibility to add boomerang site (u parameter) to mapper prefix","user":{"login":"roflmao","id":599991,"avatar_url":"https://avatars.githubusercontent.com/u/599991?v=3","gravatar_id":"","url":"https://api.github.com/users/roflmao","html_url":"https://github.com/roflmao","followers_url":"https://api.github.com/users/roflmao/followers","following_url":"https://api.github.com/users/roflmao/following{/other_user}","gists_url":"https://api.github.com/users/roflmao/gists{/gist_id}","starred_url":"https://api.github.com/users/roflmao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roflmao/subscriptions","organizations_url":"https://api.github.com/users/roflmao/orgs","repos_url":"https://api.github.com/users/roflmao/repos","events_url":"https://api.github.com/users/roflmao/events{/privacy}","received_events_url":"https://api.github.com/users/roflmao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T07:27:50Z","updated_at":"2015-06-09T07:48:50Z","closed_at":null,"body":"Is there a way to add a sitename to the prefix from boomerang when sending data to statsd?"},"comment":{"url":"https://api.github.com/repos/nature/boomcatch/issues/comments/110263343","html_url":"https://github.com/nature/boomcatch/issues/62#issuecomment-110263343","issue_url":"https://api.github.com/repos/nature/boomcatch/issues/62","id":110263343,"user":{"login":"philbooth","id":64367,"avatar_url":"https://avatars.githubusercontent.com/u/64367?v=3","gravatar_id":"","url":"https://api.github.com/users/philbooth","html_url":"https://github.com/philbooth","followers_url":"https://api.github.com/users/philbooth/followers","following_url":"https://api.github.com/users/philbooth/following{/other_user}","gists_url":"https://api.github.com/users/philbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/philbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbooth/subscriptions","organizations_url":"https://api.github.com/users/philbooth/orgs","repos_url":"https://api.github.com/users/philbooth/repos","events_url":"https://api.github.com/users/philbooth/events{/privacy}","received_events_url":"https://api.github.com/users/philbooth/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T07:48:50Z","updated_at":"2015-06-09T07:48:50Z","body":"It depends on exactly what information you want to add.\r\n\r\nAt Nature, we have a requirement to differentiate live/staging/test/dev, which doesn't really lend itself to a generic solution. Instead we use a custom mapper instead that is forked from the `statsd` one:\r\n\r\nhttps://github.com/nature/boomcatch/blob/master/src/mappers/statsd-npg.js#L80-L94\r\n\r\nThat may be the correct approach for you.\r\n\r\nAlternatively, perhaps we could specify it generically using a new command-line option. But I'm already concerned that the CLI surface area is becoming a monster so we'd have to come up with a very nice way of doing that, possibly in some kind of config file or something."}}