Skip to content

Commit

Permalink
[BACKPORT] Backport 2.x to main (#1304)
Browse files Browse the repository at this point in the history
* Fix change availability bug (#667) (#671)

Signed-off-by: Eugene Lee <[email protected]>
(cherry picked from commit aaeadb0e95979032a812d197691300d26f908eb0)

Co-authored-by: Eugene Lee <[email protected]>

* Add release notes for 2.0.0-rc1 (#674) (#675)

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit f0afa84dcb68be9ef096021da55de7b1c846ba93)

Co-authored-by: Joshua Li <[email protected]>

* Support integTestRemote with security enabled endpoint (#699) (#703)

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit 9ebb7d266250fd902567f9f804c425d5a4f9774f)

Co-authored-by: Joshua Li <[email protected]>

* Add data test subj to app analytics (#704) (#718)

Signed-off-by: Eugene Lee <[email protected]>

* Remove rc1 reference (#730) (#737)

Signed-off-by: Eugene Lee <[email protected]>
(cherry picked from commit 40dff8b09df8b6cfb57ecfeb00b6978fdacd9463)

Co-authored-by: Eugene Lee <[email protected]>

* [Backport] app-analytics features and bug fixes for 2.0 release (#740)

* Add availability entry points (#731)

Signed-off-by: Eugene Lee <[email protected]>

* Update availabilityVizId if visualization is removed from panel (#732)

Signed-off-by: Eugene Lee <[email protected]>

* Issue fix not a function error (#739)

* Bump prismjs from 1.25.0 to 1.27.0 in /dashboards-observability (#508) (#574)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit b4f491a16f81725db6d63f604a3020e5b89dd720)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* change to support java 8 in compile and runtime (#575) (#576)

Signed-off-by: Zhongnan Su <[email protected]>
(cherry picked from commit 5c43e9dac336b37fa4f6f002709e0965015383aa)

Co-authored-by: Zhongnan Su <[email protected]>

* Add 1.3.0 release notes (#580) (#582)

Signed-off-by: Eugene Lee <[email protected]>

* bug fixes

Signed-off-by: Eric Wei <[email protected]>

Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhongnan Su <[email protected]>

* resolved conflicts

Signed-off-by: Eric Wei <[email protected]>

Co-authored-by: Eugene Lee <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhongnan Su <[email protected]>

* Release notes 2.0.0.0 (#757) (#758)

Signed-off-by: vamsi-amazon <[email protected]>
(cherry picked from commit b23946d1d3df7efa37919d520ca45e41f0323478)

Co-authored-by: vamsi-amazon <[email protected]>

* Incremented version to 2.0.1 (#785)

Signed-off-by: Zelin Hao <[email protected]>

* Backport from main to 2.1 (#822)

* Add availability help flyout (#734)

Signed-off-by: Eugene Lee <[email protected]>

* Make common delete modal for components (#766)

Signed-off-by: Eugene Lee <[email protected]>

* Sync app and app list types (#763)

Signed-off-by: Eugene Lee <[email protected]>

* Uses custom plugin to publish zips to maven (#786)

Signed-off-by: Joshua Li <[email protected]>

* backport main to 2.1

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

Co-authored-by: Eugene Lee <[email protected]>
Co-authored-by: Joshua Li <[email protected]>

* 2.1 release notes (#839) (#840)

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
(cherry picked from commit bf81e3518ab7e024176a6a571ecb0d927d89ca30)

Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]>

* change 2.1 version bump PR under maintenance  (#841) (#842)

* change version bump to maintenance

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* change version bump to maintenance

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
(cherry picked from commit 4bebc60f49f6f4be41e726ace5dbe76cb7a077b1)

Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]>

* Bump to 2.2.0 (#918)

* Bump to 2.2.0

Signed-off-by: vamsi-amazon <[email protected]>

* Update snapshots

Signed-off-by: Joshua Li <[email protected]>

Co-authored-by: Joshua Li <[email protected]>

* Release Notes for 2.2.0 (#920) (#922)

Signed-off-by: vamsi-amazon <[email protected]>
(cherry picked from commit 77c460f90509d5c1bf36a3828b16e2a4958baeb3)

Co-authored-by: vamsi-amazon <[email protected]>

* Staging for version increment automation (#848) (#939)

* Version increment automation

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

* Version increment automation

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

* Version increment automation: task rename updateVersion

Signed-off-by: pgodithi <[email protected]>
(cherry picked from commit b5c680278f35c2c3a570aa98a563603d59291f65)
Signed-off-by: prudhvigodithi <[email protected]>

Signed-off-by: pgodithi <[email protected]>
Signed-off-by: prudhvigodithi <[email protected]>
Co-authored-by: Prudhvi Godithi <[email protected]>

* Increment version to 2.3.0-SNAPSHOT (#979)

Signed-off-by: opensearch-ci-bot <[email protected]>

Signed-off-by: opensearch-ci-bot <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>

* release notes for 2.3.0 (#1003) (#1004)

Signed-off-by: Eric Wei <[email protected]>

Signed-off-by: Eric Wei <[email protected]>
(cherry picked from commit 25bd43b9861d091589b5447235cb3d8ce548f694)

Co-authored-by: Eric Wei <[email protected]>

* bump version to 2.4.0 (#1071)

Signed-off-by: Shenoy Pratik <[email protected]>

Signed-off-by: Shenoy Pratik <[email protected]>

* update jackson to 2.13.4 (#1062) (#1064)

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
(cherry picked from commit d92a94b46b4bcc2cdaa0fd5dcce5c6fa5d6305b0)

Co-authored-by: Kavitha Conjeevaram Mohan <[email protected]>

* add group = org.opensearch.plugin (#1115) (#1126)

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

Signed-off-by: prudhvigodithi <[email protected]>
(cherry picked from commit f2224993c64db4c2c7d5f0e333b2c0211eee1899)

Co-authored-by: Prudhvi Godithi <[email protected]>

* Change auto expand replicas to 0-2 (#1186) (#1190)

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit e0a30525ec48f83d8441e23567f9bcb5817ebb90)

Co-authored-by: Joshua Li <[email protected]>

* [2.x] Add log pattern table (#1187) (#1212)

Signed-off-by: Joshua Li <[email protected]>

* Release notes for 2.4.0 (#1259) (#1262)

Signed-off-by: Rupal Mahajan <[email protected]>
(cherry picked from commit eef1979aeb083b25809be2873c76e23f77a22581)

Co-authored-by: Rupal Mahajan <[email protected]>

* [BACKPORT] Backport 2.4 commits to 2.x (#1277)

* [2.4] Add log pattern table (#1187) (#1212) (#1215)

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit 5a90273be61effb65d8e6fe0cd11db8e60bdcce8)

Co-authored-by: Joshua Li <[email protected]>

* [Backport 2.4] Merge main to 2.4 (#1217)

* removing add sample data test (#668)

Signed-off-by: Shenoy Pratik <[email protected]>

* Fix change availability bug (#667)

Signed-off-by: Eugene Lee <[email protected]>

* Fix test to check for empty event analytics (#669)

Signed-off-by: Eugene Lee <[email protected]>

* Add release notes for 2.0.0-rc1 (#674)

Signed-off-by: Joshua Li <[email protected]>

* remove candlestick from visualizations (#690)

Signed-off-by: Mrunal Zambre <[email protected]>

* [OSD][Tests] add test subject to app title for app analytics (#686)

* [OSD][Tests] add test subject to app title for app analytics

Using a test subject we can find the specific element instead
of trying to search the DOM for the class and hope the class
is the right class that contains the element we are looking for.

We can search the dom for this specific test subject and actually
make the test runner wait until this test subject exists before
executing the tests.

Issue related:
https://github.com/opensearch-project/observability/issues/679

Signed-off-by: Kawika Avilla <[email protected]>

* update one example for cypress tests

Signed-off-by: Kawika Avilla <[email protected]>

* Support integTestRemote with security enabled endpoint (#699)

Signed-off-by: Joshua Li <[email protected]>

* Add data test subj to app analytics (#704)

Signed-off-by: Eugene Lee <[email protected]>

* integrate job-scheduler into observability (#609)

Signed-off-by: Zhongnan Su <[email protected]>

* Add availability entry points (#731)

Signed-off-by: Eugene Lee <[email protected]>

* Update availabilityVizId if visualization is removed from panel (#732)

Signed-off-by: Eugene Lee <[email protected]>

* Remove rc1 reference (#730)

Signed-off-by: Eugene Lee <[email protected]>

* Issue fix not a function error (#739)

* Bump prismjs from 1.25.0 to 1.27.0 in /dashboards-observability (#508) (#574)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit b4f491a16f81725db6d63f604a3020e5b89dd720)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* change to support java 8 in compile and runtime (#575) (#576)

Signed-off-by: Zhongnan Su <[email protected]>
(cherry picked from commit 5c43e9dac336b37fa4f6f002709e0965015383aa)

Co-authored-by: Zhongnan Su <[email protected]>

* Add 1.3.0 release notes (#580) (#582)

Signed-off-by: Eugene Lee <[email protected]>

* bug fixes

Signed-off-by: Eric Wei <[email protected]>

Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhongnan Su <[email protected]>

* Release notes 2.0.0.0 (#757)

Signed-off-by: vamsi-amazon <[email protected]>

* Add availability help flyout (#734)

Signed-off-by: Eugene Lee <[email protected]>

* Make common delete modal for components (#766)

Signed-off-by: Eugene Lee <[email protected]>

* Sync app and app list types (#763)

Signed-off-by: Eugene Lee <[email protected]>

* [WIP]: Cypress automation for Trace analytics dashboard application (#775)

* Added cypress test cases for tooltip and search engine on Trace dashboard

Signed-off-by: Pratibha Pandey <[email protected]>

* Added test cases for filters

Signed-off-by: Pratibha Pandey <[email protected]>

* Added cypress test cases for tooltip and search engine on Trace dashboard

Signed-off-by: Pratibha Pandey <[email protected]>

* Added test cases for filters

Signed-off-by: Pratibha Pandey <[email protected]>

* Added test cases for Service page in Trace analytics

Signed-off-by: Pratibha Pandey <[email protected]>

* Added Cypress test cases for trace analytics services spans table

Signed-off-by: Deepak Nevde <[email protected]>

* Cypress test case for Traces

Signed-off-by: Nidhi Singhai <[email protected]>

* Cypress test case for Traces Updated

Signed-off-by: Nidhi Singhai <[email protected]>

* Worked on review comments

Signed-off-by: Pratibha Pandey <[email protected]>

Co-authored-by: Deepak Nevde <[email protected]>
Co-authored-by: Nidhi Singhai <[email protected]>

* Feature/error toast on invalid valueoption selection 666 (#736)

* rendered default axes selected and added error toasts on Save and Apply click if invalid value option selected

Signed-off-by: rinku-kumar-psl <[email protected]>

* Cypress changes for error toasts on invalid value options selected

Signed-off-by: rinku-kumar-psl <[email protected]>

* added constant VIZ_CONTAIN_XY_AXIS for x, y value axis

Signed-off-by: rinku-kumar-psl <[email protected]>

* [Feature]: Treemap chart support in Event Analytics (#693)

* Initial commit for treemap visualization

Signed-off-by: Mrunal Zambre <[email protected]>

* changes to labelField, layout and config

Signed-off-by: Mrunal Zambre <[email protected]>

* reverted changes of layoutConfig

Signed-off-by: Mrunal Zambre <[email protected]>

* Cypress TestCase for TreeMap

Signed-off-by: Nidhi Singhai <[email protected]>

* added new line

Signed-off-by: Mrunal Zambre <[email protected]>

* updated test cases

Signed-off-by: Mrunal Zambre <[email protected]>

* reverted snapshots

Signed-off-by: Mrunal Zambre <[email protected]>

* implemented treemap config options

Signed-off-by: Mrunal Zambre <[email protected]>

* added multicolored theme option

Signed-off-by: Mrunal Zambre <[email protected]>

* updated snapshots

Signed-off-by: Mrunal Zambre <[email protected]>

* Updated test scripts for multicolored section

Signed-off-by: Pratibha Pandey <[email protected]>

* Fixed default selection for treemap

Signed-off-by: Mrunal Zambre <[email protected]>

Co-authored-by: Nidhi Singhai <[email protected]>
Co-authored-by: Pratibha Pandey <[email protected]>

* Uses custom plugin to publish zips to maven (#786)

Signed-off-by: Joshua Li <[email protected]>

* Cypress automation for Notebooks application (#809)

* Added test cases for Notebooks application

Signed-off-by: Pratibha Pandey <[email protected]>

* Added test cases for empty state of Notebooks table

Signed-off-by: Pratibha Pandey <[email protected]>

* Feature/Pie chart legend, chart style, color theme and cypress test cases for same. (#776)

* pie chart legends, chart color contrast and cypress test cases

Signed-off-by: Deepak Nevde <[email protected]>

* Added color code in constants

Signed-off-by: Deepak Nevde <[email protected]>

* Snapshots updated

Signed-off-by: Deepak Nevde <[email protected]>

* Conflicts resolved

Signed-off-by: Deepak Nevde <[email protected]>

* Review comment addressed

Signed-off-by: Deepak Nevde <[email protected]>

* color variable changes

Signed-off-by: Deepak Nevde <[email protected]>

* [Feature]: Heatmap- Color theme implementation in config panel (#778)

* Implementation of color theme for heatmap

Signed-off-by: ruchika-narang <[email protected]>

* refactoring code

Signed-off-by: ruchika-narang <[email protected]>

* HeatMap Cypress TestCase

Signed-off-by: Nidhi Singhai <[email protected]>

* Cypress TestCase for HeatMap

Signed-off-by: Nidhi Singhai <[email protected]>

* Update Done according to Comment

Signed-off-by: Nidhi Singhai <[email protected]>

* Refactored code

Signed-off-by: ruchika-narang <[email protected]>

* Updated snapshot test case

Signed-off-by: ruchika-narang <[email protected]>

* Fixed toast implementation and no result found for heatmap

Signed-off-by: ruchika-narang <[email protected]>

* Undefined checks for value options

Signed-off-by: ruchika-narang <[email protected]>

Co-authored-by: Nidhi Singhai <[email protected]>

* [Enhancement]: Pie Config Panel features v1  (#816)

* updated dimensions and metrics UI for pie chart

Signed-off-by: Mrunal Zambre <[email protected]>

* updated imports

Signed-off-by: Mrunal Zambre <[email protected]>

* updated snapshots

Signed-off-by: Mrunal Zambre <[email protected]>

* [Enhancement]: TreeMap Config Panel features v1 (#814)

* added support for multiple parents in treemap

Signed-off-by: Mrunal Zambre <[email protected]>

* minor type and position fixes

Signed-off-by: Mrunal Zambre <[email protected]>

* added default values for color pickers

Signed-off-by: Mrunal Zambre <[email protected]>

* resolved review comments

Signed-off-by: Mrunal Zambre <[email protected]>

* TreeMap Enhancement TestCases

Signed-off-by: Nidhi Singhai <[email protected]>

* TreeMap Enhancement TestCases

Signed-off-by: Nidhi Singhai <[email protected]>

* TreeMap Enhancement TestCases Updated

Signed-off-by: Nidhi Singhai <[email protected]>

* Update Done

Signed-off-by: Nidhi Singhai <[email protected]>

* fixed default parent color pickers state

Signed-off-by: Mrunal Zambre <[email protected]>

* fixed undefined check

Signed-off-by: Mrunal Zambre <[email protected]>

* updated snapshots

Signed-off-by: Mrunal Zambre <[email protected]>

Co-authored-by: Nidhi Singhai <[email protected]>
Co-authored-by: Subrat Pattnaik <[email protected]>

* Bar chart: Legend, Chart styles, and Color Theme features implementation on config panel - 697 (#780)

* mode, orientation and rotate labels implementation under Chart style for Bar chart

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

* LineWidth and Fill-opacity changes

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* Bar Group Width, Bar Width changes and rotated label hiding issue resolved

Signed-off-by: rinku-kumar-psl <[email protected]>

* corner cases handled for bar with and group Width and conditionally rendered rotate label UI

Signed-off-by: rinku-kumar-psl <[email protected]>

* Bar chart legend and color theme changes

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx

* Snapshots updated

Signed-off-by: rinku-kumar-psl <[email protected]>

* empty line added

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx

* review comment addressed

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx

* snapshot updated

Signed-off-by: rinku-kumar-psl <[email protected]>

* PR review comment addressed.

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

* add button constant added

Signed-off-by: rinku-kumar-psl <[email protected]>

* changed rgba to rgb in bar.tsx

Signed-off-by: rinku-kumar-psl <[email protected]>

* snapshot updated

Signed-off-by: rinku-kumar-psl <[email protected]>

* bump version to 2.1.0 and bump gradle to 7.4.2 (#817)

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* 2.1 release notes (#839)

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* change 2.1 version bump PR under maintenance  (#841)

* change version bump to maintenance

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* change version bump to maintenance

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>

* Sprint1 : combine PR for visualization from Sprint1 (#824)

* graph style section UI schema

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

* changes for style mode and interpolation

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

* lineWidth integration for line mode

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* changes for Legend and Orientation in Line

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* point size and Bar Alignment changes

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* implemented fill opacity for line chart

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* changes for line width and fill opacity in bar mode and removed mode from chartOption

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* updated bar mode opacity in line chart

Signed-off-by: rinku-kumar-psl <[email protected]>

* refactored the config chart style code

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* snapshot updated and code refactored

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* type added to new component

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* review comments addressed

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* cypress test case added and resolve button label wraping issue

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js
#	dashboards-observability/.cypress/utils/event_constants.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

* multi matrices changes for Line

Signed-off-by: rinku-kumar-psl <[email protected]>

* dimensions and metrics UI changes for time-series

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/common/constants/explorer.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* made data config pannel collapsable and initial fields render

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* code refactored

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx

* snapshot updated and handled corner cases

Signed-off-by: rinku-kumar-psl <[email protected]>

* code styling fixes and added TODO comment

Signed-off-by: rinku-kumar-psl <[email protected]>

* table view: eui table replaced with ag-grid

Signed-off-by: Ramneet Chopra <[email protected]>

* drag-drop issue fixed

Signed-off-by: Ramneet Chopra <[email protected]>

* test case of data_table updated

Signed-off-by: Ramneet Chopra <[email protected]>

* feedback comments resolved

Signed-off-by: Ramneet Chopra <[email protected]>

* grid height issue:fixed

Signed-off-by: Ramneet Chopra <[email protected]>

* column height, value getter for type double

Signed-off-by: Ramneet Chopra <[email protected]>

* data_table elements moved to separate

Signed-off-by: Ramneet Chopra <[email protected]>

* footer components

Signed-off-by: Ramneet Chopra <[email protected]>

* cypress test cases for table view

Signed-off-by: Ramneet Chopra <[email protected]>

* data config reviewed code added

Signed-off-by: Deepak Nevde <[email protected]>

* Text correction

Signed-off-by: Deepak Nevde <[email protected]>

* Conflicts resolved

Signed-off-by: Deepak Nevde <[email protected]>

* enhancement for heatmap with new UI

Signed-off-by: Shankha Das <[email protected]>

* line chart test cases

Signed-off-by: Shankha Das <[email protected]>

* console logs removed

Signed-off-by: Shankha Das <[email protected]>

* updated value options ui for treemap

Signed-off-by: Mrunal Zambre <[email protected]>

* removed console

Signed-off-by: Mrunal Zambre <[email protected]>

* sprint1-visualization-fixes.

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

* initialize default params for DimensonComponent and formatted the codes

Signed-off-by: rinku-kumar-psl <[email protected]>

* code review changes done

Signed-off-by: rinku-kumar-psl <[email protected]>

* added empty line at end.

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

Co-authored-by: rinku-kumar-psl <[email protected]>
Co-authored-by: Ramneet Chopra <[email protected]>
Co-authored-by: Deepak Nevde <[email protected]>
Co-authored-by: Shankha Das <[email protected]>
Co-authored-by: Mrunal Zambre <[email protected]>

* Bump moment from 2.29.2 to 2.29.4 in /dashboards-observability (#845)

Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Sprint2 (#47) (#868)

* graph style section UI schema

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

* changes for style mode and interpolation

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

* lineWidth integration for line mode

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* changes for Legend and Orientation in Line

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* point size and Bar Alignment changes

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* implemented fill opacity for line chart

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* changes for line width and fill opacity in bar mode and removed mode from chartOption

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* updated bar mode opacity in line chart

Signed-off-by: rinku-kumar-psl <[email protected]>

* refactored the config chart style code

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* snapshot updated and code refactored

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* type added to new component

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* review comments addressed

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* cypress test case added and resolve button label wraping issue

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js
#	dashboards-observability/.cypress/utils/event_constants.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

* multi matrices changes for Line

Signed-off-by: rinku-kumar-psl <[email protected]>

* dimensions and metrics UI changes for time-series

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/common/constants/explorer.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* made data config pannel collapsable and initial fields render

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* code refactored

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx

* snapshot updated and handled corner cases

Signed-off-by: rinku-kumar-psl <[email protected]>

* code styling fixes and added TODO comment

Signed-off-by: rinku-kumar-psl <[email protected]>

* sequence change for dimensions and metrics

Signed-off-by: Deepak Nevde <[email protected]>

* Sprint1 (#14)

* graph style section UI schema

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

* changes for style mode and interpolation

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

* lineWidth integration for line mode

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* changes for Legend and Orientation in Line

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_legend.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* point size and Bar Alignment changes

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx
#	dashboards-observability/public/components/visualizations/charts/lines/line_type.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* implemented fill opacity for line chart

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/visualizations/charts/lines/line.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* changes for line width and fill opacity in bar mode and removed mode from chartOption

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* updated bar mode opacity in line chart

Signed-off-by: rinku-kumar-psl <[email protected]>

* refactored the config chart style code

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/index.ts

# Conflicts:
#	dashboards-observability/common/constants/shared.ts
#	dashboards-observability/common/types/explorer.ts

* snapshot updated and code refactored

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

* type added to new component

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_button_group.tsx

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_style_slider.tsx

* review comments addressed

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/utils/utils.tsx

# Conflicts:
#	dashboards-observability/common/constants/shared.ts

* cypress test case added and resolve button label wraping issue

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js
#	dashboards-observability/.cypress/utils/event_constants.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

# Conflicts:
#	dashboards-observability/.cypress/integration/1_event_analytics.spec.js

* multi matrices changes for Line

Signed-off-by: rinku-kumar-psl <[email protected]>

* dimensions and metrics UI changes for time-series

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/common/constants/explorer.ts
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* made data config pannel collapsable and initial fields render

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/index.tsx

* code refactored

Signed-off-by: rinku-kumar-psl <[email protected]>

# Conflicts:
#	dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/data_config_panel_item.tsx

* snapshot updated and handled corner cases

Signed-off-by: rinku-kumar-psl <[email protected]>

* code styling fixes and added TODO comment

Signed-off-by: rinku-kumar-psl <[email protected]>

* data config reviewed code added

Signed-off-by: Deepak Nevde <[email protected]>

* Text correction

Signed-off-by: Deepak Nevde <[email protected]>

* Conflicts resolved

Signed-off-by: Deepak Nevde <[email protected]>

* table view: eui table replaced with ag-grid

Signed-off-by: Ramneet Chopra <[email protected]>

* drag-drop issue fixed

Signed-off-by: Ramneet Chopra <[email protected]>

* test case of data_table updated

Signed-off-by: Ramneet Chopra <[email protected]>

* feedback comments resolved

Signed-off-by: Ramneet Chopra <[email protected]>

* grid height issue:fixed

Signed-off-by: Ramneet Chopra <[email protected]>

* column height, value getter for type double

Signed-off-by: Ramneet Chopra <[email protected]>

* data_table elements moved to separate

Signed-off-by: Ramneet Chopra <[email protected]>

* footer components

Signed-off-by: Ramneet Chopra <[email protected]>

* cypress test cases for table view

Signed-off-by: Ramneet Chopra <[email protected]>

* enhancement for heatmap with new UI

Signed-off-by: Shankha Das <[email protected]>

* line chart test cases

Signed-off-by: Shankha Das <[email protected]>

* console logs removed

Signed-off-by: Shankha Das <[email protected]>

* updated value options ui for treemap

Signed-off-by: Mrunal Zambre <[email protected]>

* removed console

Signed-off-by: Mrunal Zambre <[email protected]>

* Fixes of sprint1 for new ui implementation (#12)

Signed-off-by: ruchika-narang <[email protected]>

Co-authored-by: rinku-kumar-psl <[email protected]>
Co-authored-by: Deepak Nevde <[email protected]>
Co-authored-by: Ramneet Chopra <[email protected]>
Co-authored-by: Shankha Das <[email protected]>
Co-authored-by: Mrunal Zambre <[email protected]>
Co-authored-by: ruchika-narang <[email protected]>

* Latest code added

Signed-off-by: Deepak Nevde <[email protected]>

* Collapsapable button position change to top

Signed-off-by: Deepak Nevde <[email protected]>

* table view: eui table replaced with ag-grid

Signed-off-by: Ramneet Chopra <[email protected]>

* drag-drop issue fixed

Signed-off-by: Ramneet Chopra <[email protected]>

* test case of data_table updated

Signed-off-by: Ramneet Chopra <[email protected]>

* feedback comments resolved

Signed-off-by: Ramneet Chopra <[email protected]>

* grid height issue:fixed

Signed-off-by: Ramneet Chopra <[email protected]>

* column height, value getter for type double

Signed-off-by: Ramneet Chopra <[email protected]>

* data_table elements moved to separate

Signed-off-by: Ramneet Chopra <[email protected]>

* footer components

Signed-off-by: Ramneet Chopra <[email protected]>

* cypress test cases for table view

Signed-off-by: Ramneet Chopra <[email protected]>

* data config reviewed code added

Signed-off-by: Deepak Nevde <[email protected]>

* Text correction

Signed-off-by: Deepak Nevde <[email protected]>

* Conflicts resolved

Signed-off-by: Deepak Nevde <[email protected]>

* enhancement for heatmap with new UI

Signed-off-by: Shankha Das <[email protected]>

* line chart test cases

Signed-off-by: Shankha Das <[email protected]>

* console logs removed

Signed-off-by: Shankha Das <[email protected]>

* updated value options ui for treemap

Signed-off-by: Mrunal Zambre <[email protected]>

* removed console

Signed-off-by: Mrunal Zambre <[email protected]>

* sprint1-visualization-fixes.

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

* added colorscale config options for treemap

Signed-off-by: Mrunal Zambre <[email protected]>

* code review comment resolved

Signed-off-by: Deepak Nevde <[email protected]>

* added config option to sort treemap sectors

Signed-off-by: Mrunal Zambre <[email protected]>

* changes to resctct duplicte options

Signed-off-by: rinku-kumar-psl <[email protected]>

* Updated and Added test scripts for Treemap chart along with data config and worked on reassembling the event_constants.js file

Signed-off-by: Pratibha Pandey <[email protected]>

* Removed unwanted code

Signed-off-by: Pratibha Pandey <[email protected]>

* implementation of histogram with new UI

Signed-off-by: ruchika-narang <[email protected]>

* gauge chart added

Signed-off-by: Ramneet Chopra <[email protected]>

* Pie chart enhancement, multi labels change

Signed-off-by: Deepak Nevde <[email protected]>

* threshold text fix

Signed-off-by: Ramneet Chopra <[email protected]>

* cypress test cases added

Signed-off-by: Ramneet Chopra <[email protected]>

* Code review comment resolved

Signed-off-by: Deepak Nevde <[email protected]>

* reset fixed, unused imports removed, PR checks fixed

Signed-off-by: Ramneet Chopra <[email protected]>

* single timestamp dimension, no data dsiplay, label rotate, label/legend size

Signed-off-by: Ramneet Chopra <[email protected]>

* layout fixed for primary y axis

Signed-off-by: Ramneet Chopra <[email protected]>

* change of screen size of no data found and visualization

Signed-off-by: Shankha Das <[email protected]>

* changes for restriction of duplicate fields on Data Config and only numeric field selection to metrics

Signed-off-by: rinku-kumar-psl <[email protected]>

* line label replaced with time series

Signed-off-by: Ramneet Chopra <[email protected]>

* snapshot tests

Signed-off-by: Ramneet Chopra <[email protected]>

* Removed unwanted spaces

Signed-off-by: Pratibha Pandey <[email protected]>

* initialize default params for DimensonComponent and formatted the codes

Signed-off-by: rinku-kumar-psl <[email protected]>

* pr review feedback

Signed-off-by: Ramneet Chopra <[email protected]>

* updated preview functionality for charts

Signed-off-by: Mrunal Zambre <[email protected]>

* updated snapshots

Signed-off-by: Mrunal Zambre <[email protected]>

* Worked on review comments

Signed-off-by: Pratibha Pandey <[email protected]>

* changed variable names

Signed-off-by: Mrunal Zambre <[email protected]>

* code review changes done

Signed-off-by: rinku-kumar-psl <[email protected]>

* added empty line at end.

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

* updated variable names

Signed-off-by: Mrunal Zambre <[email protected]>

* updated snapshots

Signed-off-by: Mrunal Zambre <[email protected]>

* Added pie chart test cases

Signed-off-by: Pratibha Pandey <[email protected]>

* updated snapshots

Signed-off-by: ruchika-narang <[email protected]>

* Removed consoles

Signed-off-by: ruchika-narang <[email protected]>

* Worked on conflicts

Signed-off-by: Pratibha Pandey <[email protected]>

* color selector added

Signed-off-by: Ramneet Chopra <[email protected]>

* updated snapshots

Signed-off-by: ruchika-narang <[email protected]>

* UI updated as recommended

Signed-off-by: Shankha Das <[email protected]>

* Added legend to heatmap

Signed-off-by: ruchika-narang <[email protected]>

* data_config_panel_item timeseries code removed

Signed-off-by: Ramneet Chopra <[email protected]>

* bar chart with multiple dimension and metrics, timestamp

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

* limit no. of gauge option added

Signed-off-by: Ramneet Chopra <[email protected]>

* threshold limit added, gauge default parameters moved to constants/explorer

Signed-off-by: Ramneet Chopra <[email protected]>

* legend placement added

Signed-off-by: Ramneet Chopra <[email protected]>

* yarn test

Signed-off-by: Ramneet Chopra <[email protected]>

* snapshot updated

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

* snapshot updated

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

* Resolving issues after removal of preview functionality

Signed-off-by: ruchika-narang <[email protected]>

* updated snapshots

Signed-off-by: ruchika-narang <[email protected]>

* Updated snapshots

Signed-off-by: ruchika-narang <[email protected]>

* changes for default timestamp data for time-series and corner cases

Signed-off-by: rinku-kumar-psl <[email protected]>

* code review comment addressed

Signed-off-by: rinku-kumar-psl <[email protected]>

* pr feedback

Signed-off-by: Ramneet Chopra <[email protected]>

* dimensions, metrics length checks refined

Signed-off-by: Ramneet Chopra <[email protected]>

* updated as per review comments

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

* fixing of data config corner cases

Signed-off-by: rinku-kumar-psl <[email protected]>

* snapshot updated

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

* pr feedback

Signed-off-by: Ramneet Chopra <[email protected]>

Co-authored-by: rinku-kumar-psl <[email protected]>
Co-authored-by: Deepak Nevde <[email protected]>
Co-authored-by: Ramneet Chopra <[email protected]>
Co-authored-by: Shankha Das <[email protected]>
Co-authored-by: Mrunal Zambre <[email protected]>
Co-authored-by: ruchika-narang <[email protected]>
Co-authored-by: Pratibha Pandey <[email protected]>
Co-authored-by: ruchika-narang <[email protected]>
Co-authored-by: Shankha Das <[email protected]>

Co-authored-by: rinku-kumar-psl <[email protected]>
Co-authored-by: Deepak Nevde <[email protected]>
Co-authored-by: Ramneet Chopra <[email protected]>
Co-authored-by: Shankha Das <[email protected]>
Co-authored-by: Mrunal Zambre <[email protected]>
Co-authored-by: ruchika-narang <[email protected]>
Co-authored-by: Pratibha Pandey <[email protected]>
Co-authored-by: ruchika-narang <[email protected]>
Co-authored-by: Shankha Das <[email protected]>

* Staging for version increment automation (#848)

* Version increment automation

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

* Version increment automation

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

* Version increment automation: task rename updateVersion

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

* Release Notes for 2.2.0 (#920)

Signed-off-by: vamsi-amazon <[email protected]>

* Sprint2 code refactoring and warning minimization (#904)

* changes to remove for unique key warning on Dom and code refactoring sprint2

Signed-off-by: rinku-kumar-psl <[email protected]>

* snapshot updated

Signed-off-by: rinku-kumar-psl <[email protected]>

* no_results.test.tsx snapshot updated

Signed-off-by: rinku-kumar-psl <[email protected]>

* added empty line at the end of the file

Signed-off-by: rinku-kumar-psl <[email protected]>

* Bump to 2.2.0 (#918) (#928)

* Bump to 2.2.0

Signed-off-by: vamsi-amazon <[email protected]>

* Update snapshots

Signed-off-by: Joshua Li <[email protected]>

Co-authored-by: Joshua Li <[email protected]>
(cherry picked from commit da9e9c013e13e03afd09d324e06e025dbb207f0c)

Co-authored-by: vamsi-amazon <[email protected]>

* Sprint3 alpha (#64) (#931)

* Sprint3 alpha (#64)

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

* issues resolved and snapshots updated

Signed-off-by: Shankha Das <[email protected]>

* 2 snapshots updated

Signed-off-by: Shankha Das <[email protected]>

Signed-off-by: abasatwar <[email protected]>
Signed-off-by: Shankha Das <[email protected]>
Co-authored-by: Shankha Das <[email protected]>

* [ENHANCEMENT]: Movement of temporary visualization panel data into userconfig (#929)

* Worked on movement of data to userConfigs

Signed-off-by: ruchika-narang <[email protected]>

* Updated snapshots

Signed-off-by: ruchika-narang <[email protected]>

* Updated snapshots

Signed-off-by: ruchika-narang <[email protected]>

* Updated snapshots for failing checks

Signed-off-by: ruchika-narang <[email protected]>

* resolved PR comments

Signed-off-by: Shankha Das <[email protected]>

* visType added

Signed-off-by: Shankha Das <[email protected]>

Signed-off-by: ruchika-narang <[email protected]>
Signed-off-by: Shankha Das <[email protected]>
Co-authored-by: Shankha Das <[email protected]>

* cypress test case for horizontal bar (#935)

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

Signed-off-by: nidhisinghai <[email protected]>
Co-authored-by: nidhisinghai <[email protected]>

* build error resolve (#923)

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

Signed-off-by: nidhisinghai <[email protected]>
Co-authored-by: nidhisinghai <[email protected]>

* [BUG] : Dimensions getting removed when no timeseries field is present (#944)

* Fix for app crash and dimension disaapearing

Signed-off-by: ruchika-narang <[email protected]>

* optimized the code and updated snapshots

Signed-off-by: Shankha Das <[email protected]>

* resolved PR comments

Signed-off-by: Shankha Das <[email protected]>

Signed-off-by: ruchika-narang <[email protected]>
Signed-off-by: Shankha Das <[email protected]>
Co-authored-by: Shankha Das <[email protected]>

* cypress test case for scatter chart (#930)

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

Signed-off-by: nidhisinghai <[email protected]>
Co-authored-by: nidhisinghai <[email protected]>

* Bug/logs-view-data-config: Added Columns in Data Configuration for Logs View (#955)

* Fix for app crash and dimension disaapearing

Signed-off-by: ruchika-narang <[email protected]>

* optimized the code and updated snapshots

Signed-off-by: Shankha Das <[email protected]>

* resolved PR comments

Signed-off-by: Shankha Das <[email protected]>

* resolved data configuration bug for logs view

Signed-off-by: Shankha Das <[email protected]>

Signed-off-by: ruchika-narang <[email protected]>
Signed-off-by: Shankha Das <[email protected]>
Co-authored-by: ruchika-narang <[email protected]>

* Feature/tooltip-section: Added tooltip options for various charts (#952)

* Fix for app crash and dimension disaapearing

Signed-off-by: ruchika-narang <[email protected]>

* optimized the code and updated snapshots

Signed-off-by: Shankha Das <[email protected]>

* resolved PR comments

Signed-off-by: Shankha Das <[email protected]>

* added tooltip options

Signed-off-by: Shankha Das <[email protected]>

* removed log

Signed-off-by: Shankha Das <[email protected]>

Signed-off-by: ruchika-narang <[email protected]>
Signed-off-by: Shankha Das <[email protected]>
Co-authored-by: ruchika-narang <[email protected]>

* resolved color theme issue (#960)

Signed-off-by: Shankha Das <[email protected]>

Signed-off-by: Shankha Das <[email protected]>

* Renamed data panel to style (#964)

Signed-off-by: ruchika-narang <[email protected]>

Signed-off-by: ruchika-narang <[email protected]>

* Query Manager (#915)

* Bump prismjs from 1.25.0 to 1.27.0 in /dashboards-observability (#508) (#574)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit b4f491a16f81725db6d63f604a3020e5b89dd720)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* change to support java 8 in compile and runtime (#575) (#576)

Signed-off-by: Zhongnan Su <[email protected]>
(cherry picked from commit 5c43e9dac336b37fa4f6f002709e0965015383aa)

Co-authored-by: Zhongnan Su <[email protected]>

* Add 1.3.0 release notes (#580) (#582)

Signed-off-by: Eugene Lee <[email protected]>

* query manager

Signed-off-by: Eric Wei <[email protected]>

* removed aggregations from dimensions

Signed-off-by: Eric Wei <[email protected]>

* qm improvements

Signed-off-by: Eric Wei <[email protected]>

* types/code cleanups/error corrections

Signed-off-by: Eric Wei <[email protected]>

* fixed a undefined issue

Signed-off-by: Eric Wei <[email protected]>

* qm fixes for query builder

Signed-off-by: Eric Wei <[email protected]>

* viz timestamp selector

Signed-off-by: Eric Wei <[email protected]>

* use postinstall for antlr output files

Signed-off-by: Eric Wei <[email protected]>

* query building fixes

Signed-off-by: Eric Wei <[email protected]>

* updated snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove output files

Signed-off-by: Eric Wei <[email protected]>

* cherry-pick from integration branch

Signed-off-by: Eric Wei <[email protected]>

* explicitly remove generated files

Signed-off-by: Eric Wei <[email protected]>

Signed-off-by: Eugene Lee <[email protected]>
Signed-off-by: Eric Wei <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhongnan Su <[email protected]>

* Query manager integration (#987)

* Bump prismjs from 1.25.0 to 1.27.0 in /dashboards-observability (#508) (#574)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit b4f491a16f81725db6d63f604a3020e5b89dd720)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* change to support java 8 in compile and runtime (#575) (#576)

Signed-off-by: Zhongnan Su <[email protected]>
(cherry picked from commit 5c43e9dac336b37fa4f6f002709e0965015383aa)

Co-authored-by: Zhongnan Su <[email protected]>

* Add 1.3.0 release notes (#580) (#582)

Signed-off-by: Eugene Lee <[email protected]>

* query manager

Signed-off-by: Eric Wei <[email protected]>

* removed aggregations from dimensions

Signed-off-by: Eric Wei <[email protected]>

* qm improvements

Signed-off-by: Eric Wei <[email protected]>

* types/code cleanups/error corrections

Signed-off-by: Eric Wei <[email protected]>

* qm fixes for query builder

Signed-off-by: Eric Wei <[email protected]>

* viz timestamp selector

Signed-off-by: Eric Wei <[email protected]>

* query manager integration with bar step 1

Signed-off-by: Eric Wei <[email protected]>

* span fix

Signed-off-by: Eric Wei <[email protected]>

* use postinstall for antlr output files

Signed-off-by: Eric Wei <[email protected]>
…
  • Loading branch information
Show file tree
Hide file tree
Showing 182 changed files with 33,873 additions and 1,289 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
- name: Checkout Plugin
uses: actions/checkout@v1

# 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:
Expand Down
317 changes: 150 additions & 167 deletions dashboards-observability/.cypress/integration/1_event_analytics.spec.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
TEST_QUERIES,
querySearch,
landOnEventVisualizations
} from '../../utils/event_constants';
} from '../../utils/event_analytics/constants';

const numberOfWindow = 4;
const legendSize = 20;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
TEST_QUERIES,
querySearch,
landOnEventVisualizations,
} from '../../utils/event_constants';
} from '../../utils/event_analytics/constants';

const numberOfWindow = 4;
const labelSize = 20;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
TEST_QUERIES,
querySearch,
landOnEventVisualizations,
} from '../../utils/event_constants';
} from '../../utils/event_analytics/constants';

const numberOfWindow = 4;
const labelSize = 20;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
landOnEventVisualizations,
saveVisualizationAndVerify,
deleteVisualization,
} from '../../utils/event_constants';
} from '../../utils/event_analytics/constants';

const renderLogsView = () => {
landOnEventVisualizations();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
TEST_QUERIES,
querySearch,
landOnEventVisualizations
} from '../../utils/event_constants';
} from '../../utils/event_analytics/constants';

const numberOfWindow = 4;
const metricsPrecisionUpdated = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
renderDataConfig,
saveVisualizationAndVerify,
deleteVisualization,
} from '../../utils/event_constants';
} from '../../utils/event_analytics/constants';

const renderPieChart = () => {
landOnEventVisualizations();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
TEST_QUERIES,
querySearch,
landOnEventVisualizations
} from '../../utils/event_constants';
} from '../../utils/event_analytics/constants';

const numberOfWindow = 4;
const labelSize = 20;
Expand Down
1 change: 1 addition & 0 deletions dashboards-observability/.cypress/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

export const delay = 1500;
export const COMMAND_TIMEOUT_LONG = 10000;

// trace analytics
export const TRACE_ID = '8832ed6abbb2a83516461960c89af49d';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import { supressResizeObserverIssue } from './constants';
import { COMMAND_TIMEOUT_LONG, supressResizeObserverIssue, TIMEOUT_DELAY } from '../constants';

export const delay = 1000;
export const YEAR_TO_DATE_DOM_ID = '[data-test-subj="superDatePickerCommonlyUsed_Year_to date"]';
Expand Down Expand Up @@ -72,10 +72,13 @@ export const aggregationValues = [
];

export const querySearch = (query, rangeSelected) => {
cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(query);
cy.get('[data-test-subj="searchAutocompleteTextArea"]', { timeout: COMMAND_TIMEOUT_LONG })
.clear()
.focus()
.type(query, { delay: 50 });
cy.get('[data-test-subj="superDatePickerToggleQuickMenuButton"]').click();
cy.wait(delay);
cy.get(rangeSelected).click();
cy.wait(delay * 2);
cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click();
};

Expand All @@ -88,6 +91,7 @@ export const landOnEventExplorer = () => {
cy.visit(
`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/event_analytics/explorer`
);
supressResizeObserverIssue();
cy.wait(delay);
};

Expand Down
12 changes: 12 additions & 0 deletions dashboards-observability/.cypress/utils/event_analytics/helpers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import { COMMAND_TIMEOUT_LONG } from '../constants';

export const clearQuerySearchBoxText = (testSubjectName) => {
cy.get(`[data-test-subj="${testSubjectName}"]`, {
timeout: COMMAND_TIMEOUT_LONG,
}).clear({ force: true });
};
26 changes: 20 additions & 6 deletions dashboards-observability/common/constants/explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export const RAW_QUERY = 'rawQuery';
export const FINAL_QUERY = 'finalQuery';
export const SELECTED_DATE_RANGE = 'selectedDateRange';
export const INDEX = 'index';
export const SELECTED_PATTERN_FIELD = 'selectedPatternField';
export const PATTERN_REGEX = 'patternRegex';
export const FILTERED_PATTERN = 'filteredPattern';
export const SELECTED_TIMESTAMP = 'selectedTimestamp';
export const SELECTED_FIELDS = 'selectedFields';
export const UNSELECTED_FIELDS = 'unselectedFields';
Expand All @@ -29,7 +32,7 @@ export const TAB_CHART_ID_TXT_PFX = 'main-content-vis-';
export const TAB_EVENT_ID = 'main-content-events';
export const TAB_CHART_ID = 'main-content-vis';
export const HAS_SAVED_TIMESTAMP = 'hasSavedTimestamp';
export const FILTER_OPTIONS = ['Visualization', 'Query'];
export const FILTER_OPTIONS = ['Visualization', 'Query', 'Metric'];
export const SAVED_QUERY = 'savedQuery';
export const SAVED_VISUALIZATION = 'savedVisualization';
export const SAVED_OBJECT_ID = 'savedObjectId';
Expand Down Expand Up @@ -78,11 +81,16 @@ export const REDUX_EXPL_SLICE_FIELDS = 'fields';
export const REDUX_EXPL_SLICE_QUERY_TABS = 'queryTabs';
export const REDUX_EXPL_SLICE_VISUALIZATION = 'explorerVisualization';
export const REDUX_EXPL_SLICE_COUNT_DISTRIBUTION = 'countDistributionVisualization';
export const REDUX_EXPL_SLICE_PATTERNS = 'patterns';
export const PLOTLY_GAUGE_COLUMN_NUMBER = 4;
export const APP_ANALYTICS_TAB_ID_REGEX = /application-analytics-tab.+/;
export const DEFAULT_AVAILABILITY_QUERY = 'stats count() by span( timestamp, 1h )';
export const PPL_DEFAULT_PATTERN_REGEX_FILETER = '[a-zA-Z\\d]';
// Greedily matches the longest substring for example (patterns referer | patterns pattern='[0-9]' message | where ...) used to modify the query for patterns table
export const PATTERNS_REGEX = /\|\s*patterns.+?\|.*\s*where\s+patterns_field\s*\=\s*'[^a-zA-Z0-9]+'/;
// Used to extract the initial pattern applied
export const PATTERNS_EXTRACTOR_REGEX = /patterns\s+(?<pattern>\S+)/;
export const ADD_BUTTON_TEXT = '+ Add color theme';
export const ADD_SERIES_POSITION_TEXT = '+ Add label position';
export const NUMBER_INPUT_MIN_LIMIT = 1;

export const VIZ_CONTAIN_XY_AXIS = [
Expand Down Expand Up @@ -281,7 +289,13 @@ export const DATA_CONFIG_HINTS_INFO = {
[BREAKDOWNS]:
"Defines how each series is broken down. Breakdowns are 'by' clauses that subdivide the existing series.",
};
export const SERIES_POSITION_OPTIONS = [
{ id: htmlIdGenerator('ct')(), label: 'Left', side: 'left' },
{ id: htmlIdGenerator('ct')(), label: 'Right', side: 'right' },
];

// Metrics constants
export const UNITS_OF_MEASURE = [
'seconds (s)',
'hours (h)',
'celsius (C)',
'farenheit (F)',
'meters (m)',
'kilometers (k)',
]
26 changes: 26 additions & 0 deletions dashboards-observability/common/constants/metrics.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

// requests constants
export const VISUALIZATION = 'viz';
export const SAVED_VISUALIZATION = 'savedVisualization';
export const PPL_DATASOURCES_REQUEST =
'show datasources | where CONNECTOR_TYPE="PROMETHEUS" | fields DATASOURCE_NAME';

// redux
export const REDUX_SLICE_METRICS = 'metrics';

export const resolutionOptions = [
{ value: 's', text: 'seconds' },
{ value: 'm', text: 'minutes' },
{ value: 'h', text: 'hours' },
{ value: 'd', text: 'days' },
// { value: 'M', text: 'Months' }, // commenting it here as prometheus doesn't have support
// { value: 'q', text: 'quarters' },
{ value: 'y', text: 'years' },
];

export const DEFAULT_METRIC_HEIGHT = 2;
export const DEFAULT_METRIC_WIDTH = 12;
2 changes: 2 additions & 0 deletions dashboards-observability/common/constants/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export const observabilityPluginOrder = 6000;
export const SQL_DOCUMENTATION_URL = 'https://opensearch.org/docs/latest/search-plugins/sql/index/';
export const PPL_DOCUMENTATION_URL =
'https://opensearch.org/docs/latest/observability-plugin/ppl/commands/';
export const PPL_PATTERNS_DOCUMENTATION_URL =
'https://github.com/opensearch-project/sql/blob/2.x/docs/user/ppl/cmd/patterns.rst#description';
export const UI_DATE_FORMAT = 'MM/DD/YYYY hh:mm A';
export const PPL_DATE_FORMAT = 'YYYY-MM-DD HH:mm:ss.SSSSSS';
export const SPAN_REGEX = /span/;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ channels { WHITESPACE, ERRORCHANNEL }

// COMMAND KEYWORDS
SEARCH: 'SEARCH';
DESCRIBE: 'DESCRIBE';
SHOW: 'SHOW';
FROM: 'FROM';
WHERE: 'WHERE';
FIELDS: 'FIELDS';
Expand All @@ -23,8 +25,16 @@ HEAD: 'HEAD';
TOP: 'TOP';
RARE: 'RARE';
PARSE: 'PARSE';
METHOD: 'METHOD';
REGEX: 'REGEX';
PUNCT: 'PUNCT';
GROK: 'GROK';
PATTERN: 'PATTERN';
PATTERNS: 'PATTERNS';
NEW_FIELD: 'NEW_FIELD';
KMEANS: 'KMEANS';
AD: 'AD';
ML: 'ML';

// COMMAND ASSIST KEYWORDS
AS: 'AS';
Expand All @@ -33,6 +43,7 @@ SOURCE: 'SOURCE';
INDEX: 'INDEX';
D: 'D';
DESC: 'DESC';
CATALOGS: 'CATALOGS';

// CLAUSE KEYWORDS
SORTBY: 'SORTBY';
Expand All @@ -59,6 +70,7 @@ SAMPLE_SIZE: 'SAMPLE_SIZE';
OUTPUT_AFTER: 'OUTPUT_AFTER';
TIME_DECAY: 'TIME_DECAY';
ANOMALY_RATE: 'ANOMALY_RATE';
CATEGORY_FIELD: 'CATEGORY_FIELD';
TIME_FIELD: 'TIME_FIELD';
TIME_ZONE: 'TIME_ZONE';
TRAINING_DATA_SIZE: 'TRAINING_DATA_SIZE';
Expand Down Expand Up @@ -101,6 +113,7 @@ DAY_SECOND: 'DAY_SECOND';
DAY_MINUTE: 'DAY_MINUTE';
DAY_HOUR: 'DAY_HOUR';
YEAR_MONTH: 'YEAR_MONTH';
CONVERT_TZ: 'CONVERT_TZ';

// DATASET TYPES
DATAMODEL: 'DATAMODEL';
Expand Down Expand Up @@ -168,6 +181,7 @@ VAR_POP: 'VAR_POP';
STDDEV_SAMP: 'STDDEV_SAMP';
STDDEV_POP: 'STDDEV_POP';
PERCENTILE: 'PERCENTILE';
TAKE: 'TAKE';
FIRST: 'FIRST';
LAST: 'LAST';
LIST: 'LIST';
Expand Down Expand Up @@ -222,21 +236,39 @@ TAN: 'TAN';

// DATE AND TIME FUNCTIONS
ADDDATE: 'ADDDATE';
CURDATE: 'CURDATE';
CURRENT_DATE: 'CURRENT_DATE';
CURRENT_TIME: 'CURRENT_TIME';
CURRENT_TIMESTAMP: 'CURRENT_TIMESTAMP';
CURTIME: 'CURTIME';
DATE: 'DATE';
DATE_ADD: 'DATE_ADD';
DATE_FORMAT: 'DATE_FORMAT';
DATE_SUB: 'DATE_SUB';
DAYNAME: 'DAYNAME';
DAYOFMONTH: 'DAYOFMONTH';
DAYOFWEEK: 'DAYOFWEEK';
DAYOFYEAR: 'DAYOFYEAR';
DAYNAME: 'DAYNAME';
FROM_DAYS: 'FROM_DAYS';
LOCALTIME: 'LOCALTIME';
LOCALTIMESTAMP: 'LOCALTIMESTAMP';
FROM_UNIXTIME: 'FROM_UNIXTIME';
MAKEDATE: 'MAKEDATE';
MAKETIME: 'MAKETIME';
MONTHNAME: 'MONTHNAME';
NOW: 'NOW';
PERIOD_ADD: 'PERIOD_ADD';
PERIOD_DIFF: 'PERIOD_DIFF';
SUBDATE: 'SUBDATE';
SYSDATE: 'SYSDATE';
TIME: 'TIME';
TIME_TO_SEC: 'TIME_TO_SEC';
TIMESTAMP: 'TIMESTAMP';
DATE_FORMAT: 'DATE_FORMAT';
TO_DAYS: 'TO_DAYS';
UTC_DATE: 'UTC_DATE';
UTC_TIME: 'UTC_TIME';
UTC_TIMESTAMP: 'UTC_TIMESTAMP';
UNIX_TIMESTAMP: 'UNIX_TIMESTAMP';

// TEXT FUNCTIONS
SUBSTR: 'SUBSTR';
Expand Down Expand Up @@ -267,11 +299,16 @@ ISNOTNULL: 'ISNOTNULL';
IFNULL: 'IFNULL';
NULLIF: 'NULLIF';
IF: 'IF';
TYPEOF: 'TYPEOF';

// RELEVANCE FUNCTIONS AND PARAMETERS
MATCH: 'MATCH';
MATCH_PHRASE: 'MATCH_PHRASE';
MATCH_PHRASE_PREFIX: 'MATCH_PHRASE_PREFIX';
MATCH_BOOL_PREFIX: 'MATCH_BOOL_PREFIX';
SIMPLE_QUERY_STRING: 'SIMPLE_QUERY_STRING';
MULTI_MATCH: 'MULTI_MATCH';
QUERY_STRING: 'QUERY_STRING';

ALLOW_LEADING_WILDCARD: 'ALLOW_LEADING_WILDCARD';
ANALYZE_WILDCARD: 'ANALYZE_WILDCARD';
Expand All @@ -282,6 +319,7 @@ CUTOFF_FREQUENCY: 'CUTOFF_FREQUENCY';
DEFAULT_FIELD: 'DEFAULT_FIELD';
DEFAULT_OPERATOR: 'DEFAULT_OPERATOR';
ENABLE_POSITION_INCREMENTS: 'ENABLE_POSITION_INCREMENTS';
ESCAPE: 'ESCAPE';
FLAGS: 'FLAGS';
FUZZY_MAX_EXPANSIONS: 'FUZZY_MAX_EXPANSIONS';
FUZZY_PREFIX_LENGTH: 'FUZZY_PREFIX_LENGTH';
Expand Down
Loading

0 comments on commit 4b2d94b

Please sign in to comment.