def METHOD_NAME(aggregator, integration_check, metrics_cache_replica, pg_replica_instance):
    check = integration_check(pg_replica_instance)
    check.initialize_is_aurora()
    check.check(pg_replica_instance)
    expected_tags = _get_expected_tags(check, pg_replica_instance)
    check_common_metrics(aggregator, expected_tags=expected_tags)
    check_bgw_metrics(aggregator, expected_tags)
    check_connection_metrics(aggregator, expected_tags=expected_tags)
    check_control_metrics(aggregator, expected_tags=expected_tags)
    check_db_count(aggregator, expected_tags=expected_tags)
    check_slru_metrics(aggregator, expected_tags=expected_tags)
    check_replication_delay(aggregator, metrics_cache_replica, expected_tags=expected_tags)
    check_wal_receiver_metrics(aggregator, expected_tags=expected_tags + ['status:streaming'])
    check_conflict_metrics(aggregator, expected_tags=expected_tags)
    check_uptime_metrics(aggregator, expected_tags=expected_tags)
    check_snapshot_txid_metrics(aggregator, expected_tags=expected_tags)
    check_stat_wal_metrics(aggregator, expected_tags=expected_tags)
    check_file_wal_metrics(aggregator, expected_tags=expected_tags)
    aggregator.assert_all_metrics_covered()