-
Notifications
You must be signed in to change notification settings - Fork 54
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
trace analytics collapse dashboard queries, align naming to industry conventions #514
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
873a296
trace analytics v2 first remove expensive dashboard page
derek-ho 639c811
get trace groups request working and mapping correctly
derek-ho 2569f12
get trace group filter fully working
derek-ho 372aa6d
try some service map adjustments
derek-ho 4f46095
change to up down to fully show labels
derek-ho d882225
put dashboard in accordian at bottom of services and only make calls …
derek-ho 422f27e
some changes to support dashboard content in accordian
derek-ho 4d61988
demo code
derek-ho 1042b17
fix tests
derek-ho 92a173f
Merge branch 'main' of github.com:opensearch-project/dashboards-obser…
derek-ho ebd7381
remove dashboard from app analytics
derek-ho 1b9256b
Merge branch 'main' of github.com:opensearch-project/dashboards-obser…
derek-ho 74fd3f7
fix up with tests
derek-ho dcdcb95
fix test
derek-ho 1a62964
revert only and extract to constant
derek-ho 3f9401e
add auth const
derek-ho a350791
address self-PR review
derek-ho 7b5f791
remove unecessary code
derek-ho 829e2ac
change timeout to 25 seconds
derek-ho ec4704b
change to row in accordian
derek-ho 5b4d812
Merge branch 'main' of github.com:opensearch-project/dashboards-obser…
derek-ho 45b6163
update labels and tests
derek-ho 194e46e
update cypress test
derek-ho 0294777
verify cypress tests work with changes
derek-ho 542b944
remove accidental only
derek-ho e9941e0
address PR review comments
derek-ho d4341d5
Merge branch 'main' of github.com:opensearch-project/dashboards-obser…
derek-ho 3b3feea
make missing configuration more clear
derek-ho d5233aa
update snapshots
derek-ho dd255a0
update snapshot
derek-ho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -253,19 +253,19 @@ describe('Viewing application', () => { | |
}); | ||
|
||
it('Shows latency variance in dashboards table', () => { | ||
changeTimeTo24('months'); | ||
changeTimeTo24('years'); | ||
cy.get('[data-test-subj="trace-groups-service-operation-accordian"]').click(); | ||
cy.get('[data-test-subj="dashboardTable"]').first().within(($table) => { | ||
cy.get('.plot-container').should('have.length.at.least', 1); | ||
}) | ||
}); | ||
|
||
it('Adds filter when Trace group name is clicked', () => { | ||
cy.wait(delay);//List not loading without | ||
cy.get('[data-test-subj="app-analytics-overviewTab"]').click(); | ||
cy.get('[data-test-subj="trace-groups-service-operation-accordian"]').click(); | ||
cy.get('[data-test-subj="dashboard-table-trace-group-name-button"]').contains('client_create_order').click(); | ||
cy.get('.euiTableRow').should('have.length', 1, { timeout: timeoutDelay }); | ||
cy.get('[data-test-subj="client_create_orderFilterBadge"]').should('exist'); | ||
cy.get('[data-test-subj="filterBadge"]').click(); | ||
cy.get('[data-test-subj="filterBadge"]').eq(1).click(); | ||
cy.get('[data-test-subj="deleteFilterIcon"]').click(); | ||
cy.get('[data-test-subj="client_create_orderFilterBadge"]').should('not.exist'); | ||
}); | ||
|
@@ -276,7 +276,7 @@ describe('Viewing application', () => { | |
cy.get('[data-test-subj="serviceDetailFlyoutTitle"]').should('be.visible'); | ||
cy.get('[data-test-subj="serviceDetailFlyout"]').within(($flyout) => { | ||
cy.get('[data-test-subj="Number of connected servicesDescriptionList"]').should('contain', '3'); | ||
cy.get('[data-text="Error rate"]').click(); | ||
cy.get('[data-text="Errors"]').click(); | ||
cy.get('.ytitle').contains('Error rate').should('exist'); | ||
}); | ||
cy.get('[data-test-subj="dataGridRowCell"] button').contains('718dc32a693c8a17').click(); | ||
|
@@ -307,6 +307,7 @@ describe('Viewing application', () => { | |
it('Opens span detail flyout when Span ID is clicked', () => { | ||
cy.get('[data-test-subj="app-analytics-traceTab"]').click(); | ||
cy.wait(delay); | ||
cy.get('input[type="search"]').focus().type(`5ff3516909562c60`); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Search for specific traceId to prevent flakiness on it not showing up on first page |
||
cy.get('[data-test-subj="dataGridRowCell"]').contains('5ff3516909562c60').click(); | ||
cy.get('[data-test-subj="spanDetailFlyout"]').should('be.visible'); | ||
cy.get('[data-test-subj="spanDetailFlyout"]').within(($flyout) => { | ||
|
@@ -543,6 +544,7 @@ describe('Editing application', () => { | |
}); | ||
}); | ||
|
||
|
||
describe('Application Analytics home page', () => { | ||
beforeEach(() => { | ||
moveToHomePage(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refer to specific span id to prevent flakiness in case it doesn't show up 5th