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

[2.7] Redo pick from main to 2.7 #385

Merged
merged 25 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
86661d5
Revert "Fix redirection to legacy event_analytics URL (#383) (#384)"
joshuali925 Apr 18, 2023
1b6f978
Revert "Cohesion main to 2.7 (#382)"
joshuali925 Apr 18, 2023
d11d1ee
[Feature] Saved object refactoring for panels (#355)
mengweieric Apr 14, 2023
e2f40f3
Left-Nav app registrations for Observability - WIP (#350)
pjfitzgibbons Apr 14, 2023
06c8176
[Panel] Fix panel resizing and date picker bugs (#364)
mengweieric Apr 17, 2023
301700b
Reorganize 3_panels.spec.ts E2E (#362)
pjfitzgibbons Apr 17, 2023
25a7144
fix traces side nav (#360)
ps48 Apr 17, 2023
3136d74
[Fix] Panels/Dashboard Duplicate Action fails when source is saved-ob…
pjfitzgibbons Apr 17, 2023
08c4be9
bulk update separation (#356)
derek-ho Apr 17, 2023
b554c71
Fix side nav minor bugs (#365)
ps48 Apr 17, 2023
85d5470
fix replace in new so panel (#367)
derek-ho Apr 17, 2023
a428a23
Minor left nav fixes (#368)
rupal-bq Apr 17, 2023
0d0a253
Recover Panel View Legacy - Duplicate Action (#366)
pjfitzgibbons Apr 17, 2023
89a4e35
fix deleted import (#370)
derek-ho Apr 17, 2023
d26262a
Fix crash at loading app analytics tabs (#369)
joshuali925 Apr 17, 2023
d3f610f
fix history issue (#371)
mengweieric Apr 17, 2023
42e6013
fix re-direct links for visualizaitons in notebooks, metrics (#372)
ps48 Apr 17, 2023
f421b9c
Support new notebooks URL for reporting (#373)
joshuali925 Apr 17, 2023
b534cc4
fix legacy route for traces (#374)
ps48 Apr 17, 2023
5743442
Recover Panel View Legacy - Duplicate Action (#376)
pjfitzgibbons Apr 17, 2023
1362a1a
Organize imports on custom panels home file (#377)
joshuali925 Apr 17, 2023
6bbbd3c
fix doc viewer flyout styling in explorer (#378)
ps48 Apr 18, 2023
7fa9a09
Rename Panels => Observability Dashboard (#380)
pjfitzgibbons Apr 18, 2023
64a10db
Update jest tests and snapshots for panels with redux (#381)
joshuali925 Apr 18, 2023
7962c55
Fix redirection to legacy event_analytics URL (#383)
joshuali925 Apr 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .cypress/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This should match the owning team set up in https://github.com/orgs/opensearch-project/teams
* @opensearch-project/observability
2 changes: 0 additions & 2 deletions CODEOWNERS

This file was deleted.

11 changes: 1 addition & 10 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,4 @@
| 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 |
| Simeon Widdis | [swiddis] (https://github.com/swiddis) | Amazon |

## Emeritus Maintainers

| Maintainer | GitHub ID | Affiliation |
| ----------------- | ------------------------------------------------------- | ----------- |
| Charlotte Henkle | [CEHENKLE](https://github.com/CEHENKLE) | Amazon |
| Anirudha Jadhav | [anirudha](https://github.com/anirudha) | Amazon |
| Nick Knize | [nknize](https://github.com/nknize) | Amazon |
| Peter Fitzgibbons | [pjfitzgibbons](https://github.com/pjfitzgibbons) | Amazon |
24 changes: 24 additions & 0 deletions common/constants/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,30 @@ export const observabilityID = 'observability-logs';
export const observabilityTitle = 'Observability';
export const observabilityPluginOrder = 6000;

export const observabilityApplicationsID = 'observability-applications';
export const observabilityApplicationsTitle = 'Applications';
export const observabilityApplicationsPluginOrder = 5090;

export const observabilityLogsID = 'observability-logs';
export const observabilityLogsTitle = 'Logs';
export const observabilityLogsPluginOrder = 5091;

export const observabilityMetricsID = 'observability-metrics';
export const observabilityMetricsTitle = 'Metrics';
export const observabilityMetricsPluginOrder = 5092;

export const observabilityTracesID = 'observability-traces';
export const observabilityTracesTitle = 'Traces';
export const observabilityTracesPluginOrder = 5093;

export const observabilityNotebookID = 'observability-notebooks';
export const observabilityNotebookTitle = 'Notebooks';
export const observabilityNotebookPluginOrder = 5094;

export const observabilityPanelsID = 'observability-dashboards';
export const observabilityPanelsTitle = 'Dashboards';
export const observabilityPanelsPluginOrder = 5095;

// Shared Constants
export const SQL_DOCUMENTATION_URL = 'https://opensearch.org/docs/latest/search-plugins/sql/index/';
export const PPL_DOCUMENTATION_URL =
Expand Down
19 changes: 4 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,11 @@
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../scripts/osd",
"build": "yarn plugin-helpers build",
"build": "yarn plugin_helpers build",
"test": "../../node_modules/.bin/jest --config ./test/jest.config.js",
"cypress:run": "TZ=America/Los_Angeles cypress run",
"cypress:open": "TZ=America/Los_Angeles cypress open",
"plugin-helpers": "node ../../scripts/plugin_helpers",
"prepare": "husky install",
"lint:es": "node ../../scripts/eslint",
"lint": "yarn lint:es"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"yarn lint --fix",
"git add"
]
"plugin_helpers": "node ../../scripts/plugin_helpers"
},
"dependencies": {
"@algolia/autocomplete-core": "^1.4.1",
Expand All @@ -30,13 +21,13 @@
"ag-grid-react": "^27.3.0",
"antlr4": "4.8.0",
"antlr4ts": "^0.5.0-alpha.4",
"performance-now": "^2.1.0",
"plotly.js-dist": "^2.2.0",
"postinstall": "^0.7.4",
"react-graph-vis": "^1.0.5",
"react-paginate": "^8.1.3",
"react-plotly.js": "^2.5.1",
"redux-persist": "^6.0.0",
"performance-now": "^2.1.0"
"redux-persist": "^6.0.0"
},
"devDependencies": {
"@cypress/skip-test": "^2.6.1",
Expand All @@ -47,9 +38,7 @@
"cypress": "^6.0.0",
"cypress-watch-and-reload": "^1.10.6",
"eslint": "^6.8.0",
"husky": "6.0.0",
"jest-dom": "^4.0.0",
"lint-staged": "^13.1.0",
"ts-jest": "^29.1.0"
},
"resolutions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ import {
handleServiceMapRequest,
handleServiceViewRequest,
} from '../../../../../public/components/trace_analytics/requests/services_request_handler';
import {
filtersToDsl,
processTimeStamp,
} from '../../../../../public/components/trace_analytics/components/common/helper_functions';
import { filtersToDsl, processTimeStamp } from '../../../../../public/components/trace_analytics/components/common/helper_functions';
import { ServiceMap } from '../../../../../public/components/trace_analytics/components/services';
import { ServiceObject } from '../../../../../public/components/trace_analytics/components/common/plots/service_map';
import { SpanDetailTable } from '../../../../../public/components/trace_analytics/components/traces/span_detail_table';
Expand Down Expand Up @@ -67,7 +64,7 @@ export function ServiceDetailFlyout(props: ServiceFlyoutProps) {
),
getListItem(
'Connected services',
fields.connected_services && fields.connected_services.length
fields.connected_services
? fields.connected_services.reduce((prev: string, curr: string) => {
return [prev, ', ', curr];
})
Expand Down Expand Up @@ -121,15 +118,7 @@ export function ServiceDetailFlyout(props: ServiceFlyoutProps) {
}, [serviceName, fields, serviceMap, DSL, serviceMapIdSelected]);

useEffect(() => {
const serviceDSL = filtersToDsl(
mode,
filters,
query,
processTimeStamp(startTime, mode),
processTimeStamp(endTime, mode),
'app',
appConfigs
);
const serviceDSL = filtersToDsl(mode, filters, query, processTimeStamp(startTime, mode), processTimeStamp(endTime, mode), 'app', appConfigs);
handleServiceViewRequest(serviceName, http, serviceDSL, setFields, mode);
handleServiceMapRequest(http, serviceDSL, mode, setServiceMap, serviceName);
const spanDSL = filtersToDsl(mode, filters, query, startTime, endTime, 'app', appConfigs);
Expand Down
Loading