The following Lua scripts are the examples are from my MySQL Proxy @ OSCON 08 presentation.
analyze_query.lua
Requires MySQL Proxy Logging Module.
What is released is the Version for MySQL 5.0. A generic version for all MySQL versions is not yet released.
histogram.lua
This script is part of the standard MySQL Proxy examples.
Other Scripts
Additional Lua scripts from MySQL forge are available here.