Skip to content

Commit

Permalink
mention the Agent version required for span sampling (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoffredo authored Sep 28, 2022
1 parent 7968076 commit 5d41207
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions doc/sampling.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ environment variable. Note that the environment variable overrides the

Span Sampling
-------------
_Note: Span sampling does not work yet, because the necessary Datadog Agent
changes are not yet released._
_Note: Span sampling requires version 7.40 of the Datadog Agent or a more recent version._

Span sampling is used to select spans to keep even when the enclosing
trace is dropped.
Expand Down
4 changes: 2 additions & 2 deletions include/datadog/opentracing.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ struct TracerOptions {
// serialized tags allowed. Trace-wide tags whose serialized length exceeds
// this limit are not propagated.
uint64_t tags_header_size = 512;
// Note about `span_sampling_rules`: Span sampling does not work yet, because
// the necessary Datadog Agent changes are not yet released.
// Note about `span_sampling_rules`: Span sampling requires version 7.40 of
// the Datadog Agent or a more recent version.
//
// Rule-based span sampling, which is distinct from rule-based trace
// sampling, is used to determine which spans to keep, if any, when trace
Expand Down

0 comments on commit 5d41207

Please sign in to comment.