Skip to content

[refactor] Move sampling strategy providers to internal/sampling/samplingstrategy #6561

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 2 commits into from
Jan 17, 2025

Conversation

ary82
Copy link
Contributor

@ary82 ary82 commented Jan 17, 2025

Which problem is this PR solving?

Description of the changes

  • Move sampling strategy providers from plugin/sampling/strategyprovider to internal/sampling/samplingstrategy

How was this change tested?

  • Covered by existing

Checklist

@ary82 ary82 requested a review from a team as a code owner January 17, 2025 19:13
@ary82 ary82 requested a review from pavolloffay January 17, 2025 19:13
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.21%. Comparing base (7f16f49) to head (0542088).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6561       +/-   ##
===========================================
+ Coverage   50.24%   96.21%   +45.97%     
===========================================
  Files         189      373      +184     
  Lines       11418    21400     +9982     
===========================================
+ Hits         5737    20591    +14854     
+ Misses       5226      616     -4610     
+ Partials      455      193      -262     
Flag Coverage Δ
badger_v1 10.64% <ø> (ø)
badger_v2 2.77% <ø> (ø)
cassandra-4.x-v1-manual 16.54% <ø> (ø)
cassandra-4.x-v2-auto 2.71% <ø> (ø)
cassandra-4.x-v2-manual 2.71% <ø> (ø)
cassandra-5.x-v1-manual 16.54% <ø> (ø)
cassandra-5.x-v2-auto 2.71% <ø> (ø)
cassandra-5.x-v2-manual 2.71% <ø> (ø)
elasticsearch-6.x-v1 20.32% <ø> (+<0.01%) ⬆️
elasticsearch-7.x-v1 20.40% <ø> (ø)
elasticsearch-8.x-v1 20.56% <ø> (+<0.01%) ⬆️
elasticsearch-8.x-v2 2.88% <ø> (+0.11%) ⬆️
grpc_v1 12.16% <ø> (ø)
grpc_v2 9.03% <ø> (+<0.01%) ⬆️
kafka-3.x-v1 10.33% <ø> (ø)
kafka-3.x-v2 2.77% <ø> (ø)
memory_v2 2.77% <ø> (-0.01%) ⬇️
opensearch-1.x-v1 20.44% <ø> (-0.01%) ⬇️
opensearch-2.x-v1 20.44% <ø> (ø)
opensearch-2.x-v2 2.77% <ø> (ø)
tailsampling-processor 0.51% <ø> (ø)
unittests 95.10% <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.

@yurishkuro yurishkuro merged commit 74db9ce into jaegertracing:main Jan 17, 2025
56 of 57 checks passed
@yurishkuro
Copy link
Member

Thanks!

@ary82
Copy link
Contributor Author

ary82 commented Jan 17, 2025

Glad it could be helpful. Thanks for your time :)

@ary82 ary82 deleted the refactor-sampling-providers branch January 17, 2025 22:27
Manik2708 pushed a commit to Manik2708/jaeger that referenced this pull request Jan 21, 2025
…lingstrategy (jaegertracing#6561)

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

## Description of the changes
- Move sampling strategy providers from plugin/sampling/strategyprovider
to internal/sampling/samplingstrategy

## 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 <[email protected]>
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.

Remove OTEL/contrib dependency on cmd/collector/app/sampling
2 participants