Skip to content

Commit

Permalink
Add suggest anomaly detector action to discover page (#849)
Browse files Browse the repository at this point in the history
* Add generate anomaly detector action to discover page

Signed-off-by: gaobinlong <[email protected]>

* Add more test code and rename the file

Signed-off-by: gaobinlong <[email protected]>

* Modify flyout header

Signed-off-by: gaobinlong <[email protected]>

* Make the detectorName follow the convention

Signed-off-by: gaobinlong <[email protected]>

* Truncate the index pattern name if it's too long

Signed-off-by: gaobinlong <[email protected]>

* Move entry point to query editor

Signed-off-by: gaobinlong <[email protected]>

* Call the node API in dashboard-assistant plugin to generate parameters

Refactor unit test code

Signed-off-by: gaobinlong <[email protected]>

* Fix test failure

Signed-off-by: gaobinlong <[email protected]>

* Revert the code format

Signed-off-by: gaobinlong <[email protected]>

* Remove some empty lines

Signed-off-by: gaobinlong <[email protected]>

---------

Signed-off-by: gaobinlong <[email protected]>
(cherry picked from commit ec02b63)
  • Loading branch information
gaobinlong authored and github-actions[bot] committed Sep 9, 2024
1 parent a6019e4 commit 0a30fe4
Show file tree
Hide file tree
Showing 12 changed files with 1,413 additions and 47 deletions.
3 changes: 2 additions & 1 deletion opensearch_dashboards.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
],
"optionalPlugins": [
"dataSource",
"dataSourceManagement"
"dataSourceManagement",
"assistantDashboards"
],
"requiredPlugins": [
"opensearchDashboardsUtils",
Expand Down
449 changes: 449 additions & 0 deletions public/components/DiscoverAction/SuggestAnomalyDetector.test.tsx

Large diffs are not rendered by default.

Loading

0 comments on commit 0a30fe4

Please sign in to comment.