I'm trying to drop a root span and all the childre...
# support
b
I'm trying to drop a root span and all the children span under that trace. I tried tail_sampling but it doesn't seem to be working. What could be wrong here?
Copy code
tail_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"] },
                  },
                ]
              }
            }
          ]