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

[refactor] Move sampling grpc handler to internal/sampling/grpc #6540

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

ary82
Copy link
Contributor

@ary82 ary82 commented Jan 13, 2025

Which problem is this PR solving?

Description of the changes

  • Move sampling grpc handler from cmd/collector/app/sampling to internal/sampling/grpc

How was this change tested?

  • Covered by existing

Checklist

Signed-off-by: Aryan Goyal <137564277+ary82@users.noreply.github.com>
@ary82 ary82 requested a review from a team as a code owner January 13, 2025 16:57
@ary82 ary82 requested a review from jkowall January 13, 2025 16:57
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.21%. Comparing base (2e9ea52) to head (18f68db).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6540   +/-   ##
=======================================
  Coverage   96.21%   96.21%           
=======================================
  Files         372      372           
  Lines       21360    21360           
=======================================
  Hits        20551    20551           
  Misses        616      616           
  Partials      193      193           
Flag Coverage Δ
badger_v1 10.65% <ø> (ø)
badger_v2 2.78% <ø> (ø)
cassandra-4.x-v1-manual 16.55% <ø> (ø)
cassandra-4.x-v2-auto 2.71% <ø> (ø)
cassandra-4.x-v2-manual 2.71% <ø> (ø)
cassandra-5.x-v1-manual 16.55% <ø> (ø)
cassandra-5.x-v2-auto 2.71% <ø> (ø)
cassandra-5.x-v2-manual 2.71% <ø> (ø)
elasticsearch-6.x-v1 20.23% <ø> (+<0.01%) ⬆️
elasticsearch-7.x-v1 20.30% <ø> (ø)
elasticsearch-8.x-v1 20.45% <ø> (ø)
elasticsearch-8.x-v2 2.77% <ø> (-0.12%) ⬇️
grpc_v1 12.17% <ø> (ø)
grpc_v2 9.04% <ø> (+<0.01%) ⬆️
kafka-3.x-v1 10.34% <ø> (ø)
kafka-3.x-v2 2.78% <ø> (ø)
memory_v2 2.78% <ø> (ø)
opensearch-1.x-v1 20.35% <ø> (+<0.01%) ⬆️
opensearch-2.x-v1 20.35% <ø> (ø)
opensearch-2.x-v2 2.77% <ø> (ø)
tailsampling-processor 0.51% <ø> (ø)
unittests 95.09% <100.00%> (ø)

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.

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

lgtm

@yurishkuro yurishkuro merged commit fcc8936 into jaegertracing:main Jan 13, 2025
54 of 55 checks passed
@ary82 ary82 deleted the refactor-sampling-grpc branch January 13, 2025 17:39
ekefan pushed a commit to ekefan/jaeger that referenced this pull request Jan 14, 2025
…ertracing#6540)

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

## Description of the changes
- Move sampling grpc handler from cmd/collector/app/sampling to
internal/sampling/grpc

## How was this change tested?
- Covered by existing

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [ ] 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: Aryan Goyal <137564277+ary82@users.noreply.github.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.

2 participants