This alert is a combination of the alerts in Postgres Unarchived WAL Files and Postgres Total WAL Files to create a percentage of unarchived WAL files.
To create this metric in DPA, create a new custom metric of type Single Value and make it look similar to this example: