override fun getSettings()

in alerting/src/main/kotlin/org/opensearch/alerting/AlertingPlugin.kt [253:309]


    override fun getSettings(): List<Setting<*>> {
        return listOf(
            ScheduledJobSettings.REQUEST_TIMEOUT,
            ScheduledJobSettings.SWEEP_BACKOFF_MILLIS,
            ScheduledJobSettings.SWEEP_BACKOFF_RETRY_COUNT,
            ScheduledJobSettings.SWEEP_PERIOD,
            ScheduledJobSettings.SWEEP_PAGE_SIZE,
            ScheduledJobSettings.SWEEPER_ENABLED,
            LegacyOpenDistroScheduledJobSettings.REQUEST_TIMEOUT,
            LegacyOpenDistroScheduledJobSettings.SWEEP_BACKOFF_MILLIS,
            LegacyOpenDistroScheduledJobSettings.SWEEP_BACKOFF_RETRY_COUNT,
            LegacyOpenDistroScheduledJobSettings.SWEEP_PERIOD,
            LegacyOpenDistroScheduledJobSettings.SWEEP_PAGE_SIZE,
            LegacyOpenDistroScheduledJobSettings.SWEEPER_ENABLED,
            AlertingSettings.INPUT_TIMEOUT,
            AlertingSettings.INDEX_TIMEOUT,
            AlertingSettings.BULK_TIMEOUT,
            AlertingSettings.ALERT_BACKOFF_MILLIS,
            AlertingSettings.ALERT_BACKOFF_COUNT,
            AlertingSettings.MOVE_ALERTS_BACKOFF_MILLIS,
            AlertingSettings.MOVE_ALERTS_BACKOFF_COUNT,
            AlertingSettings.ALERT_HISTORY_ENABLED,
            AlertingSettings.ALERT_HISTORY_ROLLOVER_PERIOD,
            AlertingSettings.ALERT_HISTORY_INDEX_MAX_AGE,
            AlertingSettings.ALERT_HISTORY_MAX_DOCS,
            AlertingSettings.ALERT_HISTORY_RETENTION_PERIOD,
            AlertingSettings.ALERTING_MAX_MONITORS,
            AlertingSettings.REQUEST_TIMEOUT,
            AlertingSettings.MAX_ACTION_THROTTLE_VALUE,
            AlertingSettings.FILTER_BY_BACKEND_ROLES,
            AlertingSettings.MAX_ACTIONABLE_ALERT_COUNT,
            LegacyOpenDistroAlertingSettings.INPUT_TIMEOUT,
            LegacyOpenDistroAlertingSettings.INDEX_TIMEOUT,
            LegacyOpenDistroAlertingSettings.BULK_TIMEOUT,
            LegacyOpenDistroAlertingSettings.ALERT_BACKOFF_MILLIS,
            LegacyOpenDistroAlertingSettings.ALERT_BACKOFF_COUNT,
            LegacyOpenDistroAlertingSettings.MOVE_ALERTS_BACKOFF_MILLIS,
            LegacyOpenDistroAlertingSettings.MOVE_ALERTS_BACKOFF_COUNT,
            LegacyOpenDistroAlertingSettings.ALERT_HISTORY_ENABLED,
            LegacyOpenDistroAlertingSettings.ALERT_HISTORY_ROLLOVER_PERIOD,
            LegacyOpenDistroAlertingSettings.ALERT_HISTORY_INDEX_MAX_AGE,
            LegacyOpenDistroAlertingSettings.ALERT_HISTORY_MAX_DOCS,
            LegacyOpenDistroAlertingSettings.ALERT_HISTORY_RETENTION_PERIOD,
            LegacyOpenDistroAlertingSettings.ALERTING_MAX_MONITORS,
            LegacyOpenDistroAlertingSettings.REQUEST_TIMEOUT,
            LegacyOpenDistroAlertingSettings.MAX_ACTION_THROTTLE_VALUE,
            LegacyOpenDistroAlertingSettings.FILTER_BY_BACKEND_ROLES,
            DestinationSettings.EMAIL_USERNAME,
            DestinationSettings.EMAIL_PASSWORD,
            DestinationSettings.ALLOW_LIST,
            DestinationSettings.HOST_DENY_LIST,
            LegacyOpenDistroDestinationSettings.EMAIL_USERNAME,
            LegacyOpenDistroDestinationSettings.EMAIL_PASSWORD,
            LegacyOpenDistroDestinationSettings.ALLOW_LIST,
            LegacyOpenDistroDestinationSettings.HOST_DENY_LIST
        )
    }