Skip to content

Commit

Permalink
make coralogix-sampler implement main sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyamor committed Nov 23, 2023
1 parent 1e18b91 commit 46477b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sampler/coralogix-sampler.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ func NewCoralogixSampler(adaptedSampler traceSdk.Sampler) *CoralogixSampler {
adaptedSampler: adaptedSampler,
}
}
func (s *CoralogixSampler) Description() string {
return "coralogix-sampler"
}

func (s *CoralogixSampler) ShouldSample(parameters traceSdk.SamplingParameters) traceSdk.SamplingResult {
adaptedSamplingResult := s.adaptedSampler.ShouldSample(parameters)
Expand Down

0 comments on commit 46477b0

Please sign in to comment.