This image shows the OCI Console Create Policy dialog. This includes the fields: Name with value adb_dg_policy, Description, with value policy to allow DG adb_dg to post metrics in the compartment, Compartment, with value may, and Policy Builder, with the selector Show manual editor selected and the rule value:
Allow dynamic-group adb_dg to use metrics in compartment OCID_of_compartment