@@ -83,6 +83,7 @@ import org.opensearch.core.xcontent.XContentParser
83
83
import org.opensearch.env.Environment
84
84
import org.opensearch.env.NodeEnvironment
85
85
import org.opensearch.index.IndexModule
86
+ import org.opensearch.monitor.jvm.JvmStats
86
87
import org.opensearch.painless.spi.PainlessExtension
87
88
import org.opensearch.painless.spi.Whitelist
88
89
import org.opensearch.painless.spi.WhitelistLoader
@@ -237,6 +238,7 @@ internal class AlertingPlugin : PainlessExtension, ActionPlugin, ScriptPlugin, R
237
238
.registerTriggerService(TriggerService (scriptService))
238
239
.registerAlertService(AlertService (client, xContentRegistry, alertIndices))
239
240
.registerDocLevelMonitorQueries(DocLevelMonitorQueries (client, clusterService))
241
+ .registerJvmStats(JvmStats .jvmStats())
240
242
.registerConsumers()
241
243
.registerDestinationSettings()
242
244
scheduledJobIndices = ScheduledJobIndices (client.admin(), clusterService)
@@ -284,6 +286,8 @@ internal class AlertingPlugin : PainlessExtension, ActionPlugin, ScriptPlugin, R
284
286
AlertingSettings .ALERT_HISTORY_MAX_DOCS ,
285
287
AlertingSettings .ALERT_HISTORY_RETENTION_PERIOD ,
286
288
AlertingSettings .ALERTING_MAX_MONITORS ,
289
+ AlertingSettings .PERCOLATE_QUERY_DOCS_SIZE_MEMORY_PERCENTAGE_LIMIT ,
290
+ AlertingSettings .PERCOLATE_QUERY_MAX_NUM_DOCS_IN_MEMORY ,
287
291
AlertingSettings .REQUEST_TIMEOUT ,
288
292
AlertingSettings .MAX_ACTION_THROTTLE_VALUE ,
289
293
AlertingSettings .FILTER_BY_BACKEND_ROLES ,
0 commit comments