Bassam Ismail
11/06/2024, 9:52 AMtail_sampling:
decision_wait: 5s
num_traces: 10000
policies:
[
{
name: drop_by_root_span,
type: and,
and: {
and_sub_policy: [
{
name: span_name,
type: string_attribute,
string_attribute: { key: span.name, values: ["process_events"] },
},
{
name: deployment_name,
type: string_attribute,
string_attribute: { key: resource_attributes["k8s.deployment.name"], values: ["fancy"] },
},
]
}
}
]