Commit a82c4f1
* optimize doc-level monitor execution workflow for datastreams (#1302)
* optimize doc-level monitor execution for datastreams
Signed-off-by: Subhobrata Dey <[email protected]>
* add more tests to address comments
Signed-off-by: Subhobrata Dey <[email protected]>
* add integTest for multiple datastreams inside a single index pattern
* add integTest for multiple datastreams inside a single index pattern
Signed-off-by: Subhobrata Dey <[email protected]>
---------
Signed-off-by: Subhobrata Dey <[email protected]>
* Bulk index findings and sequentially invoke auto-correlations (#1355)
* Bulk index findings and sequentially invoke auto-correlations
Signed-off-by: Megha Goyal <[email protected]>
* Bulk index findings in batches of 10000 and make it configurable
Signed-off-by: Megha Goyal <[email protected]>
* Addressing review comments
Signed-off-by: Megha Goyal <[email protected]>
* Add integ tests to test bulk index findings
Signed-off-by: Megha Goyal <[email protected]>
* Fix ktlint formatting
Signed-off-by: Megha Goyal <[email protected]>
---------
Signed-off-by: Megha Goyal <[email protected]>
* fix for MapperException[the [enabled] parameter can't be updated for the object mapping [metadata.source_to_query_index_mapping] (#1432) (#1434)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add jvm aware setting and max num docs settings for batching docs for percolate queries (#1435)
* add jvm aware and max docs settings for batching docs for percolate queries
Signed-off-by: Surya Sashank Nistala <[email protected]>
* fix stats logging
Signed-off-by: Surya Sashank Nistala <[email protected]>
* add queryfieldnames field in findings mapping
Signed-off-by: Surya Sashank Nistala <[email protected]>
---------
Signed-off-by: Surya Sashank Nistala <[email protected]>
* clean up doc level queries on dry run (#1430)
Signed-off-by: Joanne Wang <[email protected]>
* optimize to fetch only fields relevant to doc level queries in doc level monitor instead of entire _source for each doc (#1441)
* optimize to fetch only fields relevant to doc level queries in doc level monitor
Signed-off-by: Surya Sashank Nistala <[email protected]>
* fix test for settings check
Signed-off-by: Surya Sashank Nistala <[email protected]>
* fix ktlint
Signed-off-by: Surya Sashank Nistala <[email protected]>
---------
Signed-off-by: Surya Sashank Nistala <[email protected]>
* optimize sequence number calculation and reduce search requests in doc level monitor execution (#1445)
* optimize sequence number calculation and reduce search requests by n where n is number of shards being queried in the executino
Signed-off-by: Surya Sashank Nistala <[email protected]>
* fix tests
Signed-off-by: Surya Sashank Nistala <[email protected]>
* optimize check indices and execute to query only write index of aliases and datastreams during monitor creation
Signed-off-by: Surya Sashank Nistala <[email protected]>
* fix test
Signed-off-by: Surya Sashank Nistala <[email protected]>
* add javadoc
Signed-off-by: Surya Sashank Nistala <[email protected]>
* add tests to verify seq_no calculation
Signed-off-by: Surya Sashank Nistala <[email protected]>
---------
Signed-off-by: Surya Sashank Nistala <[email protected]>
* add distributed locking to jobs in alerting (#1403)
Signed-off-by: Subhobrata Dey <[email protected]>
* 2.9.1 version bump
Signed-off-by: Surya Sashank Nistala <[email protected]>
* fix compilation issues
Signed-off-by: Surya Sashank Nistala <[email protected]>
* dummy commit
Signed-off-by: Surya Sashank Nistala <[email protected]>
* fix findings index schema version tsts
Signed-off-by: Surya Sashank Nistala <[email protected]>
---------
Signed-off-by: Subhobrata Dey <[email protected]>
Signed-off-by: Megha Goyal <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: Joanne Wang <[email protected]>
Co-authored-by: Subhobrata Dey <[email protected]>
Co-authored-by: Megha Goyal <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Joanne Wang <[email protected]>
1 parent ccfec17 commit a82c4f1
File tree
25 files changed
+2460
-281
lines changed- alerting/src
- main
- kotlin/org/opensearch/alerting
- model
- service
- settings
- transport
- util
- workflow
- resources/org/opensearch/alerting/alerts
- test/kotlin/org/opensearch/alerting
- alerts
- resthandler
- core/src/main
- kotlin/org/opensearch/alerting/core/lock
- resources/mappings
25 files changed
+2460
-281
lines changedLines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| |||
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
| 260 | + | |
257 | 261 | | |
258 | 262 | | |
259 | 263 | | |
| |||
268 | 272 | | |
269 | 273 | | |
270 | 274 | | |
| 275 | + | |
271 | 276 | | |
| 277 | + | |
272 | 278 | | |
273 | 279 | | |
274 | 280 | | |
| |||
293 | 299 | | |
294 | 300 | | |
295 | 301 | | |
296 | | - | |
| 302 | + | |
297 | 303 | | |
298 | | - | |
| 304 | + | |
299 | 305 | | |
300 | 306 | | |
301 | 307 | | |
| |||
325 | 331 | | |
326 | 332 | | |
327 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
328 | 337 | | |
329 | 338 | | |
330 | 339 | | |
| |||
345 | 354 | | |
346 | 355 | | |
347 | 356 | | |
| 357 | + | |
348 | 358 | | |
349 | 359 | | |
350 | 360 | | |
| |||
357 | 367 | | |
358 | 368 | | |
359 | 369 | | |
360 | | - | |
| 370 | + | |
| 371 | + | |
361 | 372 | | |
362 | 373 | | |
363 | 374 | | |
| |||
0 commit comments