Skip to content

Commit

Permalink
Support sso metrics & traces schema (#1427)
Browse files Browse the repository at this point in the history
* removing add sample data test (#668)

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* Fix change availability bug (#667)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

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

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

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

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* remove candlestick from visualizations (#690)

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* [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 <kavilla414@gmail.com>

* update one example for cypress tests

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

* Support integTestRemote with security enabled endpoint (#699)

Signed-off-by: Joshua Li <joshuali925@gmail.com>

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

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* integrate job-scheduler into observability (#609)

Signed-off-by: Zhongnan Su <szhongna@amazon.com>

* Add availability entry points (#731)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

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

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* Remove rc1 reference (#730)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* 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] <support@github.com>

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 <szhongna@amazon.com>
(cherry picked from commit 5c43e9dac336b37fa4f6f002709e0965015383aa)

Co-authored-by: Zhongnan Su <szhongna@amazon.com>

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

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* bug fixes

Signed-off-by: Eric Wei <menwe@amazon.com>

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 <szhongna@amazon.com>

* Release notes 2.0.0.0 (#757)

Signed-off-by: vamsi-amazon <reddyvam@amazon.com>

* Add availability help flyout (#734)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* Make common delete modal for components (#766)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* Sync app and app list types (#763)

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* [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 <pratibha_pandey@persistent.com>

* Added test cases for filters

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

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

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added test cases for filters

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added test cases for Service page in Trace analytics

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added Cypress test cases for trace analytics services spans table

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Cypress test case for Traces

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Cypress test case for Traces Updated

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Worked on review comments

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* 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 <rinku_kumar@persistent.com>

* Cypress changes for error toasts on invalid value options selected

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* added constant VIZ_CONTAIN_XY_AXIS for x, y value axis

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

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

* Initial commit for treemap visualization

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* changes to labelField, layout and config

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* reverted changes of layoutConfig

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Cypress TestCase for TreeMap

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* added new line

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated test cases

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* reverted snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* implemented treemap config options

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* added multicolored theme option

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Updated test scripts for multicolored section

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Fixed default selection for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

Co-authored-by: Nidhi Singhai <nidhi_singhai@persistent.com>
Co-authored-by: Pratibha Pandey <pratibha_pandey@persistent.com>

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

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Cypress automation for Notebooks application (#809)

* Added test cases for Notebooks application

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added test cases for empty state of Notebooks table

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* 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 <deepak_nevde@persistent.com>

* Added color code in constants

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Snapshots updated

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Conflicts resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Review comment addressed

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* color variable changes

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

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

* Implementation of color theme for heatmap

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* refactoring code

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* HeatMap Cypress TestCase

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Cypress TestCase for HeatMap

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Update Done according to Comment

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Refactored code

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshot test case

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Fixed toast implementation and no result found for heatmap

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Undefined checks for value options

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Co-authored-by: Nidhi Singhai <nidhi_singhai@persistent.com>

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

* updated dimensions and metrics UI for pie chart

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated imports

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

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

* added support for multiple parents in treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* minor type and position fixes

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* added default values for color pickers

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* resolved review comments

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* TreeMap Enhancement TestCases

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* TreeMap Enhancement TestCases

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* TreeMap Enhancement TestCases Updated

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* Update Done

Signed-off-by: Nidhi Singhai <nidhi_singhai@persistent.com>

* fixed default parent color pickers state

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* fixed undefined check

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

Co-authored-by: Nidhi Singhai <nidhi_singhai@persistent.com>
Co-authored-by: Subrat Pattnaik <subrat.pattnaik@hotmail.com>

* 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

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

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* Bar chart legend and color theme changes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

* empty line added

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

* PR review comment addressed.

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

* changed rgba to rgb in bar.tsx

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* snapshot updated

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

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

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* 2.1 release notes (#839)

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

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

* change version bump to maintenance

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* change version bump to maintenance

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

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

* graph style section UI schema

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

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

* changes for style mode and interpolation

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

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

* updated bar mode opacity in line chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* refactored the config chart style code

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

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

* type added to new component

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

* dimensions and metrics UI changes for time-series

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

* code styling fixes and added TODO comment

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* table view: eui table replaced with ag-grid

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* drag-drop issue fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* test case of data_table updated

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* feedback comments resolved

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* grid height issue:fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* column height, value getter for type double

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data_table elements moved to separate

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* footer components

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* cypress test cases for table view

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data config reviewed code added

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Text correction

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Conflicts resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* enhancement for heatmap with new UI

Signed-off-by: Shankha Das <shankha.das@domo.com>

* line chart test cases

Signed-off-by: Shankha Das <shankha.das@domo.com>

* console logs removed

Signed-off-by: Shankha Das <shankha.das@domo.com>

* updated value options ui for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* removed console

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* sprint1-visualization-fixes.

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* initialize default params for DimensonComponent and formatted the codes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* code review changes done

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* added empty line at end.

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

Co-authored-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Co-authored-by: Ramneet Chopra <ramneet_chopra@persistent.com>
Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Shankha Das <shankha.das@domo.com>
Co-authored-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* 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] <support@github.com>

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 <rinku_kumar@persistent.com>

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

* changes for style mode and interpolation

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

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

* updated bar mode opacity in line chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* refactored the config chart style code

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

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

* type added to new component

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

* dimensions and metrics UI changes for time-series

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

* code styling fixes and added TODO comment

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* sequence change for dimensions and metrics

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Sprint1 (#14)

* graph style section UI schema

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

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

* changes for style mode and interpolation

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

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

* updated bar mode opacity in line chart

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* refactored the config chart style code

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

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

* type added to new component

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

* dimensions and metrics UI changes for time-series

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

# 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 <rinku_kumar@persistent.com>

* code styling fixes and added TODO comment

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* data config reviewed code added

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Text correction

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Conflicts resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* table view: eui table replaced with ag-grid

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* drag-drop issue fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* test case of data_table updated

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* feedback comments resolved

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* grid height issue:fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* column height, value getter for type double

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data_table elements moved to separate

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* footer components

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* cypress test cases for table view

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* enhancement for heatmap with new UI

Signed-off-by: Shankha Das <shankha.das@domo.com>

* line chart test cases

Signed-off-by: Shankha Das <shankha.das@domo.com>

* console logs removed

Signed-off-by: Shankha Das <shankha.das@domo.com>

* updated value options ui for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* removed console

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

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

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Co-authored-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Ramneet Chopra <ramneet_chopra@persistent.com>
Co-authored-by: Shankha Das <shankha.das@domo.com>
Co-authored-by: Mrunal Zambre <mrunal_zambre@persistent.com>
Co-authored-by: ruchika-narang <79983862+ruchika-narang@users.noreply.github.com>

* Latest code added

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Collapsapable button position change to top

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* table view: eui table replaced with ag-grid

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* drag-drop issue fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* test case of data_table updated

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* feedback comments resolved

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* grid height issue:fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* column height, value getter for type double

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data_table elements moved to separate

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* footer components

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* cypress test cases for table view

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* data config reviewed code added

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Text correction

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* Conflicts resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* enhancement for heatmap with new UI

Signed-off-by: Shankha Das <shankha.das@domo.com>

* line chart test cases

Signed-off-by: Shankha Das <shankha.das@domo.com>

* console logs removed

Signed-off-by: Shankha Das <shankha.das@domo.com>

* updated value options ui for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* removed console

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* sprint1-visualization-fixes.

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* added colorscale config options for treemap

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* code review comment resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* added config option to sort treemap sectors

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* changes to resctct duplicte options

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* 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 <pratibha_pandey@persistent.com>

* Removed unwanted code

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* implementation of histogram with new UI

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* gauge chart added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* Pie chart enhancement, multi labels change

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* threshold text fix

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* cypress test cases added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* Code review comment resolved

Signed-off-by: Deepak Nevde <deepak_nevde@persistent.com>

* reset fixed, unused imports removed, PR checks fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

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

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* layout fixed for primary y axis

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* change of screen size of no data found and visualization

Signed-off-by: Shankha Das <shankha_das@persistent.com>

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

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* line label replaced with time series

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* snapshot tests

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* Removed unwanted spaces

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* initialize default params for DimensonComponent and formatted the codes

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* pr review feedback

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* updated preview functionality for charts

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Worked on review comments

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* changed variable names

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* code review changes done

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* added empty line at end.

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* updated variable names

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* updated snapshots

Signed-off-by: Mrunal Zambre <mrunal_zambre@persistent.com>

* Added pie chart test cases

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Removed consoles

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Worked on conflicts

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* color selector added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* UI updated as recommended

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* Added legend to heatmap

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* data_config_panel_item timeseries code removed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* bar chart with multiple dimension and metrics, timestamp

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* limit no. of gauge option added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

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

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* legend placement added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* yarn test

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* snapshot updated

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* snapshot updated

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* Resolving issues after removal of preview functionality

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

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

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* code review comment addressed

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* pr feedback

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* dimensions, metrics length checks refined

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* updated as per review comments

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* fixing of data config corner cases

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* snapshot updated

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* pr feedback

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

Co-authored-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Ramneet Chopra <ramneet_chopra@persistent.com>
Co-authored-by: Shankha Das <shankha.das@domo.com>
Co-authored-by: Mrunal Zambre <mrunal_zambre@persistent.com>
Co-authored-by: ruchika-narang <79983862+ruchika-narang@users.noreply.github.com>
Co-authored-by: Pratibha Pandey <pratibha_pandey@persistent.com>
Co-authored-by: ruchika-narang <ruchika_narang@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

Co-authored-by: rinku-kumar-psl <rinku_kumar@persistent.com>
Co-authored-by: Deepak Nevde <deepak_nevde@persistent.com>
Co-authored-by: Ramneet Chopra <ramneet_chopra@persistent.com>
Co-authored-by: Shankha Das <shankha.das@domo.com>
Co-authored-by: Mrunal Zambre <mrunal_zambre@persistent.com>
Co-authored-by: ruchika-narang <79983862+ruchika-narang@users.noreply.github.com>
Co-authored-by: Pratibha Pandey <pratibha_pandey@persistent.com>
Co-authored-by: ruchika-narang <ruchika_narang@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

* Staging for version increment automation (#848)

* Version increment automation

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Version increment automation

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Version increment automation: task rename updateVersion

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Release Notes for 2.2.0 (#920)

Signed-off-by: vamsi-amazon <reddyvam@amazon.com>

* 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 <rinku_kumar@persistent.com>

* snapshot updated

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* no_results.test.tsx snapshot updated

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

* added empty line at the end of the file

Signed-off-by: rinku-kumar-psl <rinku_kumar@persistent.com>

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

* Bump to 2.2.0

Signed-off-by: vamsi-amazon <reddyvam@amazon.com>

* Update snapshots

Signed-off-by: Joshua Li <joshuali925@gmail.com>

Co-authored-by: Joshua Li <joshuali925@gmail.com>
(cherry picked from commit da9e9c013e13e03afd09d324e06e025dbb207f0c)

Co-authored-by: vamsi-amazon <reddyvam@amazon.com>

* Sprint3 alpha (#64) (#931)

* Sprint3 alpha (#64)

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>

* issues resolved and snapshots updated

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* 2 snapshots updated

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: abasatwar <amruta_basatwar@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

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

* Worked on movement of data to userConfigs

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots for failing checks

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* resolved PR comments

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* visType added

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

* cypress test case for horizontal bar (#935)

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>
Co-authored-by: nidhisinghai <nidhisinghai@persistent.com>

* build error resolve (#923)

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>
Co-authored-by: nidhisinghai <nidhisinghai@persistent.com>

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

* Fix for app crash and dimension disaapearing

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* optimized the code and updated snapshots

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* resolved PR comments

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: Shankha Das <shankha_das@persistent.com>

* cypress test case for scatter chart (#930)

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>
Co-authored-by: nidhisinghai <nidhisinghai@persistent.com>

* 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 <ruchika_narang@persistent.com>

* optimized the code and updated snapshots

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* resolved PR comments

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* resolved data configuration bug for logs view

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: ruchika-narang <ruchika_narang@persistent.com>

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

* Fix for app crash and dimension disaapearing

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* optimized the code and updated snapshots

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* resolved PR comments

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* added tooltip options

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* removed log

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>
Signed-off-by: Shankha Das <shankha_das@persistent.com>
Co-authored-by: ruchika-narang <ruchika_narang@persistent.com>

* resolved color theme issue (#960)

Signed-off-by: Shankha Das <shankha_das@persistent.com>

Signed-off-by: Shankha Das <shankha_das@persistent.com>

* Renamed data panel to style (#964)

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* 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] <support@github.com>

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 <szhongna@amazon.com>
(cherry picked from commit 5c43e9dac336b37fa4f6f002709e0965015383aa)

Co-authored-by: Zhongnan Su <szhongna@amazon.com>

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

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* query manager

Signed-off-by: Eric Wei <menwe@amazon.com>

* removed aggregations from dimensions

Signed-off-by: Eric Wei <menwe@amazon.com>

* qm improvements

Signed-off-by: Eric Wei <menwe@amazon.com>

* types/code cleanups/error corrections

Signed-off-by: Eric Wei <menwe@amazon.com>

* fixed a undefined issue

Signed-off-by: Eric Wei <menwe@amazon.com>

* qm fixes for query builder

Signed-off-by: Eric Wei <menwe@amazon.com>

* viz timestamp selector

Signed-off-by: Eric Wei <menwe@amazon.com>

* use postinstall for antlr output files

Signed-off-by: Eric Wei <menwe@amazon.com>

* query building fixes

Signed-off-by: Eric Wei <menwe@amazon.com>

* updated snapshots

Signed-off-by: Eric Wei <menwe@amazon.com>

* remove output files

Signed-off-by: Eric Wei <menwe@amazon.com>

* cherry-pick from integration branch

Signed-off-by: Eric Wei <menwe@amazon.com>

* explicitly remove generated files

Signed-off-by: Eric Wei <menwe@amazon.com>

Signed-off-by: Eugene Lee <eugenesk@amazon.com>
Signed-off-by: Eric Wei <menwe@amazon.com>
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 <szhongna@amazon.com>

* 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] <support@github.com>

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 <szhongna@amazon.com>
(cherry picked from commit 5c43e9dac336b37fa4f6f002709e0965015383aa)

Co-authored-by: Zhongnan Su <szhongna@amazon.com>

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

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

* query manager

Signed-off-by: Eric Wei <menwe@amazon.com>

* removed aggregations from dimensions

Signed-off-by: Eric Wei <menwe@amazon.com>

* qm improvements

Signed-off-by: Eric Wei <menwe@amazon.com>

* types/code cleanups/error corrections

Signed-off-by: Eric Wei <menwe@amazon.com>

* qm fixes for query builder

Signed-off-by: Eric Wei <menwe@amazon.com>

* viz timestamp selector

Signed-off-by: Eric Wei <menwe@amazon.com>

* query manager integration with bar step 1

Signed-off-by: Eric Wei <menwe@amazon.com>

* span fix

Signed-off-by: Eric Wei <menwe@amazon.com>

* use postinstall for antlr output files

Signed-off-by: Eric Wei <menwe@amazon.com>

* query building fix

Signed-off-by: Eric Wei <menwe@amazon.com>

* updated snapshots

Signed-off-by: Eric Wei <menwe@amazon.com>

* fixed file not found issue

Signed-off-by: Eric Wei <menwe@amazon.com>

* remove output files

Signed-off-by: Eric Wei <menwe@amazon.com>

Signed-off-by: Eugene Lee <eugenesk@amazon.com>
Signed-off-by: Eric Wei <menwe@amazon.com>
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 <szhongna@amazon.com>

* Bug/color-theme-options: Resolved color theme issue #960 (#971)

* Resolved to show only metrics in the dropdown instead of all the fields

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Removed unncessary import

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots after rebasing with main

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* cypress box plot (#983)

* cypress box plot

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

* cypress box plot new

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>

Signed-off-by: nidhisinghai <nidhisinghai@persistent.com>
Co-authored-by: nidhisinghai <nidhisinghai@persistent.com>

* fix: reset fontSize on click of reset (#986)

Signed-off-by: SivaprasadAluri <sivaprasad_aluri@persistent.com>

Signed-off-by: SivaprasadAluri <sivaprasad_aluri@persistent.com>

* Cypress automation for Logs view (#995)

* Added cypress scripts for Logs view

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added screenshots files

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added snapshots files

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* release notes for 2.3.0 (#1003)

Signed-off-by: Eric Wei <menwe@amazon.com>

Signed-off-by: Eric Wei <menwe@amazon.com>

* Resolving conflicts after merge of antlr code (#1021)

* Resolved initial render of bar chart

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Made the charts workable after merging of antlr code to main

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Changes of condition for userconfigs

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Worked on line chart, treemap with the new antlr code

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* tooltip for multiple traces: fixed (#1019)

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* Cypress automation for Pie chart (#1017)

* Added cypress scripts for Logs view

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added screenshots files

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added snapshots files

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added Pie chart file and cypress test cases

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Small name change

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added pie chart test cases

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* Added snapshots files

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

Signed-off-by: Pratibha Pandey <pratibha_pandey@persistent.com>

* fix#921-README-forum-link-observability (#999)

Signed-off-by: cwillum <cwmmoore@amazon.com>

Signed-off-by: cwillum <cwmmoore@amazon.com>

* Update developer guide (#961)

* Update developer guide

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Update wording

Signed-off-by: Joshua Li <joshuali925@gmail.com>

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Cypress Automation for Stats Chart (#1016)

* Added new branch code for cypress stats chart

Signed-off-by: Naman Chaturvedi <naman_chaturvedi@persistent.com>

* Added screenshots files

Signed-off-by: Naman Chaturvedi <naman_chaturvedi@persistent.com>

Signed-off-by: Naman Chaturvedi <naman_chaturvedi@persistent.com>

* Jest test cases (#985)

* gauge chart test case added, event-anlytics utils test case added

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* build error resolve: updated snapshots

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* [Bug]: Date Histogram 2 way sync issue fix (#1033)

* Date-histogram 2 way sync issue fixed

Signed-off-by: Dipra Aich <dipra_aich@persistent.com>

* Test run snapshot update changes

Signed-off-by: Dipra Aich <dipra_aich@persistent.com>

Signed-off-by: Dipra Aich <dipra_aich@persistent.com>

* [Feature]: Heatmap 2way sync (#1031)

* Heatmap doesnt render if more than 1 metric or 2 dimensions are added

Signed-off-by: Dipra Aich <dipra_aich@persistent.com>

* Test cases resolution

Signed-off-by: Dipra Aich <dipra_aich@persistent.com>

* Eliminated unnecessary commented code

Signed-off-by: Dipra Aich <dipra_aich@persistent.com>

Signed-off-by: Dipra Aich <dipra_aich@persistent.com>

* fixed backspace crashing UI issue (#1034)

Signed-off-by: Vishal Kushwah <vishal.kushwah@domo.com>

Signed-off-by: Vishal Kushwah <vishal.kushwah@domo.com>
Co-authored-by: Vishal Kushwah <vishal.kushwah@domo.com>

* [Feature]: Timeseries/Scatter 2 way sync (#1030)

* Fixed 2 way sync issues for line

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Updated snapshots

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Removed extra line

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Move qm to plugins #1023 (#1036)

* move qm: in progress

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* qm instances prop adedd + yarn test

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* main rebase

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* explorereFields type fixed

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* querymanager types added, renamed to qm

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* Pie chart 2way sync (#1029)

* mode bug fixed code: added, 2 way changes testing: in progress

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* pie two sync done

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* yarn test

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* pr feedback

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* spaces added in between lines

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* usememo removed from xlables

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

Signed-off-by: Ramneet Chopra <ramneet_chopra@persistent.com>

* [BUG]: Revert code for treemap and histogram. (#1037)

* Revert code for histogram and treemap after antlr merge because of crashes in app

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Fixes after rebasing with main and test cases failing

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Removed commented code

Signed-off-by: ruchika-narang <ruchika_narang@persistent.com>

* Working on review comments, renaming metrics to series

Signed-off-by: ruchika-nara…
  • Loading branch information
Show file tree
Hide file tree
Showing 27 changed files with 2,654 additions and 31 deletions.
27 changes: 17 additions & 10 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# Observability Maintainers
## Overview

## Maintainers
| Maintainer | GitHub ID | Affiliation |
|---------------|-------------------------------------------------|-------------|
| David Cui | [davidcui1225](https://github.com/davidcui1225) | Amazon |
| Eric Wei | [mengweieric](https://github.com/mengweieric) | Amazon |
| Joshua Li | [joshuali925](https://github.com/joshuali925) | Amazon |
| Shenoy Pratik | [ps48](https://github.com/ps48) | Amazon |
| Kavitha Mohan | [kavithacm] (https://github.com/kavithacm) | Amazon |
| Eugene Lee | [eugenesk24] (https://github.com/eugenesk24) | Amazon |
This document contains a list of maintainers in this repo. See [opensearch-project/.github/RESPONSIBILITIES.md](https://github.com/opensearch-project/.github/blob/main/RESPONSIBILITIES.md#maintainer-responsibilities) that explains what the role of maintainer means, what maintainers do in this and other repos, and how they should be doing it. If you're interested in contributing, and becoming a maintainer, see [CONTRIBUTING](CONTRIBUTING.md).

## Current Maintainers

| Maintainer | GitHub ID | Affiliation |
| ----------------- | ------------------------------------------------- | ----------- |
| David Cui | [davidcui1225](https://github.com/davidcui1225) | Amazon |
| Eric Wei | [mengweieric](https://github.com/mengweieric) | Amazon |
| Joshua Li | [joshuali925](https://github.com/joshuali925) | Amazon |
| Shenoy Pratik | [ps48](https://github.com/ps48) | Amazon |
| Kavitha Mohan | [kavithacm](https://github.com/kavithacm) | Amazon |
| Eugene Lee | [eugenesk24](https://github.com/eugenesk24) | Amazon |
| Rupal Mahajan | [rupal-bq](https://github.com/rupal-bq) | Amazon |
| Derek Ho | [derek-ho](https://github.com/derek-ho) | Amazon |
| Lior Perry | [YANG-DB](https://github.com/YANG-DB) | Amazon |
| Peter Fitzgibbons | [pjfitzgibbons](https://github.com/pjfitzgibbons) | Amazon |
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Compatible with OpenSearch and OpenSearch Dashboards Version 2.6.0
### Infrastructure

- Add publish snapshots to maven via GHA ([#1423](https://github.com/opensearch-project/observability/pull/1423))

- Add support for structured Metrics & Traces index using Simple Schema for Observability ([#1427](https://github.com/opensearch-project/observability/pull/1427))

### Maintenance

Expand Down
104 changes: 104 additions & 0 deletions schema/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Simple Schema for Observability

## Background
Observability is the ability to measure a system’s current state based on the data it generates, such as logs, metrics, and traces. Observability relies on telemetry derived from instrumentation that comes from the endpoints and services.

Observability telemetry signals (logs, metrics, traces) arriving from the system would contain all the necessary information needed to observe and monitor.

Modern application can have a complicated distributed architecture that combines cloud native and microservices layers. Each layer produces telemetry signals that may have different structure and information.

Using Simple Schema's Observability telemetry schema we can organize, correlate and investigate system behavior in a standard and well-defined manner.

Observability telemetry schema defines the following components - **logs, traces and metrics**.

**Logs** provide comprehensive system details, such as a fault and the specific time when the fault occurred. By analyzing the logs, one can troubleshoot code and identify where and why the error occurred.

**Traces** represent the entire journey of a request or action as it moves through all the layers of a distributed system. Traces allow you to profile and observe systems, especially containerized applications, serverless architectures, or microservices architecture.

**Metrics** provide a numerical representation of data that can be used to determine a service or component’s overall behaviour over time.


In many occasions, correlation between the logs, traces and metrics is mandatory to be able to monitor and understand how the system is behaving. In addition, the distributed nature of the application produces multiple formats of telemetry signals arriving from different components ( network router, web server, database)

For such correlation to be possible the industry has formulated several protocols ([OTEL](https://github.com/open-telemetry), [ECS](https://github.com/elastic/ecs), [OpenMetrics](https://github.com/OpenObservability/OpenMetrics)) for communicating these signals - the Observability schemas.

---
## Schema Aware Components

The role of the Observability plugin is intended to allow maximum flexibility and not imposing a strict Index structure of the data source. Nevertheless, the modern nature of distributed application and the vast amount of telemetry producers is changing this perception.

Today many of the Observability solutions (splunk, datadog, dynatrace) recommend using a consolidated schema to represent the entire variance of log/trace/metrics producers.

This allows monitoring, incidents investigation and corrections process to become simpler, maintainable and reproducible.


A Schema-Aware visualization component is a component which assumes the existence of specific index/indices name patterns and expects these indices to have a specific structure - a schema.

As an example we can see that **Trace-Analytics** is a schema-aware visual component since it directly assumes the traces & serviceMap indices exist and expects them to follow a specific structure.

This definition doesn’t change the existing status of visualization components which are not “Schema Aware” but it only regulates which Visual components would benefit using a schema and which will be agnostic of its content.

Operation Panel for example, are not “Schema Aware” since they don’t assume in advanced the existence of a specific index nor do they expect the index they display to have a specific structure.

## Data Model

Simple Schema for Observability allows ingestion of both (OTEL/ECS) formats and internally consolidate them to best of its capabilities for presenting a unified Observability platform.

## Observability index naming

The Observability indices would follow the recommended for immutable data stream ingestion pattern using the [data_stream concepts](https://opensearch.org/docs/latest/opensearch/data-streams/)

Index pattern will follow the next naming template `sso_{type}`-`{dataset}`-`{namespace}`

- **type** - indicated the observability high level types "logs", "metrics", "traces" (prefixed by the `sso_` schema convention )
- **dataset** - The field can contain anything that classify the source of the data - such as `nginx.access`
- **namespace** - A user defined namespace - mainly useful to allow grouping of data such as production grade, geography classification

This strategy allows two degrees of naming freedom: dataset and namespace. For example a customer may want to route the nginx logs from two geographical areas into two different indices:

- `sso_logs-nginx-us`
- `sso_logs-nginx-eu`

This type of distinction also allows for creation of crosscutting queries by setting the next index query pattern `sso_logs-nginx-*` or by using a geographic based crosscutting query `sso_logs-*-eu`.

## Data index routing

The [ingestion component](https://github.com/opensearch-project/data-prepper) which is responsible for ingesting the Observability signals is responsible to route the data into the relevant indices.

The `sso_{type}-{dataset}-{namespace}` combination dictates the target index, `{type}` is prefixed with the `sso_` prefix into one of the supported type:

- Traces - `sso_traces`
- Metrics - `sso_metrics`
- Logs - `sso_logs`

For example if within the ingested log contains the following section:
```json
{
...
"attributes": {
"data_stream": {
"type": "span",
"dataset": "mysql",
"namespace": "prod"
}
}
}
```
This indicates that the target index for this observability signal should be `sso_traces`-`mysql`-`prod` index that follows uses the traces schema mapping.

## Observability Index templates

With the expectation of multiple Observability data providers and the need to consolidate all to a single common schema - the Observability plugin will take the following responsibilities :

- Define and create all the signals **index templates** upon loading
- Publish a versioned schema file (Json Schema) for each signal type for general validation usage by any 3rd party

## Observability Ingestion pipeline
The responsibility on an **Observability-ingestion-pipeline** is to create the actual `data_stream` in which it is expecting to ingest into.

This `data_stream` will use one of the Observability ready-made index templates (Metrics,Traces and Logs) and conform with the above naming pattern (`sso_{type}`-`{dataset}`-`{namespace}`)

**If the ingesting party has a need to update the template default index setting (shards, replicas ) it may do so before the actual creation of the data_stream.**

### Note
It is important to mention that these new capabilities would not change or prevent existing customer usage of the system and continue to allow proprietary usage.
105 changes: 105 additions & 0 deletions schema/metrics/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Metrics Schema Support

Observability refers to the ability to monitor and diagnose systems and applications in real-time, in order to understand how they are behaving and identify potential issues.
Metrics present a critical component of observability, providing quantifiable data about the performance and behavior of systems and applications.
The importance of supporting metrics structured schema lies in the fact that it enables better analysis and understanding of system behavior.

A structured schema provides a clear, consistent format, making it easier for observability tools to process and aggregate the data.
This in turn makes it easier for engineers to understand the performance and behavior of their systems, and quickly identify potential issues.

When metrics are unstructured, it can be difficult for observability tools to extract meaningful information from them.
For example, if the data for a particular metric is not consistently recorded in the same format, it can be difficult to compare and analyze performance data over time.
Similarly, if metrics are not consistently named or categorized, it can be difficult to understand their context and significance.

With a structured schema in place, observability tools can automatically extract and aggregate data, making it easier to understand system behavior at a high level.
This can help teams quickly identify performance bottlenecks, track changes in system behavior over time, and make informed decisions about system performance optimization.

## Details
The next section provides the Simple Schema for Observability support which conforms with the OTEL specification.

- metrics.mapping presents the template mapping for creating the Simple Schema for Observability index
- metrics.schema presents the json schema validation for verification of a metrics document conforms to the mapping structure

## Metrics
see [OTEL metrics convention](https://opentelemetry.io/docs/reference/specification/metrics/)
see [OTEL metrics protobuf](https://github.com/open-telemetry/opentelemetry-proto/tree/main/opentelemetry/proto/metrics/v1)

Simple Schema for Observability conforms with OTEL metrics protocol which defines the next data model:

#### Timestamp field
As part of the data-stream definition the `@timestamp` is mandatory, if the field is not present in the original signal populate this field using `ObservedTimestamp` as value.

### Instrumentation scope
This is a logical unit of the application with which the emitted telemetry can be associated. It is typically the developer’s choice to decide what denotes a reasonable instrumentation scope.
The most common approach is to use the instrumentation library as the scope, however other scopes are also common, e.g. a module, a package, or a class can be chosen as the instrumentation scope.

The instrumentation scope may have zero or more additional attributes that provide additional information about the scope. As an example the field
`instrumentationScope.attributes.identification` is presented will be used to determine the resource origin of the signal and can be used to filter accordingly

### Overview
Metrics are a specific kind of telemetry data. They represent a snapshot of the current state for a set of data.
Metrics are distinct from logs or events, which focus on records or information about individual events.

Metrics expresses all system states as numerical values; counts, current values and such.
Metrics tend to aggregate data temporally, while this can lose information, the reduction in overhead is an engineering trade-off commonly chosen in many modern monitoring systems.

Time series are a record of changing information over time. While time series can support arbitrary strings or binary data, only numeric data is in our scope.
Common examples of metric time series would be network interface counters, device temperatures, BGP connection states, and alert states.

### Metric streams
In a similar way to the data_stream attribute field representing the category of a trace, the metric streams are grouped into individual Metric objects, identified by:

- The originating Resource attributes
- The instrumentation Scope (e.g., instrumentation library name, version)
- The metric stream’s name

### Metrics
Metric object is defined by the following properties:

- The data point type (e.g. Sum, Gauge, Histogram ExponentialHistogram, Summary)
- The metric stream’s unit
- The data point properties, where applicable: AggregationTemporality, Monotonic

The description is also present in the metrics object but is not part of the identification fields
_- The metric stream’s description_


### Data Types

**Values:** Metric values in MUST be either floating points or integers.

**Attributes:** Labels are key-value pairs consisting of string as keys and Any type as values (strings, object, array)

**MetricPoint:** Each MetricPoint consists of a set of values, depending on the MetricFamily type.

**Metric** Metrics are defined by a unique attributes (dimensions) within a MetricFamily.

---

Metrics MUST contain a list of one or more MetricPoints. Metrics with the same name for a given MetricFamily SHOULD have the same set of label names in their LabelSet.

* Metrics.name: String value representation of the matrix purpose
* Metrics.type: Valid values are "gauge", "counter","histogram", and "summary".
* Metrics.Unit: specifies MetricFamily units.

## Metric Types

### Gauge
Gauges are current measurements, such as bytes of memory currently used or the number of items in a queue. For gauges the absolute value is what is of interest to a user.
**_A MetricPoint in a Metric with the type gauge MUST have a single value._**
Gauges MAY increase, decrease, or stay constant over time. Even if they only ever go in one direction, they might still be gauges and not counters.

### Counter
Counters measure discrete events. Common examples are the number of HTTP requests received, CPU seconds spent, or bytes sent. For counters how quickly they are increasing over time is what is of interest to a user.
**_A MetricPoint in a Metric with the type Counter MUST have one value called Total._**

### Histogram / Exponential-Histogram
Histograms measure distributions of discrete events. Common examples are the latency of HTTP requests, function runtimes, or I/O request sizes.
**_A Histogram MetricPoint MUST contain at least one bucket_**, and SHOULD contain Sum, and Created values. Every bucket MUST have a threshold and a value.

### Summary
Summaries also measure distributions of discrete events and MAY be used when Histograms are too expensive and/or an average event size is sufficient.
**_A Summary MetricPoint MAY consist of a Count, Sum, Created, and a set of quantiles._**
Semantically, Count and Sum values are counters & MUST be an integer.


Loading

0 comments on commit e8b6fd4

Please sign in to comment.