{"action":"created","issue":{"url":"https://api.github.com/repos/google/instrumentation-java/issues/41","repository_url":"https://api.github.com/repos/google/instrumentation-java","labels_url":"https://api.github.com/repos/google/instrumentation-java/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/google/instrumentation-java/issues/41/comments","events_url":"https://api.github.com/repos/google/instrumentation-java/issues/41/events","html_url":"https://github.com/google/instrumentation-java/issues/41","id":180939861,"number":41,"title":"Consider providing a no-op CensusContextFactory","user":{"login":"zhangkun83","id":9053690,"avatar_url":"https://avatars3.githubusercontent.com/u/9053690?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangkun83","html_url":"https://github.com/zhangkun83","followers_url":"https://api.github.com/users/zhangkun83/followers","following_url":"https://api.github.com/users/zhangkun83/following{/other_user}","gists_url":"https://api.github.com/users/zhangkun83/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangkun83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangkun83/subscriptions","organizations_url":"https://api.github.com/users/zhangkun83/orgs","repos_url":"https://api.github.com/users/zhangkun83/repos","events_url":"https://api.github.com/users/zhangkun83/events{/privacy}","received_events_url":"https://api.github.com/users/zhangkun83/received_events","type":"User","site_admin":false},"labels":[{"id":415883751,"url":"https://api.github.com/repos/google/instrumentation-java/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-04T16:19:45Z","updated_at":"2017-04-14T00:53:48Z","closed_at":"2017-04-14T00:53:48Z","body":"There will be cases where a Census-instrumented product would want to disable Census, or need a place-holder when Census.getCenusContextFactory() returns null. Yes they could implement their own no-op CensusContextFactory, but since this may be a common use case, it makes sense that Census provides a no-op impl as part of the census-api artfiact.\n"},"comment":{"url":"https://api.github.com/repos/google/instrumentation-java/issues/comments/294058492","html_url":"https://github.com/google/instrumentation-java/issues/41#issuecomment-294058492","issue_url":"https://api.github.com/repos/google/instrumentation-java/issues/41","id":294058492,"user":{"login":"zhangkun83","id":9053690,"avatar_url":"https://avatars3.githubusercontent.com/u/9053690?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangkun83","html_url":"https://github.com/zhangkun83","followers_url":"https://api.github.com/users/zhangkun83/followers","following_url":"https://api.github.com/users/zhangkun83/following{/other_user}","gists_url":"https://api.github.com/users/zhangkun83/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangkun83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangkun83/subscriptions","organizations_url":"https://api.github.com/users/zhangkun83/orgs","repos_url":"https://api.github.com/users/zhangkun83/repos","events_url":"https://api.github.com/users/zhangkun83/events{/privacy}","received_events_url":"https://api.github.com/users/zhangkun83/received_events","type":"User","site_admin":false},"created_at":"2017-04-14T00:53:48Z","updated_at":"2017-04-14T00:53:48Z","body":"We have made our code to skip reporting logic if getStatsContextFactory() returns null, so we don't need the no-op impl any more."}}
{"actor":{"display_login":"zhangkun83"}}