-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor constants and remove unused trace analytics components
Signed-off-by: Joshua Li <[email protected]>
- Loading branch information
1 parent
d060a6a
commit 74ba9ad
Showing
17 changed files
with
62 additions
and
350 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* 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 DATA_PREPPER_INDEX_NAME = 'otel-v1-apm-span-*'; | ||
export const DATA_PREPPER_SERVICE_INDEX_NAME = 'otel-v1-apm-service-map*'; | ||
export const TRACE_ANALYTICS_DATE_FORMAT = 'MM/DD/YYYY HH:mm:ss'; | ||
export const TRACE_ANALYTICS_PLOTS_DATE_FORMAT = 'MMM D, YYYY HH:mm:ss'; | ||
export const SERVICE_MAP_MAX_NODES = 500; | ||
// size limit when requesting edge related queries, not necessarily the number of edges | ||
export const SERVICE_MAP_MAX_EDGES = 1000; | ||
export const TRACES_MAX_NUM = 3000; | ||
export const TRACE_ANALYTICS_DOCUMENTATION_LINK = 'https://docs-beta.opensearch.org/monitoring-plugins/trace/'; | ||
|
||
export const TRACE_ANALYTICS_INDICES_ROUTE = '/api/observability/trace_analytics/indices'; | ||
export const TRACE_ANALYTICS_DSL_ROUTE = '/api/observability/trace_analytics/query'; |
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
public/components/trace_analytics/components/common/__tests__/side_nav.test.tsx
This file was deleted.
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
42 changes: 0 additions & 42 deletions
42
public/components/trace_analytics/components/common/index.ts
This file was deleted.
Oops, something went wrong.
71 changes: 0 additions & 71 deletions
71
public/components/trace_analytics/components/common/side_nav.tsx
This file was deleted.
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
Oops, something went wrong.