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

[MDS] TSVB Support #6298

Merged
merged 28 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b9434b1
Add MDS support to TSVB
huyaboo Mar 26, 2024
6a00949
Refactor datasource picker component
huyaboo Mar 26, 2024
910e93a
Allow picker to persist state
huyaboo Mar 27, 2024
9b9c681
Refactored picker component params
huyaboo Mar 27, 2024
7be618d
Add unit tests
huyaboo Mar 27, 2024
7b7da2f
Merge branch 'main' into tsvb
huyaboo Mar 29, 2024
cae4f7f
Add to CHANGELOG
huyaboo Mar 29, 2024
8d7522c
Merge branch 'main' into tsvb
huyaboo Apr 2, 2024
e2a738b
Refactor components to use hideLocalCluster
huyaboo Apr 2, 2024
62eedbe
Merge branch 'main' into tsvb
huyaboo Apr 2, 2024
44a06ee
Merge branch 'main' into tsvb
huyaboo Apr 4, 2024
9d4abc4
Merge branch 'main' into tsvb
huyaboo Apr 10, 2024
26cd786
Remove Picker wrapper
huyaboo Apr 4, 2024
c880943
Update selector component and rename field to index name
huyaboo Apr 10, 2024
080eb4c
Address comments
huyaboo Apr 10, 2024
aadcd35
Merge branch 'main' into tsvb
huyaboo Apr 11, 2024
64c45e8
Refactor to use different decideClient
huyaboo Apr 11, 2024
817e342
Add optional arg
huyaboo Apr 11, 2024
d4617d3
Merge branch 'main' into tsvb
huyaboo Apr 11, 2024
710eaf7
Merge branch 'main' into tsvb
huyaboo Apr 12, 2024
a0635bf
Merge branch 'main' into tsvb
huyaboo Apr 12, 2024
106a09e
Merge branch 'main' into tsvb
huyaboo Apr 15, 2024
f4f237f
Merge branch 'main' into tsvb
huyaboo Apr 15, 2024
2a611a1
Merge branch 'main' into tsvb
huyaboo Apr 16, 2024
1436a53
Remove hidelocalcluster as a setting
huyaboo Apr 16, 2024
a6300f4
Merge branch 'main' into tsvb
huyaboo Apr 16, 2024
76ed1a4
Fixed case where local cluster is disabled but the datasource id coul…
huyaboo Apr 16, 2024
fe2b794
Add test for create data source picker handler
huyaboo Apr 16, 2024
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- [Multiple Datasource] Make sure customer always have a default datasource ([#6237](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6237))
- [Workspace] Add workspace list page ([#6182](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6182))
- [Multiple Datasource] Add multi data source support to sample vega visualizations ([#6218](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6218))
- [Mulitple Datasource] Add multi data source support to TSVB ([#6298](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6298))

### 🐛 Bug Fixes

Expand Down
1 change: 1 addition & 0 deletions src/plugins/vis_type_timeseries/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@

export const MAX_BUCKETS_SETTING = 'metrics:max_buckets';
export const INDEXES_SEPARATOR = ',';
export const DATA_SOURCE_ID_KEY = 'data_source_id';
1 change: 1 addition & 0 deletions src/plugins/vis_type_timeseries/common/vis_schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export const panel = schema.object({
ignore_global_filters: numberOptional,
ignore_global_filter: numberOptional,
index_pattern: stringRequired,
data_source_id: stringOptionalNullable,
interval: stringRequired,
isModelInvalid: schema.maybe(schema.boolean()),
legend_position: stringOptionalNullable,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"server": true,
"ui": true,
"requiredPlugins": ["charts", "data", "expressions", "visualizations"],
"optionalPlugins": ["usageCollection"],
"optionalPlugins": ["usageCollection", "dataSourceManagement", "dataSource"],
"requiredBundles": ["opensearchDashboardsUtils", "opensearchDashboardsReact"]
}
Loading
Loading