{"action":"opened","issue":{"url":"https://api.github.com/repos/astefanutti/metrics-cdi/issues/12","repository_url":"https://api.github.com/repos/astefanutti/metrics-cdi","labels_url":"https://api.github.com/repos/astefanutti/metrics-cdi/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/astefanutti/metrics-cdi/issues/12/comments","events_url":"https://api.github.com/repos/astefanutti/metrics-cdi/issues/12/events","html_url":"https://github.com/astefanutti/metrics-cdi/issues/12","id":160436301,"number":12,"title":"Generic Producers","user":{"login":"mseitner","id":3206740,"avatar_url":"https://avatars.githubusercontent.com/u/3206740?v=3","gravatar_id":"","url":"https://api.github.com/users/mseitner","html_url":"https://github.com/mseitner","followers_url":"https://api.github.com/users/mseitner/followers","following_url":"https://api.github.com/users/mseitner/following{/other_user}","gists_url":"https://api.github.com/users/mseitner/gists{/gist_id}","starred_url":"https://api.github.com/users/mseitner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mseitner/subscriptions","organizations_url":"https://api.github.com/users/mseitner/orgs","repos_url":"https://api.github.com/users/mseitner/repos","events_url":"https://api.github.com/users/mseitner/events{/privacy}","received_events_url":"https://api.github.com/users/mseitner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-15T14:28:22Z","updated_at":"2016-06-15T14:28:22Z","closed_at":null,"body":"Hi,\r\n\r\nI wonder if it's possible to have generic/default producers. I understand that I can use explicit producers, but that creates a lot of duplicated code.\r\n\r\n```\r\n@Produces\r\n@Metric\r\nTimer Timer = new Timer(new MyFancyReservoir());\r\n\r\n@Timed(name = \"customTimerA\")\r\nvoid timedMethodA() {\r\n    // Timer name => TimedMethodBean.customTimerA\r\n}\r\n\r\n@Timed(name = \"customTimerB\")\r\nvoid timedMethodB() {\r\n    // Timer name => TimedMethodBean.customTimerB\r\n}\r\n```"}}
{"actor":{"display_login":"mseitner"}}