Skip to content

Conversation

@dmitryax
Copy link
Member

Description:
Bug description: if "http.status_code" and "error" tags are both set in incoming a jaeger span, internal status code is incorrectly set to Unknown code ignoring value from http.status_code tag. This commit fixes the described bug, so http.status_code tag always has precedence over error tag during Jaeger -> Internal data model translation.

Testing: added more test cases to cover the bug.

Bug description: if "http.status_code" and "error" tags are both set in incoming a jaeger span, internal status code is incorrectly set to Unknown code ignoring value from http.status_code tag. This commit fixes the described bug, so http.status_code tag always has precedence over error tag during Jaeger -> Internal data model translation.
@codecov
Copy link

codecov bot commented Jun 10, 2020

Codecov Report

Merging #1105 into master will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1105      +/-   ##
==========================================
+ Coverage   86.45%   86.51%   +0.06%     
==========================================
  Files         198      198              
  Lines       14171    14164       -7     
==========================================
+ Hits        12251    12254       +3     
+ Misses       1468     1460       -8     
+ Partials      452      450       -2     
Impacted Files Coverage Δ
translator/trace/jaeger/jaegerproto_to_traces.go 83.42% <100.00%> (+3.52%) ⬆️
translator/internaldata/resource_to_oc.go 76.47% <0.00%> (ø)
service/service.go 51.22% <0.00%> (+0.70%) ⬆️

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 8b9fe07...521f0a6. Read the comment docs.

@tigrannajaryan tigrannajaryan merged commit 876cf09 into open-telemetry:master Jun 11, 2020
wyTrivail pushed a commit to mxiamxia/opentelemetry-collector that referenced this pull request Jul 13, 2020
…1105)

Bug description: if "http.status_code" and "error" tags are both set in incoming a jaeger span, internal status code is incorrectly set to Unknown code ignoring value from http.status_code tag. This commit fixes the described bug, so http.status_code tag always has precedence over error tag during Jaeger -> Internal data model translation.
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
…etry#1105)

* Bump google.golang.org/grpc from 1.31.0 to 1.31.1 in /sdk

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.31.0 to 1.31.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.31.0...v1.31.1)

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

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <[email protected]>
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
…y#1105)

Bumps [boto3](https://github.com/boto/boto3) from 1.20.31 to 1.20.32.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.20.31...1.20.32)

---
updated-dependencies:
- dependency-name: boto3
  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>
swiatekm pushed a commit to swiatekm/opentelemetry-collector that referenced this pull request Oct 9, 2024
…elemetry#1105)

* update with configMap field with mount option

* update comment

* update schema

* change name to `includeMount`

* bump version

* re-generate examples

* use existingName field instead

* Merge remote-tracking branch 'upstream/main' into chunter/configmap-mount-option

* update comment and move logic to template

* Apply suggestions from code review

Co-authored-by: Tyler Helmuth <[email protected]>

* safe-guard configMap creation

* add configMap error message

---------

Co-authored-by: Tyler Helmuth <[email protected]>
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.

4 participants