-
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 Get Detector stats to SDK using SDKRestClient #382
Comments
Added necessary objects in create components but there is a method named stats missing in SDKIndicesClient which needs to be created on Opensearch-sdk-java. Need to discuss with @dbwiddis regarding that IndicesAdminClient on opensearch has a 2 method
There is a need to create there counter part on sdkindicesclient as well. |
@vibrantvarun what are the blockers for this draft PR to be opened up? |
As per @vibrantvarun , this issue is blocked on resolving this bug: #654 . @dbwiddis / @owaiskazi19 thoughts? |
Per this comment #654 is not an actual bug, there was an incorrect base path used. However, in the process of troubleshooting I did implement deprecated and replaced routes in #666, which should be merged and this PR rebased to the new format (closer to original AD format/minimize the diff). |
|
Is your feature request related to a problem?
Part of opensearch-project/OpenSearch#5224
What solution would you like?
Migrate the Get Detector stats 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/stats
GET _plugins/_anomaly_detection/<nodeId>/stats
GET _plugins/_anomaly_detection/<nodeId>/stats/<stat>
The Get detector stats api's are responsible for providing information about how the plugin is performing.
The text was updated successfully, but these errors were encountered: