Add custom attributes to endLatency event