{"action":"created","issue":{"url":"https://api.github.com/repos/opentracing/specification/issues/130","repository_url":"https://api.github.com/repos/opentracing/specification","labels_url":"https://api.github.com/repos/opentracing/specification/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/opentracing/specification/issues/130/comments","events_url":"https://api.github.com/repos/opentracing/specification/issues/130/events","html_url":"https://github.com/opentracing/specification/issues/130","id":365539290,"node_id":"MDU6SXNzdWUzNjU1MzkyOTA=","number":130,"title":"RFC: Closeable Tracer","user":{"login":"austinlparker","id":4140740,"node_id":"MDQ6VXNlcjQxNDA3NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/4140740?v=4","gravatar_id":"","url":"https://api.github.com/users/austinlparker","html_url":"https://github.com/austinlparker","followers_url":"https://api.github.com/users/austinlparker/followers","following_url":"https://api.github.com/users/austinlparker/following{/other_user}","gists_url":"https://api.github.com/users/austinlparker/gists{/gist_id}","starred_url":"https://api.github.com/users/austinlparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinlparker/subscriptions","organizations_url":"https://api.github.com/users/austinlparker/orgs","repos_url":"https://api.github.com/users/austinlparker/repos","events_url":"https://api.github.com/users/austinlparker/events{/privacy}","received_events_url":"https://api.github.com/users/austinlparker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-01T16:22:36Z","updated_at":"2018-11-02T08:31:28Z","closed_at":null,"author_association":"MEMBER","body":"This is the tracking issue for the Closeable Tracer RFC.\r\nSee: https://github.com/opentracing/specification/blob/master/rfc/closeable_tracer.md\r\n\r\n## Summary\r\nThe OpenTracing Tracer API is extended to add a `Close` method for `Tracer`s. This is intended to provide a clean decoupling of the `Tracer` at the interface and concrete implementation level in a consistent manner.\r\n\r\n## Current Status\r\nThe RFC has been proposed; It now needs to be discussed and make sure we've caught all of our important cases so that implementation can begin.\r\n\r\n## Related Issues\r\nhttps://github.com/opentracing/opentracing-java/issues/250"},"comment":{"url":"https://api.github.com/repos/opentracing/specification/issues/comments/435306863","html_url":"https://github.com/opentracing/specification/issues/130#issuecomment-435306863","issue_url":"https://api.github.com/repos/opentracing/specification/issues/130","id":435306863,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTMwNjg2Mw==","user":{"login":"jpkrohling","id":13387,"node_id":"MDQ6VXNlcjEzMzg3","avatar_url":"https://avatars2.githubusercontent.com/u/13387?v=4","gravatar_id":"","url":"https://api.github.com/users/jpkrohling","html_url":"https://github.com/jpkrohling","followers_url":"https://api.github.com/users/jpkrohling/followers","following_url":"https://api.github.com/users/jpkrohling/following{/other_user}","gists_url":"https://api.github.com/users/jpkrohling/gists{/gist_id}","starred_url":"https://api.github.com/users/jpkrohling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpkrohling/subscriptions","organizations_url":"https://api.github.com/users/jpkrohling/orgs","repos_url":"https://api.github.com/users/jpkrohling/repos","events_url":"https://api.github.com/users/jpkrohling/events{/privacy}","received_events_url":"https://api.github.com/users/jpkrohling/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T08:31:28Z","updated_at":"2018-11-02T08:31:28Z","author_association":"NONE","body":"> The only plausible case for not having the concrete importation seems to be \"reflection\"\r\n\r\nI'm sure I mentioned this elsewhere, but my concrete case was when loading the tracer via [`ServiceLoader`](https://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html) in Java, possibly using a library such as the [OT-contrib's java-tracerresolver](https://github.com/opentracing-contrib/java-tracerresolver). In this scenario, the developer does *not* know beforehand which concrete implementation will reside in the classpath.\r\n\r\nHere's one place where I could make use of it: \r\n\r\nhttps://github.com/wildfly/wildfly/blob/d290e3f7461fbda9fe61584f2ca8553a75122656/microprofile/opentracing-smallrye/src/main/java/org/wildfly/microprofile/opentracing/smallrye/TracerInitializer.java#L84-L97"}}
{"actor":{"display_login":"jpkrohling"}}