diff --git a/sample-remote-monitor-plugin/src/main/java/org/opensearch/alerting/SampleRemoteMonitorRestHandler.java b/sample-remote-monitor-plugin/src/main/java/org/opensearch/alerting/SampleRemoteMonitorRestHandler.java index 17a29cf54..46cb7ee58 100644 --- a/sample-remote-monitor-plugin/src/main/java/org/opensearch/alerting/SampleRemoteMonitorRestHandler.java +++ b/sample-remote-monitor-plugin/src/main/java/org/opensearch/alerting/SampleRemoteMonitorRestHandler.java @@ -96,7 +96,8 @@ protected RestChannelConsumer prepareRequest(RestRequest restRequest, NodeClient new DataSources(), false, false, - "sample-remote-monitor-plugin" + "sample-remote-monitor-plugin", + null ); IndexMonitorRequest indexMonitorRequest1 = new IndexMonitorRequest( Monitor.NO_ID, @@ -158,7 +159,8 @@ public void onFailure(Exception e) { new DataSources(), false, false, - "sample-remote-monitor-plugin" + "sample-remote-monitor-plugin", + null ); IndexMonitorRequest indexMonitorRequest2 = new IndexMonitorRequest( Monitor.NO_ID, @@ -243,7 +245,8 @@ public void onFailure(Exception e) { new DataSources(), false, false, - "sample-remote-monitor-plugin" + "sample-remote-monitor-plugin", + null ); IndexMonitorRequest indexDocLevelMonitorRequest = new IndexMonitorRequest( Monitor.NO_ID,