-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Profile Detector to SDK using SDKRestClient #381
Comments
I triggered the below profile api and got the error as index not found. The index is created via start detector api
It has a direct dependency on start detector Once the start detector gets completed I will pick this again. |
@vibrantvarun to unblock you for now, you can pass in the |
@joshpalis Okay Trying out the heck |
@vibrantvarun you can refer to this method here to see how the method is invoked. |
Hey @joshpalis there is a lot of similar work which you already did in the start detector needed to be done in order to make the heck mentioned above work. Though, I have done the work to implement the TransportAction in GetAnomalyDetectorTransportAction. However, I would test it once the start detector PR gets merged |
|
|
|
|
|
Is your feature request related to a problem?
Part of opensearch-project/OpenSearch#5224
What solution would you like?
Migrate the Profile Detector Rest API to Extensions SDK using SDKRestClient.
Use the implementation of #353 as a reference. Add new issues for any steps you skip.
Implement the following API endpoints:
GET _plugins/_anomaly_detection/detectors/<detectorId>/_profile/
GET _plugins/_anomaly_detection/detectors/<detectorId>/_profile?_all=true
GET _plugins/_anomaly_detection/detectors/<detectorId>/_profile/<type>
GET _plugins/_anomaly_detection/detectors/<detectorId>/_profile/<type1>,<type2>
GET _plugins/_anomaly_detection/detectors/<detectorId>/_profile/ad_task
Work required to be done to enable the api
The text was updated successfully, but these errors were encountered: