OptionalmaxMaximum number of traces matching this rule to sample per second.
OptionalnameOperation name on which to apply this rule. The rule will apply to all operation names if not provided.
OptionalresourceResource name on which to apply this rule. The rule will apply to all resource names if not provided.
Sampling rate for this rule. A range between 0 and 1 representing the percent of traces sampled.
OptionalserviceService on which to apply this rule. The rule will apply to all services if not provided.
OptionaltagsSpan tags on which to apply this rule, keyed by tag name. Each value is a glob pattern or regular expression, and the rule only applies when every entry matches the span's tags.
Sampling rule to configure on the priority sampler.