What is the mechanism in-place, that make sure OneAgent won't throw HTTP 5xx error, and also wouldn't be gap in monitoring data during Managed Cluster Upgrade?

There’s multiple parts to OneAgent. One part is responsible for collecting data. Another part is responsible for communicating the data to the cluster. Therefore in the event of cluster communication issues, there’s no chance of the monitored application being affected.