-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces SpanRecord type and clarifies a PendingSpan concept
Before, we had some elements that weren't well organized about not-yet- reported spans. Formerly, there was `MutableSpan`, `MutableSpanMap`, and `Recorder`. These were internal and replaced by still internal types of: * SpanRecord: mutable type which can become a Zipkin span. * PendingSpan: SpanRecord and a clock appropriate for a trace context. * PendingSpans: repository allowing lookup and removal by trace context. These are clarifications and optimizations of code that existed before. Notably, this removes the need to re-build a zipkin span to customize it before reporting, or to need a zipkin span at all when reporting to metrics or other aggregations. Future work on that will happen in later pull requests. There is no public api change involved as all work is currently internal.
- Loading branch information
1 parent
a4b508e
commit 328985c
Showing
23 changed files
with
875 additions
and
610 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.