adds pg:diagnose
add tracking for diagnose