Hi guys, i put some fields in qc_info plugin
https://mariadb.atlassian.net/browse/MDEV-4581
the second part was add some others informations (stats):
https://mariadb.atlassian.net/browse/MDEV-4682


i was reading the "response_time_distribution" of percona, patch at 
https://mariadb.atlassian.net/browse/MDEV-4568

could i use the audit plugin to implement MDEV-4682?

what i need is:
1)know if the query was executed with/without query cache
2)know the time expend (lock time, and total time) to execute the query (first execution)
3)know the time expend with query cache hit
4) both (3) and (2) don't include time of network packages, just server side times...

is it possible?
any idea how could i implement it? i didn't write a audit plugin yet =( well.. time to learn =D

thanks guys!

--
Roberto Spadim