Skip to content
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

Fix issues in historical analysis and custom result index #888

Closed
wants to merge 133 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
e10aa44
remove additional loading spinners and removing master from docker co…
amitgalitz Apr 19, 2022
59cdff6
adding 2.0-rc1 dashboard release notes (#247)
amitgalitz Apr 20, 2022
b46649a
Remove rc1 qualifier (#257)
amitgalitz May 16, 2022
f2e3b93
checks if request is done loading before api call (#262)
amitgalitz May 17, 2022
769a0d6
2.0-GA release notes (#267)
amitgalitz May 18, 2022
d128ab1
added UT for validation API related components (#252)
amitgalitz May 26, 2022
5076506
Run UT/IT on all branches (#228)
ohltyler May 31, 2022
e140aa3
Fix missing data call out if window delay is large (#278) (#280)
opensearch-trigger-bot[bot] Jun 20, 2022
52ca247
Bump to 2.1.0 compatibility (#282)
ohltyler Jun 24, 2022
274e2bb
added 2.1 release notes (#284)
amitgalitz Jun 27, 2022
36dff1e
bump to 2.2 (#293)
amitgalitz Aug 5, 2022
ede45f3
Add feature attribution (#296)
jackiehanyang Aug 5, 2022
8854f55
Add 2.2 release notes (#300)
ohltyler Aug 5, 2022
c09dc68
fix failed unit tests (#303) (#304)
opensearch-trigger-bot[bot] Aug 9, 2022
f8eedf5
Fix a bug in parse response to get expected value (#306)
jackiehanyang Aug 10, 2022
8d8aad1
Fix undefine expect value for feature attribution (#310) (#311)
opensearch-trigger-bot[bot] Aug 10, 2022
e827551
Bump to 2.3 (#317)
ohltyler Sep 7, 2022
ac17745
2.3 release notes (#320)
amitgalitz Sep 13, 2022
9d3f7b0
Upgrade moment to 2.29.4 (#323)
ohltyler Sep 21, 2022
a5f342e
Bump to 2.4 (#328)
ohltyler Oct 13, 2022
a98c4db
Add 2.4 release notes (#331)
ohltyler Oct 31, 2022
64dd9b6
Add windows platform in CI workflow (#330) (#334)
opensearch-trigger-bot[bot] Nov 1, 2022
29e7129
Correct AD branch reference for 2.x (#336)
jackiehanyang Nov 1, 2022
989bc33
Update several dependencies (#339)
ohltyler Nov 14, 2022
1a19567
Bump to 2.5.0; add constants in CI workflow (#346)
ohltyler Nov 30, 2022
35aaf88
Fix CVEs (#358)
ohltyler Dec 2, 2022
5e9998a
Bump decode-uri-component (#359)
ohltyler Dec 16, 2022
38384bc
removed duplicate popout icon and ran prettier
amitgalitz Dec 21, 2022
18c734c
Change detector out of time range modal warning into a callout warnin…
opensearch-trigger-bot[bot] Jan 4, 2023
2dc1272
Fix undefined entity list when heatmap is empty (#383)
ohltyler Jan 4, 2023
caedfff
Updated MAINTAINERS.md to match recommended opensearch-project format…
dblock Jan 5, 2023
5d4ef82
Add windows env to integration test workflow (#390)
ohltyler Jan 6, 2023
0e271d4
Bump json5 to 2.2.3 (#393)
ohltyler Jan 6, 2023
50d1052
Add 2.5 release notes (#395)
ohltyler Jan 10, 2023
e8217da
Update cold start message (#398) (#399)
opensearch-trigger-bot[bot] Jan 19, 2023
2eae68a
upgrade filter bug (#402) (#404)
opensearch-trigger-bot[bot] Jan 30, 2023
e14a5fc
Changed required minimum intervals in cold start message (#411)
kaituo Feb 9, 2023
b676031
Bump @sideway/formula to 3.0.1 (#418) (#419)
opensearch-trigger-bot[bot] Feb 14, 2023
ccd17be
Remove auto_expand_replicas override in sample data indices (#423) (#…
opensearch-trigger-bot[bot] Feb 15, 2023
1f26155
Bump to 2.6.0.0 (#430)
ohltyler Feb 20, 2023
6a3527e
Created untriaged issue workflow. (#422) (#431)
opensearch-trigger-bot[bot] Feb 20, 2023
a3a657e
Add 2.6 release notes (#429) (#432)
opensearch-trigger-bot[bot] Feb 20, 2023
8d2a955
Fix Node.js and Yarn installation in CI (#433)
AMoo-Miki Feb 22, 2023
8b576a5
run prettier command against all files (#444)
jackiehanyang Mar 27, 2023
5ce528c
bump to 2.7.0.0 (#455)
jackiehanyang Apr 5, 2023
5037362
Add 2.7 release notes (#456) (#458)
opensearch-trigger-bot[bot] Apr 17, 2023
801540c
fixing test to pass with node 18 (#491)
amitgalitz May 24, 2023
0b87a87
bump version to 2.8 (#496)
amitgalitz May 26, 2023
c955416
Add 2.8 release notes
kaituo May 26, 2023
8dce923
updating maintainers and code owners (#476)
amitgalitz May 9, 2023
17ef797
add 2.8.0 release notes (#500)
kaituo May 31, 2023
007f8e5
Remove invalid link (#470)
peternied Jun 12, 2023
19a580c
Remove global OUI style override (#511)
BSFishy Jun 22, 2023
815b79f
Bump to 2.9.0.0 (#529)
ohltyler Jul 10, 2023
3eb4fcf
Merge featureAnywhere branch into main (#539)
jackiehanyang Jul 11, 2023
dc52d68
pick changes from featureAnywhere branch into main (#542) (#543)
opensearch-trigger-bot[bot] Jul 11, 2023
f1b5218
fixed unit tests previously missed (#546) (#547)
opensearch-trigger-bot[bot] Jul 11, 2023
2195ae6
Add 2.9.0 Release Notes (#551) (#552)
opensearch-trigger-bot[bot] Jul 13, 2023
1a2f407
[Backport 2.x] Remove version dependency in cypress workflow (#554) (…
ohltyler Jul 18, 2023
41983bd
Increase limit (#562) (#563)
opensearch-trigger-bot[bot] Jul 20, 2023
823e893
Bumped semver to latest legacy version (#565) (#566)
opensearch-trigger-bot[bot] Jul 20, 2023
6f114af
Cypress workflow improvements (#560) (#570)
ohltyler Jul 24, 2023
3d8740d
Fix display of detector names (#585) (#586)
opensearch-trigger-bot[bot] Aug 14, 2023
97066a6
Increment version to 2.10.0.0 (#571)
opensearch-trigger-bot[bot] Aug 30, 2023
dbfdc27
Remove some styling overrides (#594)
ohltyler Sep 1, 2023
451a931
Add 2.10 release notes (#598) (#599)
opensearch-trigger-bot[bot] Sep 8, 2023
5f32b78
bump version to 2.11 (#611)
amitgalitz Sep 26, 2023
58ca4ea
Prevent empty task IDs passed to server side (#616) (#623)
opensearch-trigger-bot[bot] Oct 11, 2023
3c87c46
Update maintainers & codeowners (#625)
ohltyler Oct 12, 2023
68ca890
Support github actions to run yarn build on build docker images (#620…
ohltyler Oct 19, 2023
c503745
fix build error due to missing babel plugins (#661) (#664)
opensearch-trigger-bot[bot] Dec 27, 2023
bdd810a
[AUTO] Increment version to 2.12.0.0 (#629)
opensearch-trigger-bot[bot] Jan 5, 2024
071e1e1
Increment version to 2.12.0.0
opensearch-ci-bot Jan 6, 2024
1f019eb
fix multiple CVEs (#675) (#676)
opensearch-trigger-bot[bot] Feb 5, 2024
a5da00f
Add 2.12 release notes (#677) (#678)
opensearch-trigger-bot[bot] Feb 7, 2024
433d6c5
Update Plotly version to the latest to resolve CVE (#683) (#684)
opensearch-trigger-bot[bot] Feb 13, 2024
1359aa1
update snapshots (#687) (#688)
opensearch-trigger-bot[bot] Feb 15, 2024
c9d909c
update snapshots for 2.12 (#690) (#691)
opensearch-trigger-bot[bot] Feb 15, 2024
4d77948
[AUTO] Increment version to 2.13.0.0 (#695)
opensearch-trigger-bot[bot] Feb 29, 2024
5a34a7d
Increment version to 2.13.0.0 (#700)
opensearch-trigger-bot[bot] Mar 1, 2024
aa01139
Adding 2.13 release notes (#704) (#705)
opensearch-trigger-bot[bot] Mar 19, 2024
04be7af
Remove legacy deps - 2.13 (#710)
ohltyler Mar 27, 2024
5c70d83
Bump follow-redirects from 1.15.5 to 1.15.6 (#709) (#711)
opensearch-trigger-bot[bot] Mar 27, 2024
437b0ed
Populate selected indices from query params on initial load (#713) (#…
opensearch-trigger-bot[bot] Apr 1, 2024
982b432
Add workflow to verify binary installation works (#693) (#733)
opensearch-trigger-bot[bot] Apr 24, 2024
55ed6f5
merge feature/mds branch into main (#739) (#740)
opensearch-trigger-bot[bot] Apr 29, 2024
fb1536e
clean selected field values when switching data source on create page…
opensearch-trigger-bot[bot] Apr 29, 2024
2715968
Increment version to 2.14.0.0 (#717)
opensearch-trigger-bot[bot] Apr 30, 2024
273dbf8
backport https://github.com/opensearch-project/anomaly-detection-dash…
kaituo Apr 30, 2024
cc35b82
Add release notes for 2.14.0 (#745) (#749)
opensearch-trigger-bot[bot] Apr 30, 2024
70d4183
Use correct 2.x version for Dashboards binary (#752) (#753)
opensearch-trigger-bot[bot] Apr 30, 2024
a6fa630
Remove unnecessary sleep between test runs (#746) (#754)
opensearch-trigger-bot[bot] May 1, 2024
0d6755d
Fix Warning Message About Custom Result Index on Production Clusters …
opensearch-trigger-bot[bot] May 20, 2024
c9844a9
Fix handling of special characters in categorical values (#757) (#760)
opensearch-trigger-bot[bot] May 20, 2024
0966a2f
support MDS in feature anywhere (#767) (#768)
opensearch-trigger-bot[bot] Jun 3, 2024
0611bf9
Update 2.x to 2.15.0
peterzhuamazon Jun 5, 2024
14ebd03
update create detector page and detector detail page to add custom re…
opensearch-trigger-bot[bot] Jun 5, 2024
87448de
Update Frontend for Custom Result Index Query and Fix Issues (#772) (…
opensearch-trigger-bot[bot] Jun 10, 2024
9778da5
fix a MDS related bug on feature anywhere page (#773) (#775)
opensearch-trigger-bot[bot] Jun 10, 2024
78b80df
make custom result index lifecycle management in AD optional (#777) (…
opensearch-trigger-bot[bot] Jun 11, 2024
4d8e160
mds feature anywhere associated detectors fix (#778) (#780)
opensearch-trigger-bot[bot] Jun 11, 2024
98bf010
adding 2.15 release notes (#781) (#782)
opensearch-trigger-bot[bot] Jun 11, 2024
2214cb3
fix the bug that index field is not getting populated when editing a …
opensearch-trigger-bot[bot] Jun 11, 2024
f06b248
updating snapshot and adding null check on associated detectors (#789…
opensearch-trigger-bot[bot] Jun 12, 2024
f1a41ed
feat: allow date_nanos dates in timestamp selection (#795) (#799)
opensearch-trigger-bot[bot] Jun 20, 2024
c87eb75
Increment version to 2.16.0.0 (#794)
opensearch-trigger-bot[bot] Jun 21, 2024
826e7b8
MDS Version Decoupling (#806) (#807)
opensearch-trigger-bot[bot] Jul 16, 2024
8f693d8
Increment version to 2.16.0.0 (#808)
opensearch-trigger-bot[bot] Jul 18, 2024
ca59f77
AD side navigation redesign (#810) (#811)
opensearch-trigger-bot[bot] Jul 19, 2024
99efbbf
side nav redesign change update (#812) (#813)
opensearch-trigger-bot[bot] Jul 22, 2024
1bdc1f1
Add 2.16 release note (#817) (#818)
opensearch-trigger-bot[bot] Jul 25, 2024
08095a3
feat: show anomoly detection in left navigation (#820) (#821)
opensearch-trigger-bot[bot] Jul 29, 2024
22f8b7f
address CVE-2024-4068 (#823) (#824)
opensearch-trigger-bot[bot] Jul 29, 2024
eeba69a
fix a mds bug that could cause dataSourceId to not show in the url on…
opensearch-trigger-bot[bot] Aug 5, 2024
f53450c
Add Enable Flattened custom result index checkbox (#830) (#833)
opensearch-trigger-bot[bot] Aug 7, 2024
2957026
mock monaco import (#834) (#835)
opensearch-trigger-bot[bot] Aug 8, 2024
c98ff9e
Remove dataSourceFilter that breaks DataSourceView (#837) (#838)
opensearch-trigger-bot[bot] Aug 12, 2024
95cd499
[Look&Feel] Use smaller and compressed varients of buttons and form c…
opensearch-trigger-bot[bot] Aug 19, 2024
6883490
header redesign (#841) (#845)
opensearch-trigger-bot[bot] Aug 19, 2024
8cb975b
Increment version to 2.17.0.0 (#844)
opensearch-trigger-bot[bot] Aug 19, 2024
310e60c
[Look&Feel] Consistency and density improvements (#836) (#847)
opensearch-trigger-bot[bot] Aug 21, 2024
0fed0b4
Fix description on overview page (#850) (#852)
opensearch-trigger-bot[bot] Aug 26, 2024
3def729
Add Missing Value Imputation Options and Update Shingle Size Limit (#…
opensearch-trigger-bot[bot] Aug 26, 2024
56b45b2
Add Suppression Anomaly Rules in Advanced Settings (#859) (#860)
opensearch-trigger-bot[bot] Sep 3, 2024
77785e7
Revert "Add Enable Flattened custom result index checkbox (#830) (#83…
jackiehanyang Sep 3, 2024
addd527
address CVE-2024-4067 (#864) (#866)
opensearch-trigger-bot[bot] Sep 4, 2024
79f9274
Adding remote indices and multi index functionality (#854) (#863) (#867)
opensearch-trigger-bot[bot] Sep 5, 2024
c9a567f
add 2.17 release notes (#868) (#870)
opensearch-trigger-bot[bot] Sep 5, 2024
e803545
Add suggest anomaly detector action to discover page (#849) (#873)
opensearch-trigger-bot[bot] Sep 9, 2024
33dfe2f
Increment version to 2.17.1.0 (#881)
opensearch-trigger-bot[bot] Sep 24, 2024
296b44d
Revert "Add suggest anomaly detector action to discover page (#849) (…
jackiehanyang Sep 24, 2024
32f28de
Fix custom result index session not rendering issue (#887)
jackiehanyang Oct 11, 2024
0b67ac5
fix issues in historical analysis and custom result index
jackiehanyang Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .eslintrc.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# This should match the owning team set up in https://github.com/orgs/opensearch-project/teams
* @opensearch-project/anomaly-detection
* @ohltyler @kaituo @jackiehanyang @amitgalitz @sean-zheng-amazon @dbwiddis @owaiskazi19 @joshpalis @sudiptoguha
8 changes: 5 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ A clear and concise description of the bug.

**How can one reproduce the bug?**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -20,9 +21,10 @@ Steps to reproduce the behavior:
A clear and concise description of what you expected to happen.

**What is your host/environment?**
- OS: [e.g. iOS]
- Version [e.g. 22]
- Plugins

- OS: [e.g. iOS]
- Version [e.g. 22]
- Plugins

**Do you have any screenshots?**
If applicable, add screenshots to help explain your problem.
Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ title: '[FEATURE]'
labels: 'enhancement, untriaged'
assignees: ''
---

**Is your feature request related to a problem?**
A clear and concise description of what the problem is, e.g. _I'm always frustrated when [...]_

Expand All @@ -15,4 +16,4 @@ A clear and concise description of what you want to happen.
A clear and concise description of any alternative solutions or features you've considered.

**Do you have any additional context?**
Add any other context or screenshots about the feature request here.
Add any other context or screenshots about the feature request here.
2 changes: 1 addition & 1 deletion .github/configurations/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- cluster.name=opensearch-cluster
- node.name=opensearch-node1
- discovery.seed_hosts=opensearch-node1
- cluster.initial_master_nodes=opensearch-node1
- cluster.initial_cluster_manager_nodes=opensearch-node1
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
- 'ES_JAVA_OPTS=-Xms512m -Xmx512m' # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
ulimits:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/add-untriaged.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Apply 'untriaged' label during issue lifecycle

on:
issues:
types: [opened, reopened, transferred]

jobs:
apply-label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['untriaged']
})
107 changes: 107 additions & 0 deletions .github/workflows/build-and-test-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
name: Build and test workflow
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
env:
OPENSEARCH_DASHBOARDS_VERSION: '2.x'

jobs:
Get-CI-Image-Tag:
uses: opensearch-project/opensearch-build/.github/workflows/get-ci-image-tag.yml@main
with:
product: opensearch-dashboards

build-and-test-linux:
needs: Get-CI-Image-Tag
name: Build the plugin and run unit tests
runs-on: ubuntu-latest
container:
# using the same image which is used by opensearch-build team to build the OpenSearch Distribution
# this image tag is subject to change as more dependencies and updates will arrive over time
image: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-version-linux }}
# need to switch to root so that github actions can install runner binary on container without permission issues.
options: --user root

steps:
- name: Checkout OpenSearch Dashboards
uses: actions/checkout@v2
with:
repository: opensearch-project/OpenSearch-Dashboards
ref: ${{ env.OPENSEARCH_DASHBOARDS_VERSION }}
path: OpenSearch-Dashboards
- name: Checkout Anomaly Detection OpenSearch Dashboards plugin
uses: actions/checkout@v2
with:
path: OpenSearch-Dashboards/plugins/anomaly-detection-dashboards-plugin
- name: Bootstrap / build / unit test the plugin
run: |
chown -R 1000:1000 `pwd`
cd ./OpenSearch-Dashboards/
su `id -un 1000` -c "source $NVM_DIR/nvm.sh && nvm use && node -v && yarn -v &&
cd ./plugins/anomaly-detection-dashboards-plugin &&
whoami && yarn osd bootstrap --single-version=loose && yarn build && yarn run test:jest --coverage"
- name: Uploads coverage
uses: codecov/codecov-action@v1

# TODO: once github actions supports windows and macos docker containers, we can
# merge these in to the above step's matrix.
build-and-test-windows-macos:
name: Build the plugin and run unit tests
strategy:
matrix:
os: [macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
# Enable longer filenames for windows
- name: Enable longer filenames
if: ${{ matrix.os == 'windows-latest' }}
run: git config --system core.longpaths true
- name: Checkout OpenSearch Dashboards
uses: actions/checkout@v2
with:
repository: opensearch-project/OpenSearch-Dashboards
ref: ${{ env.OPENSEARCH_DASHBOARDS_VERSION }}
path: OpenSearch-Dashboards
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: './OpenSearch-Dashboards/.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Install Yarn
# Need to use bash to avoid having a windows/linux specific step
shell: bash
run: |
YARN_VERSION=$(node -p "require('./OpenSearch-Dashboards/package.json').engines.yarn")
echo "Installing yarn@$YARN_VERSION"
npm i -g yarn@$YARN_VERSION
- run: node -v
- run: yarn -v
- name: Checkout Anomaly Detection OpenSearch Dashboards plugin
uses: actions/checkout@v2
with:
path: OpenSearch-Dashboards/plugins/anomaly-detection-dashboards-plugin
- name: Bootstrap the plugin
run: |
cd OpenSearch-Dashboards/plugins/anomaly-detection-dashboards-plugin
yarn osd bootstrap --single-version=loose
- name: Set npm to use bash for shell
if: ${{ matrix.os == 'windows-latest' }}
run: |
# Sets Windows to use bash for npm shell so the script (e.g., environment variable resolution in package.json postbuild script)
# commands work as intended
npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"
- name: Build the plugin
run: |
cd OpenSearch-Dashboards/plugins/anomaly-detection-dashboards-plugin
yarn build
- name: Run unit tests
run: |
cd OpenSearch-Dashboards/plugins/anomaly-detection-dashboards-plugin
yarn run test:jest --coverage
- name: Uploads coverage
uses: codecov/codecov-action@v1

18 changes: 0 additions & 18 deletions .github/workflows/dco.yml

This file was deleted.

Loading
Loading