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

Replace Thrift-gen with Proto-gen types for sampling strategies #4181

Merged
merged 2 commits into from
Jan 25, 2023

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Jan 25, 2023

As the official API is now Protobuf, this change avoids unnecessary conversions to/from Thrift types.

Related to open-telemetry/opentelemetry-specification#3126

…strategies

Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro requested a review from a team as a code owner January 25, 2023 05:11
@codecov
Copy link

codecov bot commented Jan 25, 2023

Codecov Report

Base: 97.11% // Head: 97.12% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (9ae9e77) compared to base (466da23).
Patch coverage: 98.36% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4181   +/-   ##
=======================================
  Coverage   97.11%   97.12%           
=======================================
  Files         297      297           
  Lines       17537    17535    -2     
=======================================
- Hits        17031    17030    -1     
+ Misses        407      406    -1     
  Partials       99       99           
Flag Coverage Δ
unittests 97.12% <98.36%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
cmd/collector/app/server/test.go 33.33% <0.00%> (ø)
cmd/agent/app/configmanager/grpc/manager.go 100.00% <100.00%> (ø)
cmd/agent/app/configmanager/metrics.go 100.00% <100.00%> (ø)
cmd/collector/app/sampling/grpc_handler.go 100.00% <100.00%> (ø)
crossdock/services/agent.go 100.00% <100.00%> (ø)
model/converter/json/sampling.go 100.00% <100.00%> (ø)
pkg/clientcfg/clientcfghttp/cfgmgr.go 100.00% <100.00%> (ø)
pkg/clientcfg/clientcfghttp/handler.go 100.00% <100.00%> (ø)
...lugin/sampling/strategystore/adaptive/processor.go 100.00% <100.00%> (ø)
plugin/sampling/strategystore/static/constants.go 100.00% <100.00%> (ø)
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro changed the title Switch all backend modules to use Proto-generated types for sampling strategies Replace Thrift-gen with Proto-gen types for sampling strategies Jan 25, 2023
@yurishkuro yurishkuro merged commit 5e80207 into jaegertracing:main Jan 25, 2023
@yurishkuro yurishkuro deleted the sampling_api_v2 branch January 25, 2023 07:21
shubbham1215 pushed a commit to shubbham1215/jaeger that referenced this pull request Feb 22, 2023
…ertracing#4181)

As the official API is now Protobuf, this change avoids unnecessary
conversions to/from Thrift types.

Signed-off-by: Yuri Shkuro <github@ysh.us>
shubbham1215 pushed a commit to shubbham1215/jaeger that referenced this pull request Mar 5, 2023
…ertracing#4181)

As the official API is now Protobuf, this change avoids unnecessary
conversions to/from Thrift types.

Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: shubbham1215 <sawaikershubham@gmail.com>
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.

1 participant