afb-trace: Add tracing features to API monitor