Skip to content

Not set parentId in case parentId is empty#943

Merged
lalitb merged 2 commits intoopen-telemetry:mainfrom
andriy-fedechko-imprivata:main
Aug 11, 2021
Merged

Not set parentId in case parentId is empty#943
lalitb merged 2 commits intoopen-telemetry:mainfrom
andriy-fedechko-imprivata:main

Conversation

@andriy-fedechko-imprivata
Copy link
Copy Markdown
Contributor

Fixes # (issue)
The root Span is not displayed in SignalFX (Splunk APM) when data is exported via Zipkin exporter.
According to https://zipkin.io/zipkin-api/#/ (ListOfSpans seection) the parentId element should be absent for root span

Changes

added logic into Zipkin's recordable implementation to add parentId element only when parentId is valid.

@andriy-fedechko-imprivata andriy-fedechko-imprivata requested a review from a team August 10, 2021 08:08
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Aug 10, 2021

CLA Signed

The committers are authorized under a signed CLA.

Copy link
Copy Markdown
Member

@lalitb lalitb left a comment

Choose a reason for hiding this comment

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

thanks for the fix. You would have to authorize easyCLA before it can be merged.

Also to format code before commit, run below from root directory:
$ ./ci/do_ci.sh format

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 10, 2021

Codecov Report

Merging #943 (2638700) into main (f4ff74c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #943   +/-   ##
=======================================
  Coverage   95.36%   95.36%           
=======================================
  Files         160      160           
  Lines        6780     6780           
=======================================
  Hits         6465     6465           
  Misses        315      315           

@lalitb lalitb merged commit 4120258 into open-telemetry:main Aug 11, 2021
@lalitb lalitb mentioned this pull request Sep 17, 2021
3 tasks
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.

2 participants