Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

add AD job on top of JobScheduler #44

Merged

Conversation

ylwu-amzn
Copy link
Contributor

Create AD job on top of JobScheduler. User can create monitor on AD result index. So we can decouple AD and Alerting.

}
}
ToXContent.Params params = new ToXContent.MapParams(ImmutableMap.of(ENABLED_FIELD, adJobEnabled.toString()));
builder.field(RestHandlerUtils.ANOMALY_DETECTOR, detector, params);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To limit PR size. Will publish another PR to return both detector and detector job.

@ylwu-amzn ylwu-amzn merged commit a82209f into opendistro-for-elasticsearch:development Feb 27, 2020
@ylwu-amzn ylwu-amzn linked an issue Feb 27, 2020 that may be closed by this pull request
kaituo pushed a commit to kaituo/anomaly-detection that referenced this pull request Mar 6, 2020
* add AD job on top of JobScheduler

* release job lock when job finish or fail

* upgrade jobscheduler to 1.4
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create dedicated AD job
3 participants