def METHOD_NAME(self):
    self.scraper_configs = []
    app_controller_endpoint = self.instance.get("app_controller_endpoint")
    api_server_endpoint = self.instance.get("api_server_endpoint")
    repo_server_endpoint = self.instance.get("repo_server_endpoint")
    notifications_controller_endpoint = self.instance.get("notifications_controller_endpoint")
    if (
        not app_controller_endpoint
        and not repo_server_endpoint
        and not api_server_endpoint
        and not notifications_controller_endpoint
    ):
        raise ConfigurationError(
            "Must specify at least one of the following:"
            "`app_controller_endpoint`, `repo_server_endpoint` or `api_server_endpoint`."
        )
    if app_controller_endpoint:
        self.scraper_configs.append(
            self.generate_config(app_controller_endpoint, APP_CONTROLLER_NAMESPACE, APPLICATION_CONTROLLER_METRICS)
        )
    if api_server_endpoint:
        self.scraper_configs.append(
            self.generate_config(api_server_endpoint, API_SERVER_NAMESPACE, API_SERVER_METRICS)
        )
    if repo_server_endpoint:
        self.scraper_configs.append(
            self.generate_config(repo_server_endpoint, REPO_SERVER_NAMESPACE, REPO_SERVER_METRICS)
        )
    if notifications_controller_endpoint:
        self.scraper_configs.append(
            self.generate_config(
                notifications_controller_endpoint,
                NOTIFICATIONS_CONTROLLER_NAMESPACE,
                NOTIFICATIONS_CONTROLLER_METRICS,
            )
        )