Skip to content

Add adjuster that removes bad span references#614

Merged
yurishkuro merged 2 commits intomasterfrom
fix-613-purge-invalid-span-references
Dec 23, 2017
Merged

Add adjuster that removes bad span references#614
yurishkuro merged 2 commits intomasterfrom
fix-613-purge-invalid-span-references

Conversation

@yurishkuro
Copy link
Copy Markdown
Member

Fixes #613

Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Yuri Shkuro <ys@uber.com>
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 048ae3a on fix-613-purge-invalid-span-references into 8d6d07a on master.

@yurishkuro yurishkuro merged commit ecbe0dd into master Dec 23, 2017
@ghost ghost removed the review label Dec 23, 2017
@yurishkuro yurishkuro deleted the fix-613-purge-invalid-span-references branch December 23, 2017 06:33
"github.com/jaegertracing/jaeger/model"
)

// SpanReferences creates am adjuster that removes invalid span references, e.g. with traceID==0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/am/an


type spanReferenceAdjuster struct{}

func (s *spanReferenceAdjuster) adjust(span *model.Span) *model.Span {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I don't actually see any reason for these functions to be defined as pointer methods

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.

3 participants