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

Modularize event Analytics live tail and fix bug #647

Merged
merged 7 commits into from
Apr 18, 2022

Conversation

kavithacm
Copy link
Collaborator

@kavithacm kavithacm commented Apr 12, 2022

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

Description

  1. Modularizing Live Tail so that it can be used by any plugin under Observability
  2. Fixed bug- Live tail runs in background if the page is moved using breadcrumbs.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
@kavithacm kavithacm changed the title module event Analytics live tail Modularize event Analytics live tail and fix bug Apr 12, 2022
@kavithacm kavithacm marked this pull request as ready for review April 12, 2022 18:47
@kavithacm kavithacm requested a review from a team as a code owner April 12, 2022 18:47
davidcui1225
davidcui1225 previously approved these changes Apr 13, 2022
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
joshuali925
joshuali925 previously approved these changes Apr 13, 2022
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #647 (9a8b039) into main (715c22f) will increase coverage by 17.13%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #647       +/-   ##
=============================================
+ Coverage     59.46%   76.60%   +17.13%     
  Complexity      283      283               
=============================================
  Files           236       38      -198     
  Lines          7735     2154     -5581     
  Branches       1552      228     -1324     
=============================================
- Hits           4600     1650     -2950     
+ Misses         2963      363     -2600     
+ Partials        172      141       -31     
Flag Coverage Δ
dashboards-observability ?
opensearch-observability 76.60% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ashboards-observability/common/constants/shared.ts
...ability/public/components/common/search/search.tsx
...omponents/common/helpers/ppl_docs/commands/sort.ts
...ce_analytics/requests/dashboard_request_handler.ts
...rds-observability/common/utils/settings_service.ts
.../notebooks/components/helpers/modal_containers.tsx
...trace_analytics/components/common/color_palette.ts
...fig_panes/config_controls/config_panel_options.tsx
...components/visualizations/charts/bubble/bubble.tsx
.../components/visualizations/charts/maps/heatmap.tsx
... and 188 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 715c22f...9a8b039. Read the comment docs.

Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
import { LiveTailButton, StopLiveButton } from '../live_tail_button';
import { waitFor } from '@testing-library/dom';

describe('Live tail button', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the describe should not be indented, can we reduce the indent here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah okay, one more PR is yet to come, will include the change in that

Copy link
Contributor

@davidcui1225 davidcui1225 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM- left 1 minor comment

@kavithacm kavithacm merged commit 4600acc into opensearch-project:main Apr 18, 2022
eugenesk24 pushed a commit to eugenesk24/trace-analytics that referenced this pull request Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants