Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds zipkin.internal.Span2Converter #1670

Merged
merged 1 commit into from
Jul 28, 2017
Merged

Conversation

codefromthecrypt
Copy link
Member

This adds an internal copy of a span conversion utility mentioned in
issue #1499. This is starting internal to ease review and allow
incremental progress. The first consumer will be dependency linking.

Benchmarks

Benchmark                                       Mode  Cnt  Score   Error   Units
Span2ConverterBenchmarks.fromSpan              thrpt   15  3.755 ± 0.137  ops/us
Span2ConverterBenchmarks.fromSpan_splitShared  thrpt   15  1.549 ± 0.055  ops/us
Span2ConverterBenchmarks.toSpan                thrpt   15  4.178 ± 0.177  ops/us

@codefromthecrypt
Copy link
Member Author

followed by #1671

This adds an internal copy of a span conversion utility mentioned in
issue #1499. This is starting internal to ease review and allow
incremental progress. The first consumer will be dependency linking.
@codefromthecrypt codefromthecrypt changed the base branch from span2 to master July 28, 2017 01:36
@codefromthecrypt codefromthecrypt merged commit e58e3a8 into master Jul 28, 2017
codefromthecrypt pushed a commit that referenced this pull request Jul 28, 2017
* Adds zipkin.internal.Span2Converter (#1670)

This adds an internal copy of a span conversion utility mentioned in
issue #1499. This is starting internal to ease review and allow
incremental progress. The first consumer will be dependency linking.

* Adds zipkin.internal.Span2Codec.JSON (#1671)

This adds an internal copy of a span json codec issue #1499. This starts
internal to ease review and allow incremental progress. The first
consumer will be Elasticsearch, as this format removes nested queries.

Note: this change also introduces json serialization of Span2, which
allows future use in Spark.

* Drops internal DependencyLinkSpan for Span2

This drops the internal type of DependencyLinkSpan in favor of the Span2
type coming in #1499. Doing so now gives us practice, solves a few bugs
along the way. When Span2 becomes non-internal, the change will be a
simple package rename.
abesto pushed a commit to abesto/zipkin that referenced this pull request Sep 10, 2019
This adds an internal copy of a span conversion utility mentioned in
issue openzipkin#1499. This is starting internal to ease review and allow
incremental progress. The first consumer will be dependency linking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant