Upon rebase the branch, I find we need to redo the similar work for V2 publisher:
Also Application priority can be published along with this. YARN-3948 for reference.
ApplicationReport should be able to tell whether the Application is AM managed or not.
Publish Application Priority to TimelineServer