Comments (2)
@prpaluch Thanks for the suggestions! There actually is a new validation API that is being introduced in 1.2.0.0, which will check all of the detector fields and bring up errors if any critical issue is found, including verifying data filters (on both the source data like you've mentioned, as well as custom feature queries).
If using the Dashboards plugin, this validation will run behind-the-scenes and validate your detector configuration (including custom filters) before trying to save the detector. More information can be found in #106. For more information on the API itself, see here.
But, this solution still doesn't provide immediate feedback when writing the filter query, and the validation only runs on a later step in the creation process. Understandably, this may be more useful to validate even earlier as you've suggested.
@amitgalitz as owner of the validation API, do you see the suggestion above as a feasible solution given the implementation of the current API?
from anomaly-detection-dashboards-plugin.
Again thanks for the suggestions @prpaluch! Sorry for the late reply but I wanted to update that we released with 1.3 more updates to our Validate API. You should check it out: https://opensearch.org/docs/latest/monitoring-plugins/ad/api/#validate-detector. This API can either ran through the backend or on the last step of creating a detector and it will review the detector configurations. We didn’t implement a check button right next to the data filter as we wanted to take all configurations into account when validating but it will have further validation on the data filter for example on the "review and create" step.
In relation to your first suggestion of having a default example, I will create a separate issue for this for more conversation regarding this enhancement. For the last point, I believe supporting something like auto completion for a custom query is out of scope for this plugin. This could be a good feature request for the core Opensearch team to implement. I will be closing this issue and creating a sub issue for your first suggestion and feel free to create a new issue with a specific suggestion for the Validation API as we now have a base for validating configuration which we didn’t have at the time you made this issue.
from anomaly-detection-dashboards-plugin.
Related Issues (20)
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 3.0.0 tar distribution HOT 8
- [Campaign] Ensure Github workflow runs on docker image used by Production Distribution Build HOT 6
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 2.11.0 tar distribution HOT 2
- [RELEASE] Release version 2.12.0 HOT 1
- [CI] Fix test workflows when env support is improved HOT 1
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 3.0.0 tar distribution HOT 1
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 3.0.0 tar distribution HOT 1
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 3.0.0 tar distribution HOT 3
- [Action Required] Ensure 2.11 branch readiness for 2.11.1 release
- [AUTOCUT] Distribution Build Failed for anomalyDetectionDashboards-3.0.0 HOT 267
- [Feature] [Vis Augmenter] Support high-cardinality detectors in visualizations
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 2.11.1 tar distribution HOT 6
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 1.3.14 tar distribution HOT 1
- [AUTOCUT] Distribution Build Failed for anomalyDetectionDashboards-2.12.0 HOT 33
- [v2.12.0] Ensure CI/documentation reflect changes to default admin credentials HOT 1
- [BUG]While building anomaly-detection-dashboard-plugin 2.11.0.0, many unit test cases are failing HOT 1
- [FEATURE] Align dependency versions HOT 1
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 3.0.0 tar distribution HOT 50
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 2.12.0 tar distribution HOT 26
- [AUTOCUT] Distribution Build Failed for anomalyDetectionDashboards-2.12.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anomaly-detection-dashboards-plugin.