diff options
author | 2023-11-13 11:08:02 +0100 | |
---|---|---|
committer | 2023-11-13 11:08:02 +0100 | |
commit | 7753f421323ad4b77c4f5c59dc000f8a6b1aa491 (patch) | |
tree | b4850aac8ed6185c3af249f1c119699775303c9b /vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go | |
parent | [bugfix] support endless polls, and misskey's' method of inferring expiry in ... (diff) | |
download | gotosocial-7753f421323ad4b77c4f5c59dc000f8a6b1aa491.tar.xz |
[chore] update otel -> v1.20.0 (#2358)
Diffstat (limited to 'vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go')
-rw-r--r-- | vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go b/vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go index 5ee9715d2..a7bc125b9 100644 --- a/vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go +++ b/vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go @@ -158,9 +158,9 @@ func NeverSample() Sampler { return alwaysOffSampler{} } -// ParentBased returns a composite sampler which behaves differently, +// ParentBased returns a sampler decorator which behaves differently, // based on the parent of the span. If the span has no parent, -// the root(Sampler) is used to make sampling decision. If the span has +// the decorated sampler is used to make sampling decision. If the span has // a parent, depending on whether the parent is remote and whether it // is sampled, one of the following samplers will apply: // - remoteParentSampled(Sampler) (default: AlwaysOn) |