Skip to content

Conversation

@opensearch-trigger-bot
Copy link
Contributor

Backport 74aed08 from #1960.

* PPL Alerting initial commit

Signed-off-by: Dennis Toepker <[email protected]>

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

Signed-off-by: Dennis Toepker <[email protected]>

* adding get alerts rbac IT

Signed-off-by: Dennis Toepker <[email protected]>

* misc changes

Signed-off-by: Dennis Toepker <[email protected]>

* removing actioned upon TODO

Signed-off-by: Dennis Toepker <[email protected]>

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

Signed-off-by: Dennis Toepker <[email protected]>

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

Signed-off-by: Dennis Toepker <[email protected]>

* finishing out request/response serde tests

Signed-off-by: Dennis Toepker <[email protected]>

* minor changes in tests

Signed-off-by: Dennis Toepker <[email protected]>

* adding debug logs for playground

Signed-off-by: Dennis Toepker <[email protected]>

* adding expires null check in alert expiration

Signed-off-by: Dennis Toepker <[email protected]>

* removing null check as expires duration should never be null

Signed-off-by: Dennis Toepker <[email protected]>

* cleanup

Signed-off-by: Dennis Toepker <[email protected]>

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

Signed-off-by: Dennis Toepker <[email protected]>

* addressing PR comments

Signed-off-by: Dennis Toepker <[email protected]>

* misc logs changes

Signed-off-by: Dennis Toepker <[email protected]>

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

Signed-off-by: Dennis Toepker <[email protected]>

* putting query index parsing logic in try catch

Signed-off-by: Dennis Toepker <[email protected]>

* adding backtick trimming when reading index names in ppl query

Signed-off-by: Dennis Toepker <[email protected]>

* adding time measurements and logs

Signed-off-by: Dennis Toepker <[email protected]>

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

Signed-off-by: Dennis Toepker <[email protected]>

* adding monitor run timeout test

Signed-off-by: Dennis Toepker <[email protected]>

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

Signed-off-by: Dennis Toepker <[email protected]>

* addressing pr comments

Signed-off-by: Dennis Toepker <[email protected]>

* addressing pr comments

Signed-off-by: Dennis Toepker <[email protected]>

* 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 <[email protected]>

* adding experimental tags

Signed-off-by: Dennis Toepker <[email protected]>

---------

Signed-off-by: Dennis Toepker <[email protected]>
Co-authored-by: Dennis Toepker <[email protected]>
(cherry picked from commit 74aed08)
Signed-off-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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant