Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Move remote sampler to its own files #448

Merged
merged 2 commits into from
Oct 15, 2019

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Oct 15, 2019

Files are getting too large. No code changes here, just moving stuff around.

Part of # #449

Signed-off-by: Yuri Shkuro <ys@uber.com>
assert.Equal(t, test.expectedDefaultProbability, s.defaultSampler.SamplingRate())

// First call is always sampled
sampled, tags := sampler.IsSampled(TraceID{Low: testMaxID + 10}, testOperationName)

Choose a reason for hiding this comment

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

SA4006: this value of tags is never used (from staticcheck)

Signed-off-by: Yuri Shkuro <ys@uber.com>
@codecov
Copy link

codecov bot commented Oct 15, 2019

Codecov Report

Merging #448 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #448   +/-   ##
=======================================
  Coverage   84.69%   84.69%           
=======================================
  Files          33       33           
  Lines        1503     1503           
=======================================
  Hits         1273     1273           
  Misses        168      168           
  Partials       62       62

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c9bbde9...d548581. Read the comment docs.

@yurishkuro yurishkuro merged commit 57d24fb into jaegertracing:master Oct 15, 2019
@yurishkuro yurishkuro deleted the refactor-remote-sampler branch October 15, 2019 18:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants