-
Notifications
You must be signed in to change notification settings - Fork 33
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
O11Y-1749: OpenTelemetry Dart: Complete Implementation of SpanKind #50
O11Y-1749: OpenTelemetry Dart: Complete Implementation of SpanKind #50
Conversation
Merge Requirements Met ✅Request Rosie to automerge this pull request by including @Workiva/release-management-p in a comment. General InformationTicket(s): Code Review(s): #50 Reviewers: michaelyeager-wf, blakeroberts-wk Additional InformationWatchlist Notifications: None
Note: This is a shortened report. Click here to view Rosie's full evaluation. |
Verified that kind information is properly reported for Spans emitted by our Dart test application and Messaging SDK middleware: https://onenr.io/0VjYDqXm3R0 QA +1 |
Security InsightsNo security relevant content was detected by automated scans. Action Items
Questions or Comments? Reach out on Slack: #support-infosec. |
Public API ChangesRecommendation: @@ line 6: package:opentelemetry/src/sdk/trace/sampling/sampler.dart @@
abstract class Sampler
- SamplingResult shouldSample(Context context, TraceId traceId, String spanName, SpanKind spanKind, bool spanIsRemote, List<Attribute> spanAttributes, List<SpanLink> spanLinks)
+ SamplingResult shouldSample(Context context, TraceId traceId, String spanName, SpanKind spanKind, List<Attribute> spanAttributes, List<SpanLink> spanLinks)
// `type` of `spanIsRemote` has changed.
// Changing a parameter signature is a major change.
@@ line 4: package:opentelemetry/src/sdk/trace/sampling/always_on_sampler.dart @@
class AlwaysOnSampler implements Sampler
- SamplingResult shouldSample(Context context, TraceId traceId, String spanName, SpanKind spanKind, bool spanIsRemote, List<Attribute> spanAttributes, List<SpanLink> spanLinks)
+ SamplingResult shouldSample(Context context, TraceId traceId, String spanName, SpanKind spanKind, List<Attribute> spanAttributes, List<SpanLink> spanLinks)
// `type` of `spanIsRemote` has changed.
// Changing a parameter signature is a major change.
@@ line 4: package:opentelemetry/src/sdk/trace/sampling/parent_based_sampler.dart @@
class ParentBasedSampler implements Sampler
- SamplingResult shouldSample(Context context, TraceId traceId, String spanName, SpanKind spanKind, bool spanIsRemote, List<Attribute> spanAttributes, List<SpanLink> spanLinks)
+ SamplingResult shouldSample(Context context, TraceId traceId, String spanName, SpanKind spanKind, List<Attribute> spanAttributes, List<SpanLink> spanLinks)
// `type` of `spanIsRemote` has changed.
// Changing a parameter signature is a major change.
@@ line 4: package:opentelemetry/src/sdk/trace/sampling/always_off_sampler.dart @@
class AlwaysOffSampler implements Sampler
- SamplingResult shouldSample(Context context, TraceId traceId, String spanName, SpanKind spanKind, bool spanIsRemote, List<Attribute> spanAttributes, List<SpanLink> links)
+ SamplingResult shouldSample(Context context, TraceId traceId, String spanName, SpanKind spanKind, List<Attribute> spanAttributes, List<SpanLink> links)
// `type` of `spanIsRemote` has changed.
// Changing a parameter signature is a major change.
Showing results for aa24871
|
@Workiva/release-management-p |
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.
+1 from RM
Notes
This PR adds the following:
spanIsRemote
has been removed fromSampler
. It is not present in the OpenTelemetry specification and was unused.Reviewers
@Workiva/product-new-relic