-
Notifications
You must be signed in to change notification settings - Fork 775
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
Add a Jaeger Activity Exporter #693
Add a Jaeger Activity Exporter #693
Conversation
@@ -89,7 +89,7 @@ public async Task JaegerExporter_Batching() | |||
{ | |||
for (int c = 0; c < this.NumberOfSpans; c++) | |||
{ | |||
await jaegerUdpBatcher.AppendAsync(this.testSpan, CancellationToken.None).ConfigureAwait(false); | |||
await jaegerUdpBatcher.AppendAsync(this.testSpan.ToJaegerSpan(), CancellationToken.None).ConfigureAwait(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prior to this PR ToJaegerSpan()
was called inside AppendAsync
so the amount of work in the benchmark it is still the same.
{ | ||
internal static class JaegerActivityExtensions | ||
{ | ||
private static readonly Dictionary<string, int> PeerServiceKeyResolutionDictionary = new Dictionary<string, int>(StringComparer.OrdinalIgnoreCase) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, this is duplicated with the extensions for SDK span. Likely should move to a common location.
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left couple of minor comments about code comments.
Leaving unmerged for at least a day to give everyone a chance to review. |
Add a Jaeger Activity Exporter (open-telemetry#693)
Changes
Add a Jaeger Activity Exporter. The code uses the same patterns already in the Jaeger Exporter and adds a new exporter capable of transforming
Activity
instances into Jaeger spans.Checklist