📟 Get notified when your data meets certain conditions by setting up monitors, alerts, and notifications https://opensearch.org/docs/latest/monitoring-plugins/alerting/index/
  • Kotlin 96.7%
  • Java 3.2%
Find a file
Darshit Chanpura c54ea21834
Fix backend build against 3.x snapshot: jackson-core direct deps + httpcore5 pin (#2228)
* Declare jackson-core/annotations as direct deps to fix non-deterministic compile

The build only force()d com.fasterxml.jackson.core:jackson-core and
jackson-annotations, but a resolutionStrategy force overrides the version of a
dependency already in the graph -- it does not add one. jackson-databind is a
direct dependency, but jackson-core/annotations were only present transitively.

When building against the moving OpenSearch 3.x snapshot that pulls Jackson 3
(tools.jackson), the com.fasterxml jackson-core can be evicted from the compile
classpath, making the supertypes of jackson-databind types (TreeNode,
ObjectCodec, Versioned) inaccessible and breaking :alerting:compileKotlin
non-deterministically (InputService.kt, PPLUtils.kt, TriggerService.kt).

Declare jackson-core and jackson-annotations as direct implementation
dependencies (aligned with jackson-databind) so they are always on the
classpath. Fixes #2227.

Signed-off-by: Darshit Chanpura <dchanp@amazon.com>

* Pin httpcore5 to resolve conflicting versions from 3.x snapshot deps

After the jackson-core fix lets :alerting:compileKotlin succeed, the build then
fails resolving runtimeClasspath: opensearch-remote-metadata-sdk requires
httpcore5:5.4.3 while opensearch-rest-client requires httpcore5:5.4, and Gradle
cannot reconcile them ('Conflict found for module httpcore5 between 5.4.3 and
5.4'). Force httpcore5 and httpcore5-h2 to 5.4.3 so the build resolves
deterministically against the moving 3.x snapshot. Verified locally with
':alerting:assemble --refresh-dependencies'.

Signed-off-by: Darshit Chanpura <dchanp@amazon.com>

---------

Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
2026-09-10 17:36:40 -07:00
.github Onboards Alerting Plugin to Centralized Resource Authz (#2180) 2026-08-25 12:41:16 -07:00
alerting Fix backend build against 3.x snapshot: jackson-core direct deps + httpcore5 pin (#2228) 2026-09-10 17:36:40 -07:00
build-tools Add ci.opensearch.org/m2/ mirror for plugin marker resolution (alerting) (#2208) 2026-08-03 14:00:34 -04:00
core Onboards Alerting Plugin to Centralized Resource Authz (#2180) 2026-08-25 12:41:16 -07:00
docs Add Document Level Alerting RFC (#388) 2022-04-13 14:51:48 -07:00
gradle/wrapper Bumped gradle version to 9.4.1. (#2122) 2026-05-05 18:47:59 -07:00
release-notes [AUTO] Add release notes for 3.8.0 (#2197) 2026-07-29 16:11:15 -07:00
sample-remote-monitor-plugin Update maven2 mirror repository url order (#2188) 2026-07-07 11:41:12 -07:00
scripts Publish snapshots to Staging (#2005) 2025-12-12 13:32:23 -08:00
spi Update shadow plugin usage (#2022) 2026-02-18 13:20:08 -08:00
worksheets Add worksheets to help with testing (#151) 2021-08-26 13:07:35 -07:00
.codecov.yml Add Codecov configuration to set a coverage threshold to pass the check on a commit (#231) 2020-08-10 16:11:33 -07:00
.editorConfig Initial release for OpenDistro Elasticsearch Alerting 2019-03-04 16:39:57 -08:00
.gitignore Fix snapshot build and increment to 1.1.0. (#142) 2021-08-17 19:25:22 -04:00
.whitesource Add .whitesource configuration file (#270) 2022-01-12 13:33:42 -08:00
build.gradle Increment version to 3.9.0-SNAPSHOT (#2212) 2026-09-09 14:37:43 -07:00
CODE_OF_CONDUCT.md Update documentation to remove more ES references and update licenses 2021-04-16 17:13:31 -07:00
CONTRIBUTING.md Update and add documentation files (#117) 2021-06-24 16:41:21 -07:00
DEVELOPER_GUIDE.md Set alerting plugin 3.0.0 baseline JDK version to JDK-21 (#1695) 2025-01-02 08:53:07 -08:00
gradlew Change gradle wrapper from 9.2.0 to 9.4.0 (#2040) 2026-03-12 17:38:49 -07:00
gradlew.bat Change gradle wrapper from 9.2.0 to 9.4.0 (#2040) 2026-03-12 17:38:49 -07:00
LICENSE.txt Initial release for OpenDistro Elasticsearch Alerting 2019-03-04 16:39:57 -08:00
MAINTAINERS.md Baselines maintainers list. (#2092) 2026-04-17 11:57:14 -07:00
NOTICE.txt Update release note and copy right notice, and add dco workflow (#229) 2021-11-08 17:23:03 -08:00
README.md Replace Forum link in Alerting plugin README.md (#545) 2022-09-08 08:21:15 -07:00
RELEASING.md Update and add documentation files (#117) 2021-06-24 16:41:21 -07:00
SECURITY.md Update and add documentation files (#117) 2021-06-24 16:41:21 -07:00
settings.gradle Add ci.opensearch.org/m2/ mirror for plugin resolution (alerting) (#2204) (#2205) 2026-07-31 17:42:44 -04:00
THIRD-PARTY Update jackson CVE-2020-28491 (#8) 2021-04-23 17:39:32 -07:00

Test Workflow codecov Documentation Chat PRs welcome!

OpenSearch Alerting

The OpenSearch Alerting enables you to monitor your data and send alert notifications automatically to your stakeholders. With an intuitive OpenSearch Dashboards interface and a powerful API, it is easy to set up, manage, and monitor your alerts. Craft highly specific alert conditions using Elasticsearch's full query language and scripting capabilities.

Highlights

Scheduled searches use cron expressions or intervals (e.g. every five minutes) and the Elasticsearch query DSL.

To define trigger conditions, use the Painless scripting language or simple thresholds (e.g. count > 100).

When trigger conditions are met, you can publish messages to the following destinations:

Messages can be static strings, or you can use the Mustache templates to include contextual information.

Documentation

Please see our documentation.

Contributing

See developer guide and how to contribute to this project.

Code of Conduct

This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ, or contact opensource-codeofconduct@amazon.com with any additional questions or comments.

Security

If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our vulnerability reporting page. Please do not create a public GitHub issue.

License

This project is licensed under the Apache v2.0 License.

Copyright OpenSearch Contributors. See NOTICE for details.