You don't need to print apmInfo. but `apmInfo.trace.events`