This action is a Service Action that samples traces based on the presence of specified services within a trace.
auth-service
, for debugging or focused observability.actionName
string
: A human-readable name for the action.notes
string
: Free-form notes to describe the purpose or intent of this sampler.disabled
boolean
: Temporarily disables this sampler without deleting its configuration.false
signals *
string[]
: The signal types this sampler applies to.TRACES
is supported.services_name_filters *
object[]
: An array of objects representing the filters for the services.service_name *
string
: Specifies the service name to search within the trace (Across all available spans).sampling_ratio *
float
: Specifies the sample rate for all traces that contains service_name
.fallback_sampling_ratio *
float
: Specifies the percentage of traces that don’t meet the service name filter and that you still like to retain.services_name_filters
and passes the sampling_ratio
check. Traces without any listed services may still be sampled based on the corresponding fallback_sampling_ratio
.coupon-service
and 0% of all other traces:
payment-service
auth-service