Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/metrics #1229

Closed
wants to merge 98 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
0b8c57e
removing add sample data test (#668)
ps48 Apr 19, 2022
aaeadb0
Fix change availability bug (#667)
eugenesk24 Apr 19, 2022
4ee5d2a
Fix test to check for empty event analytics (#669)
eugenesk24 Apr 19, 2022
f0afa84
Add release notes for 2.0.0-rc1 (#674)
joshuali925 Apr 20, 2022
79613cd
remove candlestick from visualizations (#690)
mrunal-z Apr 27, 2022
f3b6598
[OSD][Tests] add test subject to app title for app analytics (#686)
kavilla Apr 28, 2022
9ebb7d2
Support integTestRemote with security enabled endpoint (#699)
joshuali925 May 2, 2022
6b15239
Add data test subj to app analytics (#704)
eugenesk24 May 3, 2022
37df29f
integrate job-scheduler into observability (#609)
zhongnansu May 10, 2022
9c2a8fb
Add availability entry points (#731)
eugenesk24 May 11, 2022
291d17f
Update availabilityVizId if visualization is removed from panel (#732)
eugenesk24 May 11, 2022
40dff8b
Remove rc1 reference (#730)
eugenesk24 May 13, 2022
4e1bd11
Issue fix not a function error (#739)
mengweieric May 17, 2022
b23946d
Release notes 2.0.0.0 (#757)
vamsimanohar May 18, 2022
159fc21
Add availability help flyout (#734)
eugenesk24 May 25, 2022
9d16389
Make common delete modal for components (#766)
eugenesk24 May 26, 2022
2348ce9
Sync app and app list types (#763)
eugenesk24 May 26, 2022
7bdeec5
[WIP]: Cypress automation for Trace analytics dashboard application (…
pratibhapandey16 Jun 7, 2022
4fa6e82
Feature/error toast on invalid valueoption selection 666 (#736)
rinku-kumar-psl Jun 8, 2022
ec75f52
[Feature]: Treemap chart support in Event Analytics (#693)
mrunal-z Jun 9, 2022
1c09555
Uses custom plugin to publish zips to maven (#786)
joshuali925 Jun 14, 2022
ccee0d3
Cypress automation for Notebooks application (#809)
pratibhapandey16 Jun 16, 2022
10abff2
Feature/Pie chart legend, chart style, color theme and cypress test c…
deepaknevdepsl Jun 16, 2022
4a4c62a
[Feature]: Heatmap- Color theme implementation in config panel (#778)
ruchika-narang Jun 16, 2022
0c5dda9
[Enhancement]: Pie Config Panel features v1 (#816)
mrunal-z Jun 23, 2022
c81f5d2
[Enhancement]: TreeMap Config Panel features v1 (#814)
mrunal-z Jun 23, 2022
adec5c9
Bar chart: Legend, Chart styles, and Color Theme features implementat…
rinku-kumar-psl Jun 23, 2022
c136532
bump version to 2.1.0 and bump gradle to 7.4.2 (#817)
kavithacm Jun 23, 2022
bf81e35
2.1 release notes (#839)
kavithacm Jul 6, 2022
4bebc60
change 2.1 version bump PR under maintenance (#841)
kavithacm Jul 7, 2022
bf98d97
Sprint1 : combine PR for visualization from Sprint1 (#824)
abasatwar Jul 8, 2022
dd298c2
Bump moment from 2.29.2 to 2.29.4 in /dashboards-observability (#845)
dependabot[bot] Jul 19, 2022
1a95ba5
Sprint2 (#47) (#868)
abasatwar Jul 26, 2022
b5c6802
Staging for version increment automation (#848)
prudhvigodithi Jul 26, 2022
77c460f
Release Notes for 2.2.0 (#920)
vamsimanohar Aug 6, 2022
8503d0c
Sprint2 code refactoring and warning minimization (#904)
rinku-kumar-psl Aug 9, 2022
5a18297
Bump to 2.2.0 (#918) (#928)
opensearch-trigger-bot[bot] Aug 9, 2022
29a73c9
Sprint3 alpha (#64) (#931)
abasatwar Aug 10, 2022
7cbe5d8
[ENHANCEMENT]: Movement of temporary visualization panel data into us…
ruchika-narang Aug 11, 2022
3942d9f
cypress test case for horizontal bar (#935)
nidhisinghai Aug 22, 2022
44dfbf5
build error resolve (#923)
nidhisinghai Aug 22, 2022
e089315
[BUG] : Dimensions getting removed when no timeseries field is presen…
ruchika-narang Aug 22, 2022
3e5d26b
cypress test case for scatter chart (#930)
nidhisinghai Aug 22, 2022
d5745db
Bug/logs-view-data-config: Added Columns in Data Configuration for Lo…
shankha-das Aug 26, 2022
79197db
Feature/tooltip-section: Added tooltip options for various charts (#952)
shankha-das Aug 26, 2022
26d6762
resolved color theme issue (#960)
shankha-das Aug 26, 2022
e8edc0c
Renamed data panel to style (#964)
ruchika-narang Aug 26, 2022
2fae9b0
Query Manager (#915)
mengweieric Sep 7, 2022
5970b0e
Query manager integration (#987)
mengweieric Sep 7, 2022
d9f5846
Bug/color-theme-options: Resolved color theme issue #960 (#971)
ruchika-narang Sep 7, 2022
67e7b5e
cypress box plot (#983)
nidhisinghai Sep 7, 2022
d590d10
fix: reset fontSize on click of reset (#986)
SivaprasadAluri Sep 7, 2022
e755d2b
Cypress automation for Logs view (#995)
pratibhapandey16 Sep 7, 2022
25bd43b
release notes for 2.3.0 (#1003)
mengweieric Sep 9, 2022
06c4b30
Resolving conflicts after merge of antlr code (#1021)
ruchika-narang Sep 13, 2022
45406d6
tooltip for multiple traces: fixed (#1019)
ramneet-persistent Sep 13, 2022
b7da13c
Cypress automation for Pie chart (#1017)
pratibhapandey16 Sep 13, 2022
cbc66bb
fix#921-README-forum-link-observability (#999)
cwillum Sep 13, 2022
54d7b94
Update developer guide (#961)
joshuali925 Sep 13, 2022
a37542d
Cypress Automation for Stats Chart (#1016)
NamanChaturvedi13 Sep 13, 2022
a1490cc
Jest test cases (#985)
ramneet-persistent Sep 13, 2022
46b26c5
[Bug]: Date Histogram 2 way sync issue fix (#1033)
DipraAich Sep 17, 2022
e05fb74
[Feature]: Heatmap 2way sync (#1031)
DipraAich Sep 19, 2022
0a5d543
fixed backspace crashing UI issue (#1034)
vkushwah Sep 19, 2022
52f9168
[Feature]: Timeseries/Scatter 2 way sync (#1030)
ruchika-narang Sep 19, 2022
61ab8f6
Move qm to plugins #1023 (#1036)
ramneet-persistent Sep 20, 2022
18c642f
Pie chart 2way sync (#1029)
ramneet-persistent Sep 23, 2022
3ce8d87
[BUG]: Revert code for treemap and histogram. (#1037)
ruchika-narang Sep 26, 2022
08a8d82
Match core wizard design (#1044)
mengweieric Sep 27, 2022
dcf304c
Fixed crashes when user deletes Aggregation field (#1047)
Koustubh5585 Sep 29, 2022
0c617de
[FEATURE]: Breakdown added in Bar Chart (#1051)
ruchika-narang Sep 29, 2022
cad95f2
Fix scroll issue for fields (#1050)
ruchika-narang Sep 29, 2022
bdf5291
stats: auto chart added (#913)
ramneet-persistent Sep 29, 2022
640462f
table view with two way sync (#1022)
abasatwar Sep 30, 2022
e9ff79a
[Bug]: Data Configuration panel for Logs view remains disabled. (#1057)
saisanju-s Sep 30, 2022
d92a94b
update jackson to 2.13.4 (#1062)
kavithacm Oct 3, 2022
1f605e2
[FEATURE]: Updated data configuration UI and Two way sync for Custom …
harshada8989 Oct 5, 2022
b602ad5
Gauge 2way sync (#1048)
abhaypersistent Oct 6, 2022
c7f8096
Bug Fixed: Visualization height panel issue for all charts (#1075)
Koustubh5585 Oct 6, 2022
1c9c4f5
Updated breakdowns with updated UI of configuration panel (#1077)
ruchika-narang Oct 6, 2022
0eaf0df
[Feature] - stats horizontal chart (#1073)
ramneet-persistent Oct 10, 2022
8e6c6ce
chore: fix line reference (#1078)
derek-ho Oct 10, 2022
9ed7e5a
[FEATURE] : Horizontal bar chart 2way sync (#1094)
DipraAich Oct 11, 2022
cdf6aae
[BUG]: If all Series and Dimensions are removed from a query and Refr…
DipraAich Oct 12, 2022
a7c8141
[Bug] different default values fixed (#1111)
ramneet-persistent Oct 12, 2022
8e22c12
fixed selected visualization name (#1112)
vkushwah Oct 12, 2022
da93f4b
Time series/scatter bugs fixed (#1113)
ramneet-persistent Oct 12, 2022
e365c10
Added Metrics Home Page and date picker (#1125)
sejli Oct 13, 2022
ecb4a16
Adding Empty View and Side Bar (#1154)
sejli Oct 18, 2022
116fa97
added empty view
ps48 Oct 21, 2022
0e6fef2
Adding Sidebar to Metrics Home (#1171)
sejli Oct 25, 2022
8c39a3b
[Events] Save panel (#1185)
kavithacm Oct 31, 2022
4d99688
[Metrics] Adding API Connection to Metrics Sidebar (#1211)
sejli Nov 1, 2022
e64628d
Metrics api events (#1214)
kavithacm Nov 1, 2022
91df39d
Adding visualizations panel to metrics (#1222)
ps48 Nov 2, 2022
ea53f4d
added dummy search field, panel push button (#1227)
ps48 Nov 2, 2022
019ad23
Show metrics in events homepage (#1232)
kavithacm Nov 3, 2022
ca5d5dd
Sidepanel update (#1230)
sejli Nov 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: [pull_request, push]
env:
PLUGIN_NAME: dashboards-observability
OPENSEARCH_VERSION: 'main'
OPENSEARCH_PLUGIN_VERSION: 2.0.0.0
OPENSEARCH_PLUGIN_VERSION: 2.2.0.0

jobs:

Expand Down
17 changes: 7 additions & 10 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ By default, tests use the same runtime as `JAVA_HOME`.

### Setup

1. Download OpenSearch for the version that matches the [OpenSearch Dashboards version specified in package.json](./dashboards-observability/package.json#L5).
1. Download the OpenSearch Dashboards source code for the [version specified in package.json](./dashboards-observability/package.json#L5) you want to set up.

1. Download OpenSearch for the version that matches the [OpenSearch Dashboards version specified in opensearch_dashboards.json](./dashboards-observability/opensearch_dashboards.json#L4) from [opensearch.org](https://opensearch.org/downloads.html).
1. Download the OpenSearch Dashboards source code for the [version specified in opensearch_dashboards.json](./dashboards-observability/opensearch_dashboards.json#L4) you want to set up.
1. Change your node version to the version specified in `.node-version` inside the OpenSearch Dashboards root directory.
1. cd into `plugins` directory in the OpenSearch Dashboards source code directory.
1. Check out this package from version control into the `plugins` directory.
1. cd into `OpenSearch-Dashboards` and remove the `plugins` directory.
1. Check out this package from version control as the `plugins` directory.
```bash
git clone git@github.com:opensearch-project/observability.git plugins --no-checkout
git clone https://github.com/opensearch-project/observability plugins --no-checkout
cd plugins
echo 'dashboards-observability/*' >> .git/info/sparse-checkout
git config core.sparseCheckout true
Expand All @@ -46,9 +45,7 @@ Example output: `./build/observability*.zip`

### Run

- `yarn start`

Starts OpenSearch Dashboards and includes this plugin. OpenSearch Dashboards will be available on `localhost:5601`.
cd back to `OpenSearch-Dashboards` directory and run `yarn start` to start OpenSearch Dashboards including this plugin. OpenSearch Dashboards will be available on `localhost:5601`.

### Submitting Changes

Expand All @@ -60,4 +57,4 @@ The Github workflow in [`backport.yml`](.github/workflows/backport.yml) creates
with an appropriate label `backport <backport-branch-name>` is merged to main with the backport workflow run successfully on the
PR. For example, if a PR on main needs to be backported to `1.x` branch, add a label `backport 1.x` to the PR and make sure the
backport workflow runs on the PR along with other checks. Once this PR is merged to main, the workflow will create a backport PR
to the `1.x` branch.
to the `1.x` branch.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ See [developer guide](DEVELOPER_GUIDE.md) and [how to contribute to this project

If you find a bug, or have a feature request, please don't hesitate to open an issue in this repository.

For more information, see [project website](https://opensearch.org/) and [documentation](https://opensearch.org/docs). If you need help and are unsure where to open an issue, try [forums](https://discuss.opendistrocommunity.dev/).
For more information, see [project website](https://opensearch.org/) and [documentation](https://opensearch.org/docs). If you need help and are unsure where to open an issue, try the [Forum](https://forum.opensearch.org/c/plugins/observability/49).

## Code of Conduct

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {
SAMPLE_URL,
SQL_QUERY_TEXT,
PPL_QUERY_TEXT,
NOTEBOOK_TEXT,
OPENSEARCH_URL,
} from '../utils/constants';

import { SAMPLE_PANEL } from '../utils/panel_constants';
Expand Down Expand Up @@ -63,6 +65,13 @@ describe('Testing notebooks table', () => {
cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/notebooks`);
});

it('Notebooks table empty state', () => {
cy.get('#notebookArea').contains('Notebooks (0)').should('exist');
cy.get('.euiTextAlign.euiTextAlign--center').contains('No notebooks');
cy.get('.euiButton__text').eq(2).contains('Create notebook');
cy.get('.euiButton__text').eq(3).contains('Add samples');
});

it('Displays error toast for invalid notebook name', () => {
cy.get('.euiButton__text').contains('Create notebook').click();
cy.wait(delay);
Expand Down Expand Up @@ -125,6 +134,21 @@ describe('Testing notebooks table', () => {
.should('exist');
});

it('Notebooks table columns headers and pagination', () => {
cy.get('.euiTitle.euiTitle--small').contains('Notebooks').should('exist');
cy.get('.euiTableCellContent__text[title="Name"]').should('exist');
cy.get('.euiTableCellContent__text[title="Last updated"]').should('exist');
cy.get('.euiTableCellContent__text[title="Created"]').should('exist');
cy.get('[data-test-subj="tablePaginationPopoverButton"]').should('exist');
});

it('"Learn more" link under Notebooks header', () => {
cy.get('.euiTitle.euiTitle--small').contains('Notebooks');
cy.get('.euiTextColor.euiTextColor--subdued').contains(NOTEBOOK_TEXT);
cy.get('a.euiLink.euiLink--primary').contains('Learn more').click();
cy.get(`a[href="${OPENSEARCH_URL}"]`).should('exist');
});

it('Deletes notebooks', () => {
cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').click();
cy.wait(delay);
Expand Down Expand Up @@ -231,6 +255,16 @@ describe('Testing paragraphs', () => {
cy.get('.euiTitle').contains('Event analytics').should('exist');
});

it('Paragraph actions layout', () => {
cy.get('button[data-test-subj="notebook-paragraph-actions-button"]').should('exist').click();
cy.get('.euiContextMenuPanelTitle').contains('Actions');
cy.get('.euiContextMenuItem__text').eq(0).contains('Add paragraph to top');
cy.get('.euiContextMenuItem__text').eq(1).contains('Add paragraph to bottom');
cy.get('.euiContextMenuItem__text').eq(2).contains('Run all paragraphs');
cy.get('.euiContextMenuItem__text').eq(3).contains('Clear all outputs');
cy.get('.euiContextMenuItem__text').eq(4).contains('Delete all paragraphs');
});

it('Renders markdown', () => {
cy.get('.euiTextArea').should('not.exist');
cy.get(`a[href="${SAMPLE_URL}"]`).should('exist');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,37 +502,7 @@ describe('Testing a panel', () => {
});
});

describe('Add samples and clean up all test data', () => {
it('Add sample data', () => {
moveToPanelHome();
cy.get('.euiButton__text').contains('Actions').trigger('mouseover').click();
cy.wait(delay);
cy.get('.euiContextMenuItem__text').contains('Add samples').trigger('mouseover').click();
cy.wait(delay * 3);
cy.get('.euiModalHeader__title[data-test-subj="confirmModalTitleText"]')
.contains('Add samples')
.should('exist');
cy.wait(delay);
cy.get('.euiButton__text').contains('Yes').trigger('mouseover').click();
cy.wait(delay * 5);
cy.route2('POST', '/addSamplePanels').as('removePage');
cy.wait('@removePage').then(() => {
cy.get('.euiTableCellContent').contains(SAMPLE_PANEL).should('exist');
});
cy.wait(delay);
});

it('Validate sample data', () => {
moveToPanelHome();
cy.get('.euiTableCellContent').contains(SAMPLE_PANEL).trigger('mouseover').click();
cy.wait(delay * 3);
cy.get('h1').contains(SAMPLE_PANEL).should('exist');
cy.wait(delay);
SAMPLE_VISUALIZATIONS_NAMES.forEach((vizName) =>
cy.get('h5').contains(vizName).should('exist')
);
cy.wait(delay);
});
describe('Clean up all test data', () => {

it('Delete visualizations from event analytics', () => {
moveToEventsHome();
Expand Down Expand Up @@ -572,3 +542,4 @@ describe('Add samples and clean up all test data', () => {
cy.get('.euiTextAlign').contains('No Operational Panels').should('exist');
});
});

Loading