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

[FEAT] Enable limited trace analytics feature on raw jaeger indices #1336

Closed
wants to merge 54 commits into from
Closed

[FEAT] Enable limited trace analytics feature on raw jaeger indices #1336

wants to merge 54 commits into from

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Dec 7, 2022

Description

Issues Resolved

opensearch-project/dashboards-observability#83

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: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
…ges to work with this framework

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Dec 16, 2022

Codecov Report

Merging #1336 (398f6f5) into 2.x (042846e) will increase coverage by 28.21%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##                2.x    #1336       +/-   ##
=============================================
+ Coverage     41.89%   70.10%   +28.21%     
  Complexity      315      315               
=============================================
  Files           302       46      -256     
  Lines         17849     2482    -15367     
  Branches       4332      253     -4079     
=============================================
- Hits           7477     1740     -5737     
+ Misses        10199      600     -9599     
+ Partials        173      142       -31     
Flag Coverage Δ
dashboards-observability ?
opensearch-observability 70.10% <ø> (ø)

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

Impacted Files Coverage Δ
...-observability/common/constants/trace_analytics.ts
...cs/components/config_components/service_config.tsx
...tics/components/config_components/trace_config.tsx
...mponents/flyout_components/trace_detail_render.tsx
.../explorer/events_views/trace_block/trace_block.tsx
...ytics/components/common/filters/filter_helpers.tsx
...ce_analytics/components/common/filters/filters.tsx
...e_analytics/components/common/helper_functions.tsx
...alytics/components/common/plots/error_rate_plt.tsx
...alytics/components/common/plots/throughput_plt.tsx
... and 246 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

<ErrorRatePlt
items={errorRatePltItems}
setStartTime={setStartTime}
setEndTime={setEndTime}
Copy link
Member

Choose a reason for hiding this comment

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

missing the new attributes? or some are not required?

// } else {
// setMode('none');
// }
// }, [jaegerIndicesExist, dataPrepperIndicesExist]);
Copy link
Member

Choose a reason for hiding this comment

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

remove if not needed

import React, { useEffect, useState } from "react";
import { TraceAnalyticsMode } from "../../home";

export type mode = {
Copy link
Member

Choose a reason for hiding this comment

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

where is this used?

setMode(choice.key);
setSelected(choice.key);
setPopoverIsOpen(false);
sessionStorage.setItem('TraceAnalyticsMode', choice.key);
Copy link
Member

Choose a reason for hiding this comment

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

should mode be persisted over different sessions? or it's common for users to use both data prepper and jaeger indices

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
@derek-ho derek-ho closed this by deleting the head repository Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants