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 Zipkin spanFormat #5261

Merged
merged 2 commits into from
Mar 11, 2024
Merged

Conversation

fyuan1316
Copy link
Contributor

Which problem is this PR solving?

Resolves #5260

Description of the changes

How was this change tested?

Checklist

@fyuan1316 fyuan1316 requested a review from a team as a code owner March 8, 2024 07:29
@@ -69,6 +69,9 @@ func startZipkinReceiver(
}

consumerAdapter := newConsumerDelegate(logger, spanProcessor, tm)
// reset Zipkin spanFormat
consumerAdapter.batchConsumer.spanOptions.SpanFormat = processor.ZipkinSpanFormat
Copy link
Member

Choose a reason for hiding this comment

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

can you add a test for this? TestZipkinReceiver submits zipkin spans but uses a mockSpanProcessor, we could potentially enhance it to validate that those spans are coming with the desired tag

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.
@yurishkuro PTAL :)

Signed-off-by: Yuan Fang <yuanfang@alauda.io>
@fyuan1316
Copy link
Contributor Author

Looks like uploading codecov failed.

@yurishkuro yurishkuro merged commit 0b87fa5 into jaegertracing:main Mar 11, 2024
34 checks passed
@fyuan1316 fyuan1316 deleted the fix/zipkin-spanformat branch March 12, 2024 04:19
varshith257 pushed a commit to varshith257/jaeger that referenced this pull request Mar 13, 2024
<!--
!! Please DELETE this comment before posting.
We appreciate your contribution to the Jaeger project! 👋🎉
-->

## Which problem is this PR solving?
- <!-- Example: Resolves jaegertracing#123 -->
Resolves jaegertracing#5260
## Description of the changes
- 

## How was this change tested?
- 

## Checklist
- [ ] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [ ] I have signed all commits
- [ ] I have added unit tests for the new functionality
- [ ] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `yarn lint` and `yarn test`

Signed-off-by: Yuan Fang <yuanfang@alauda.io>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Vamshi Maskuri <gwcchintu@gmail.com>
varshith257 added a commit to varshith257/jaeger that referenced this pull request Mar 13, 2024
varshith257 pushed a commit to varshith257/jaeger that referenced this pull request Mar 13, 2024
<!--
!! Please DELETE this comment before posting.
We appreciate your contribution to the Jaeger project! 👋🎉
-->

## Which problem is this PR solving?
- <!-- Example: Resolves jaegertracing#123 -->
Resolves jaegertracing#5260
## Description of the changes
- 

## How was this change tested?
- 

## Checklist
- [ ] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [ ] I have signed all commits
- [ ] I have added unit tests for the new functionality
- [ ] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `yarn lint` and `yarn test`

Signed-off-by: Yuan Fang <yuanfang@alauda.io>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Vamshi Maskuri <gwcchintu@gmail.com>
varshith257 added a commit to varshith257/jaeger that referenced this pull request Mar 13, 2024
This reverts commit 139b5f6.

Signed-off-by: Vamshi Maskuri <gwcchintu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: internal.span.format field error in zipkin receiver
2 participants