Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add logging for remote monitor execution flows #1663

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

eirsep
Copy link
Member

@eirsep eirsep commented Sep 24, 2024

Description

add logging for remote monitor execution flows

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
@@ -49,7 +49,7 @@ open class RemoteMonitorRunner {
}

open fun getFanOutAction(): String {
return DocLevelMonitorFanOutAction.NAME
throw UnsupportedOperationException("Fan out action needs to be implemented by remote monitor.");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this being thrown as an exception now instead of returning the name?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this class needs to be implemented and registered at
public Map<String, RemoteMonitorRunner> getMonitorTypesToMonitorRunners() in Plugin

should not have a default fan out action. needs to be specified by the new monitor created by extending this class

@eirsep eirsep merged commit ba3e715 into opensearch-project:main Oct 2, 2024
18 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 2, 2024
Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
(cherry picked from commit ba3e715)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 2, 2024
Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
(cherry picked from commit ba3e715)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 2, 2024
Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
(cherry picked from commit ba3e715)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
eirsep pushed a commit that referenced this pull request Oct 2, 2024
(cherry picked from commit ba3e715)

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
eirsep pushed a commit that referenced this pull request Oct 2, 2024
(cherry picked from commit ba3e715)

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
eirsep pushed a commit that referenced this pull request Oct 2, 2024
(cherry picked from commit ba3e715)

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants