-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge feature/observability into main branch (#135)
- Loading branch information
Showing
371 changed files
with
30,970 additions
and
1,868 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# Trace Analytics Maintainers | ||
# Observability Maintainers | ||
|
||
## Maintainers | ||
| Maintainer | GitHub ID | Affiliation | | ||
|------------------------|---------------------------------------------------|-------------| | ||
| David Cui | [davidcui1225](https://github.com/davidcui1225) | Amazon | | ||
| Joshua Li | [joshuali925](https://github.com/joshuali925) | Amazon | | ||
| Maintainer | GitHub ID | Affiliation | | ||
|---------------|-------------------------------------------------|-------------| | ||
| David Cui | [davidcui1225](https://github.com/davidcui1225) | Amazon | | ||
| Eric Wei | [mengweieric](https://github.com/mengweieric) | Amazon | | ||
| Joshua Li | [joshuali925](https://github.com/joshuali925) | Amazon | | ||
| Sean Li | [sejli](https://github.com/sejli) | Amazon | | ||
| Shenoy Pratik | [ps48](https://github.com/ps48) | Amazon | |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
* | ||
* Modifications Copyright OpenSearch Contributors. See | ||
* GitHub history for details. | ||
*/ | ||
|
||
export const CUSTOM_PANELS_API_PREFIX = '/api/observability/operational_panels'; | ||
export const CUSTOM_PANELS_DOCUMENTATION_URL = 'https://www.opensearch.org'; | ||
export const CREATE_PANEL_MESSAGE = 'Enter a name to describe the purpose of this custom panel.'; | ||
export const RENAME_VISUALIZATION_MESSAGE = | ||
'Enter a name to describe the purpose of this visualization.'; | ||
|
||
export type VisualizationType = { | ||
id: string; | ||
title: string; | ||
x: number; | ||
y: number; | ||
w: number; | ||
h: number; | ||
query: string; | ||
type: string; | ||
}; | ||
|
||
export type PanelType = { | ||
name: string; | ||
dateCreated: string; | ||
dateModified: string; | ||
visualizations: VisualizationType[]; | ||
timeRange: { to: string; from: string }; | ||
queryFilter: { query: string; language: string }; | ||
refreshConfig: { pause: string; value: string }; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
* | ||
* Modifications Copyright OpenSearch Contributors. See | ||
* GitHub history for details. | ||
*/ | ||
|
||
export const RAW_QUERY = 'rawQuery'; | ||
export const FINAL_QUERY = 'finalQuery'; | ||
export const SELECTED_DATE_RANGE = 'selectedDateRange'; | ||
export const INDEX = 'indexPattern'; | ||
export const SELECTED_FIELDS = 'selectedFields'; | ||
export const UNSELECTED_FIELDS = 'unselectedFields'; | ||
export const AVAILABLE_FIELDS = 'availableFields'; | ||
export const QUERIED_FIELDS = 'queriedFields'; | ||
export const TAB_ID_TXT_PFX = 'query-panel-'; | ||
export const TAB_TITLE = 'New query'; | ||
export const TAB_CHART_TITLE = 'Visualizations'; | ||
export const TAB_EVENT_TITLE = 'Events'; | ||
export const TAB_EVENT_ID_TXT_PFX = 'main-content-events-'; | ||
export const TAB_CHART_ID_TXT_PFX = 'main-content-vis-'; | ||
|
||
export const DATE_PICKER_FORMAT = 'YYYY-MM-DD HH:mm:ss'; | ||
export const TIME_INTERVAL_OPTIONS = [ | ||
{ | ||
display: 'Auto', | ||
val: 'h' // same as value of Hour for now | ||
}, | ||
{ | ||
display: 'Minute', | ||
val: 'm' | ||
}, | ||
{ | ||
display: 'Hour', | ||
val: 'h' | ||
}, | ||
{ | ||
display: 'Day', | ||
val: 'd' | ||
}, | ||
{ | ||
display: 'Week', | ||
val: 'w' | ||
}, | ||
{ | ||
display: 'Month', | ||
val: 'M' | ||
}, | ||
{ | ||
display: 'Year', | ||
val: 'y' | ||
}, | ||
] | ||
|
||
// redux | ||
export const SELECTED_QUERY_TAB = 'selectedQueryTab'; | ||
export const QUERY_TAB_IDS = 'queryTabIds'; | ||
export const NEW_SELECTED_QUERY_TAB = 'newSelectedQueryTab'; | ||
export const REDUX_EXPL_SLICE_QUERIES = 'queries'; | ||
export const REDUX_EXPL_SLICE_QUERY_RESULT = 'queryResults'; | ||
export const REDUX_EXPL_SLICE_FIELDS = 'fields'; | ||
export const REDUX_EXPL_SLICE_QUERY_TABS = 'queryTabs'; | ||
export const REDUX_EXPL_SLICE_VISUALIZATION = 'explorerVisualization'; | ||
export const REDUX_EXPL_SLICE_COUNT_DISTRIBUTION = 'countDistributionVisualization' | ||
|
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
* | ||
* Modifications Copyright OpenSearch Contributors. See | ||
* GitHub history for details. | ||
*/ | ||
|
||
export const NOTEBOOKS_API_PREFIX = '/api/observability/notebooks'; | ||
export const NOTEBOOKS_SELECTED_BACKEND = 'DEFAULT'; // ZEPPELIN || DEFAULT | ||
export const NOTEBOOKS_FETCH_SIZE = 1000; | ||
export const CREATE_NOTE_MESSAGE = 'Enter a name to describe the purpose of this notebook.'; | ||
export const NOTEBOOKS_DOCUMENTATION_URL = 'https://opensearch.org/docs/dashboards/notebooks/'; | ||
|
||
export const zeppelinURL = 'http://localhost:8080'; | ||
|
||
export const wreckOptions = { | ||
baseUrl: zeppelinURL, | ||
headers: { 'Content-Type': 'application/json' }, | ||
}; | ||
|
||
const BASE_NOTEBOOKS_URI = '/_plugins/_notebooks'; | ||
export const OPENSEARCH_NOTEBOOKS_API = { | ||
GET_NOTEBOOKS: `${BASE_NOTEBOOKS_URI}/notebooks`, | ||
NOTEBOOK: `${BASE_NOTEBOOKS_URI}/notebook`, | ||
}; |
Oops, something went wrong.