* Add RecordEventsSpanImpl to SDK.
* Add toSpanProto.
* StartEndHandler -> SpanProcessor. Remove sampleToLocalSpanStore. Fix events.
* Remove ConcurrentIntrusiveList.
* Replace TraceEvents<E> with EvictQueue + total count.
* Move proto utils to another class.
* Remove TraceProtoUtils from this PR.
* Remove duplication in tests.
* Remove hasRemoteParent to match proto changes.
* Fix merge error.
* Remove toSpanData. Reduce visibility.
* Use Link interface as types.
* OT Shim: Return null for activeSpan() if it's DefaultSpan.
* Clarify that the null case for ScopeManager.active()
* Use DefaultSpan.getInvalid() to do the actual comparison.
* Rename tags to dctx (and related members).
* Implement the renamed dctx layer for the Sdk.
* Fix inline doc.
* Rename dctx to distributedcontext.
* Rename distributedcontext Attribute* to Entry*.
* Rename dctx to distributedcontext in the Sdk.
* Update the recently added SDK classes.
* Initial implementation for TagMapSdk and Builder.
Impl and tests mostly taken from OpenCensus
* Refactor for updated API
Now have to handle parent relationships.
* Review fixes
* Remove visibility for TagMapSdk
Builder already exposed via TaggerSdk, so this doesn’t need added visibility.
* Added test cases and removed unused constructor.
* Add test case and todo
* Have TraceId/SpanId constructors taking long values.
* Add a clarification on the TraceId/SpanId ctors taking longs.
* Add one more small note about equivalency.
* Each DefaultSpan has a unique span id. Remove INSTANCE.
* Use static methods instead of variables. Fixes#309.
* Fix the order of static fields.
* Revert random SpanId from this PR.
* Move [Span|TagMap]InScope and share between api/sdk
Removes duplication between the two projects
Fixes#333
* Add javadocs to new classes.
* Add @since attributes to javadocs
* Remove CurrentTagMapUtils
* Route scope creation through ContextUtils
and make scope classes access restricted.
* Make sampler return sampling decision
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Fix review comments
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Use package visibility
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Define as final
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Rename do decision and fix javadoc
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Make it package private
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Rename to simpledecision
Signed-off-by: Pavol Loffay <ploffay@redhat.com>