Skip to content

[Backport 3.3] PPL Alerting: Execute Monitor and Monitor Stats - #1990

Closed
opensearch-trigger-bot[bot] wants to merge 1 commit into
3.3from
backport-1960-to-3.3
Closed

[Backport 3.3] PPL Alerting: Execute Monitor and Monitor Stats#1990
opensearch-trigger-bot[bot] wants to merge 1 commit into
3.3from
backport-1960-to-3.3

Conversation

@opensearch-trigger-bot

Copy link
Copy Markdown
Contributor

Backport 74aed08 from #1960.

* PPL Alerting initial commit

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* removing unused get alerts params and adding serde tests for alertsv2 request and response

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* adding get alerts rbac IT

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* misc changes

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* removing actioned upon TODO

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* adding execute monitor request/response serde tests that are currently failing

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* adding request response serde tests and passing in explicit readers and writers for PPLSQLMonitorRunResult serde

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* finishing out request/response serde tests

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* minor changes in tests

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* adding debug logs for playground

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* adding expires null check in alert expiration

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* removing null check as expires duration should never be null

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* cleanup

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* updating timestamp field check to include any date type that includes the string date

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* addressing PR comments

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* misc logs changes

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* changing default max query results to 1000 and replacing get alerts filters with constants

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* putting query index parsing logic in try catch

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* adding backtick trimming when reading index names in ppl query

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* adding time measurements and logs

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* refactoring PPL query execution call to use transport service with timeout instead of client

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* adding monitor run timeout test

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* removing return in timeout catch block to allow for monitors to get updated with last triggered times

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* addressing pr comments

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* addressing pr comments

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* update monitor now ignores seqNo and primaryTerm, and eliminating monitor stats v2 api in favor of version parameter in existing monitor stats api

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

* adding experimental tags

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>

---------

Signed-off-by: Dennis Toepker <toepkerd@amazon.com>
Co-authored-by: Dennis Toepker <toepkerd@amazon.com>
(cherry picked from commit 74aed08)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@AWSHurneyt

Copy link
Copy Markdown
Collaborator

Closing this PR as we're removing this feature and it's assets for now. Development will continue on main branch, with release planned for v3.7.
See PR #2017 for details.

@AWSHurneyt AWSHurneyt closed this Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant