See the haizea.pluggable.accounting module for the source code of the default probes included with Haizea.