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

Fix panic while processing Zipkin spans with empty service name #1742

Merged
merged 2 commits into from
Sep 7, 2020

Conversation

XSAM
Copy link
Member

@XSAM XSAM commented Sep 4, 2020

Description:

Fix a panic issue while processing Zipkin spans with an empty service name.

Testing:

receiver/zipkinreceiver/TestConvertSpansToTraceSpans_JSONWithoutSerivceName

@XSAM XSAM force-pushed the fix/zipkin-receiver-panic branch from c7fe750 to c2c5c84 Compare September 4, 2020 07:31
@codecov
Copy link

codecov bot commented Sep 4, 2020

Codecov Report

Merging #1742 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1742   +/-   ##
=======================================
  Coverage   92.39%   92.39%           
=======================================
  Files         256      256           
  Lines       18190    18190           
=======================================
  Hits        16806    16806           
  Misses        970      970           
  Partials      414      414           
Impacted Files Coverage Δ
translator/trace/zipkin/zipkinv2_to_traces.go 91.46% <100.00%> (ø)
translator/internaldata/resource_to_oc.go 90.74% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3eb3b66...c2c5c84. Read the comment docs.

@pmm-sumo
Copy link
Contributor

pmm-sumo commented Sep 4, 2020

Oh, nice! I have encountered the same problem just a while ago. Saw the PR, tested it with my payload and it fixes the problem for me

@bogdandrutu bogdandrutu merged commit 888e64c into open-telemetry:master Sep 7, 2020
@XSAM XSAM deleted the fix/zipkin-receiver-panic branch September 7, 2020 14:50
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
…etry#1742)

Bumps [requests](https://github.com/psf/requests) from 2.28.0 to 2.28.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.28.0...v2.28.1)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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