gf handler support for traces