Skip to content

Commit

Permalink
rmvs jaeger-client const
Browse files Browse the repository at this point in the history
Signed-off-by: afzal442 <[email protected]>
  • Loading branch information
afzal442 committed Aug 17, 2023
1 parent 941c115 commit 457bb94
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugin/sampling/strategystore/adaptive/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,15 @@ import (
"sync"
"time"

"github.com/uber/jaeger-client-go"

"github.com/jaegertracing/jaeger/cmd/collector/app/sampling/model"
"github.com/jaegertracing/jaeger/cmd/collector/app/sampling/strategystore"
"github.com/jaegertracing/jaeger/pkg/metrics"
"github.com/jaegertracing/jaeger/storage/samplingstore"
)

const (
maxProbabilities = 10
maxProbabilities = 10
SamplerTypeProbabilistic = "probabilistic"
)

type aggregator struct {
Expand Down Expand Up @@ -106,7 +105,7 @@ func (a *aggregator) RecordThroughput(service, operation, samplerType string, pr
// Only if we see probabilistically sampled root spans do we increment the throughput counter,
// for lowerbound sampled spans, we don't increment at all but we still save a count of 0 as
// the throughput so that the adaptive sampling processor is made aware of the endpoint.
if samplerType == jaeger.SamplerTypeProbabilistic {
if samplerType == SamplerTypeProbabilistic {
throughput.Count++
}
}
Expand Down

0 comments on commit 457bb94

Please sign in to comment.