Skip to content

[refactor] Consolidate v1/v2 writer factory adapter functionality #7022

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

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

mahadzaryab1
Copy link
Collaborator

Which problem is this PR solving?

Description of the changes

  • This PR consolidates the v1/v2 writer adapter functionality by combining GetV1Writer with NewSpanWriter

How was this change tested?

  • CI

Checklist

@mahadzaryab1 mahadzaryab1 added the changelog:refactoring Internal code refactoring without functional changes label Apr 14, 2025
@mahadzaryab1 mahadzaryab1 requested a review from yurishkuro April 14, 2025 01:12
@mahadzaryab1 mahadzaryab1 requested a review from a team as a code owner April 14, 2025 01:12
@yurishkuro yurishkuro enabled auto-merge April 14, 2025 01:17
Copy link

codecov bot commented Apr 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.00%. Comparing base (59970f0) to head (4161cc4).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7022   +/-   ##
=======================================
  Coverage   95.99%   96.00%           
=======================================
  Files         346      347    +1     
  Lines       20622    20626    +4     
=======================================
+ Hits        19797    19801    +4     
  Misses        622      622           
  Partials      203      203           
Flag Coverage Δ
badger_v1 10.48% <0.00%> (+<0.01%) ⬆️
badger_v2 2.17% <0.00%> (+<0.01%) ⬆️
cassandra-4.x-v1-manual 15.77% <0.00%> (+<0.01%) ⬆️
cassandra-4.x-v2-auto 2.16% <0.00%> (+<0.01%) ⬆️
cassandra-4.x-v2-manual 2.16% <0.00%> (+<0.01%) ⬆️
cassandra-5.x-v1-manual 15.77% <0.00%> (+<0.01%) ⬆️
cassandra-5.x-v2-auto 2.16% <0.00%> (+<0.01%) ⬆️
cassandra-5.x-v2-manual 2.16% <0.00%> (+<0.01%) ⬆️
elasticsearch-6.x-v1 20.88% <0.00%> (+<0.01%) ⬆️
elasticsearch-7.x-v1 20.96% <0.00%> (+<0.01%) ⬆️
elasticsearch-8.x-v1 21.14% <0.00%> (+<0.01%) ⬆️
elasticsearch-8.x-v2 2.17% <0.00%> (+<0.01%) ⬆️
grpc_v1 11.56% <0.00%> (+<0.01%) ⬆️
grpc_v2 8.43% <0.00%> (+<0.01%) ⬆️
kafka-3.x-v1 10.78% <0.00%> (+<0.01%) ⬆️
kafka-3.x-v2 2.17% <0.00%> (+<0.01%) ⬆️
memory_v2 2.17% <0.00%> (+<0.01%) ⬆️
opensearch-1.x-v1 21.01% <0.00%> (+<0.01%) ⬆️
opensearch-2.x-v1 21.01% <0.00%> (+<0.01%) ⬆️
opensearch-2.x-v2 2.17% <0.00%> (+<0.01%) ⬆️
tailsampling-processor 0.59% <0.00%> (+<0.01%) ⬆️
unittests 94.80% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yurishkuro yurishkuro added this pull request to the merge queue Apr 14, 2025
Merged via the queue into jaegertracing:main with commit fb4bbf7 Apr 14, 2025
59 checks passed
amilbcahat pushed a commit to amilbcahat/jaeger that referenced this pull request May 4, 2025
…egertracing#7022)

## Which problem is this PR solving?
- Towards jaegertracing#6979

## Description of the changes
- This PR consolidates the v1/v2 writer adapter functionality by
combining `GetV1Writer` with `NewSpanWriter`

## How was this change tested?
- CI

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

Signed-off-by: Mahad Zaryab <[email protected]>
amilbcahat pushed a commit to amilbcahat/jaeger that referenced this pull request May 4, 2025
…egertracing#7022)

## Which problem is this PR solving?
- Towards jaegertracing#6979

## Description of the changes
- This PR consolidates the v1/v2 writer adapter functionality by
combining `GetV1Writer` with `NewSpanWriter`

## How was this change tested?
- CI

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

Signed-off-by: Mahad Zaryab <[email protected]>
Signed-off-by: amol-verma-allen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/storage changelog:refactoring Internal code refactoring without functional changes v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants