adding support for defaultMetrics on CloudApplication