To implement your custom metric, you need to register it with the following ATG Components: