Instances of client applications running independently on different devices are monitored to generate metadata records that are stored in cloud storage. Metadata records in cloud storage that have an aspect in common are grouped and used for comparative analysis. For example, metadata records for instances of the same client application, database, query or database structure may be grouped. Reports may be generated based on the analysis. The reports may indicate comparative performance, irregular activity, patch version and configurations associated with performance degradation, and recommended actions to improve performance.