pt-kill doc on filter is miserable, examples are needed

Description

I believe I am above average regarding the pt-toolkit and perl and... I spent nearly 1h to get a filter working.  This is almost unusable without looking at the code and debugging.  Here a working example of a filter and pt-kill invocation able to kill queries matching user=username AND query_time > 300:

and

By default, match conditions are ORed together, the only way to get AND is a filter.

 

Environment

None

Smart Checklist

Activity

Show:

Lalit Choudhary September 8, 2020 at 11:20 AM

Hi

Thank you for the improvement requests.

My understanding is that you want a few such examples in pt-kill documentation, right?

 

Details

Assignee

Reporter

Priority

Components

Fix versions

Smart Checklist

Created July 24, 2020 at 2:58 PM
Updated February 29, 2024 at 8:57 PM