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

Feature/metrics editor and promql #1286

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
28e6342
Fix change availability bug (#667) (#671)
opensearch-trigger-bot[bot] Apr 19, 2022
e4bbb74
Add data test subj to app analytics (#704) (#718)
eugenesk24 May 4, 2022
2af31ca
Remove rc1 reference (#730) (#737)
opensearch-trigger-bot[bot] May 13, 2022
ce6b598
[Backport] app-analytics features and bug fixes for 2.0 release (#740)
mengweieric May 17, 2022
d2c8f8a
Incremented version to 2.0.1 (#785)
zelinh Jun 9, 2022
e87f2a2
Backport from main to 2.1 (#822)
kavithacm Jun 27, 2022
9698c79
Bump to 2.2.0 (#918)
vamsimanohar Aug 6, 2022
2576420
Increment version to 2.3.0-SNAPSHOT (#979)
opensearch-trigger-bot[bot] Sep 7, 2022
0b412e0
bump version to 2.4.0 (#1071)
ps48 Oct 4, 2022
8a652dd
[2.x] Add log pattern table (#1187) (#1212)
joshuali925 Nov 1, 2022
fd08c52
[BACKPORT] Backport 2.4 commits to 2.x (#1277)
mengweieric Nov 18, 2022
8b2c10a
Implementing search feature (#1286)
sejli Nov 23, 2022
503a378
fix bug with overriding patterns (#1298)
derek-ho Nov 28, 2022
5195587
Add metrics framework for frontend and backend (#1306)
joshuali925 Dec 2, 2022
fb5c8e1
[BACKPORT 2.x] QS to 6.5.3 (#1335)
derek-ho Dec 6, 2022
65b1b95
Hot fixes and cypress test changes (#1327)
mengweieric Dec 7, 2022
43297ae
Add more metrics to frontend (#1326)
joshuali925 Dec 8, 2022
1c698f8
Increment version to 2.5.0-SNAPSHOT (#1205)
opensearch-trigger-bot[bot] Dec 13, 2022
0518763
Merge pull request #4 from derek-ho/main (#7)
derek-ho Jan 4, 2023
2ced2ff
Fix event analytics field blank margin (#174) (#176)
opensearch-trigger-bot[bot] Jan 6, 2023
50eee99
Update 2.x to be the same as observability repo (#158)
derek-ho Jan 6, 2023
8bb5e30
Fixed PPL Error in containers & added tool tip to date picker (#179)
ps48 Jan 7, 2023
2122b4b
Add release notes for 2.5 (#190)
kavithacm Jan 11, 2023
b8238ea
correct ppl leran more link (#154) (#189)
opensearch-trigger-bot[bot] Jan 11, 2023
4bbebfe
Few fixes regarding issues for visualization rendering (#185) (#187)
opensearch-trigger-bot[bot] Jan 11, 2023
90b4d12
Support Jaeger data in trace-analytics (#150) (#214)
opensearch-trigger-bot[bot] Jan 24, 2023
093f2f2
Fix typo in fetch_visualization metrics name (#192) (#193)
opensearch-trigger-bot[bot] Jan 24, 2023
214444f
Temporarily hide reporting context menu in notebooks (#202) (#203)
opensearch-trigger-bot[bot] Jan 24, 2023
b342466
manual backporting (#223)
mengweieric Jan 25, 2023
4326613
2.6 version bump (#231)
mengweieric Jan 27, 2023
39157b1
fix a few bugs with respect to refreshes and mode set via session sto…
opensearch-trigger-bot[bot] Feb 6, 2023
7205a79
Update error handling in viz container (#247) (#252)
opensearch-trigger-bot[bot] Feb 7, 2023
a008f71
Panels filter check for where clause (#251) (#253)
opensearch-trigger-bot[bot] Feb 7, 2023
c3c1c50
Add new page/route for notebooks create and rename (#152) (#250)
opensearch-trigger-bot[bot] Feb 7, 2023
1dd19b5
[BACKPORT] Backport/backport 220 to 2.x (#260)
mengweieric Feb 8, 2023
fa29092
Fix explorer dark mode issue and restructure scss (#157) (#262)
mengweieric Feb 8, 2023
9df7188
fix for debug cve issue (#221) (#263)
mengweieric Feb 8, 2023
2c75e64
upgrade cypress to 6 (#233) (#249)
opensearch-trigger-bot[bot] Feb 8, 2023
b0037cd
quick fix for traces and services indiviudal page (#270) (#271)
opensearch-trigger-bot[bot] Feb 14, 2023
ce4e742
Operational panels cypress fix (#244) (#274)
opensearch-trigger-bot[bot] Feb 16, 2023
bfa3692
Backport 248 to 2.x (#291)
mengweieric Feb 21, 2023
c577559
fix merge conflicts (#280)
derek-ho Feb 21, 2023
ad58f26
remove timeseries data validation to get back line chart support (#25…
opensearch-trigger-bot[bot] Feb 21, 2023
9b2dfc4
add one missing change that supposed to be in backport PR (#294)
mengweieric Feb 21, 2023
a821cef
fix bug for failed notebook create (#282) (#293)
opensearch-trigger-bot[bot] Feb 21, 2023
87640b7
Fix Node.js and Yarn installation in CI (#295) (#297)
opensearch-trigger-bot[bot] Feb 22, 2023
cdb18d1
move performance now to run time dep (#309) (#310)
derek-ho Feb 23, 2023
b5e93c5
[Refactoring] Redux and log pattern related refactoring (#277) (#315)
opensearch-trigger-bot[bot] Mar 8, 2023
19b1323
Fix show legend in bar charts (#175) (#327)
opensearch-trigger-bot[bot] Mar 15, 2023
8ad82c9
Panels create page (#281) (#316)
opensearch-trigger-bot[bot] Mar 16, 2023
bc71ed3
[Refactoring] Explorer sidebar refactoring (#326) (#328)
opensearch-trigger-bot[bot] Mar 16, 2023
14bde96
[Backport 2.x][Refactoring] Use JDBC response format for visualizatio…
mengweieric Mar 17, 2023
d3ce5ce
bump version to 2.7 (#296)
derek-ho Mar 31, 2023
57d9556
update notebooks snapshots (#344)
ps48 Apr 4, 2023
c9ebdde
bug fix for empty connected services array (#339) (#342)
opensearch-trigger-bot[bot] Apr 5, 2023
4ddf822
Fix for hover issue on docs of discover/explorer data grid (#329) (#357)
joshuali925 Apr 17, 2023
6047bff
[2.x] Refactor Saved objects and add visualization embeddable (#341) …
joshuali925 Apr 17, 2023
5b7612b
Update traces integration tests (#391) (#396)
opensearch-trigger-bot[bot] Apr 19, 2023
6d34eb0
Metrics analytics support for SOpanels (#386) (#387)
opensearch-trigger-bot[bot] Apr 20, 2023
4f7b479
Release Notes 2.7.0.0 (#394) (#410)
opensearch-trigger-bot[bot] Apr 21, 2023
776d1ed
Updating 2.x from 2.7 changes (#482)
ps48 May 24, 2023
c7e59a0
bump version to 2.8 (#480)
ps48 May 26, 2023
0ac794d
remove styling causing issue for banner in adv settings (#488) (#501)
opensearch-trigger-bot[bot] May 30, 2023
da169ae
Add reporting on-demand menu items back in notebooks (#229) (#499)
ps48 May 30, 2023
eaa3c15
updating trace DSL request handler (#494) (#495)
opensearch-trigger-bot[bot] May 30, 2023
62ea862
Add Metrics cypress and bug fixes (#491) (#504)
opensearch-trigger-bot[bot] May 30, 2023
a137a19
2.8 release notes (#506) (#507)
opensearch-trigger-bot[bot] May 30, 2023
98c6f1b
Merge pull request #513 from TackAdam/pplFix
TackAdam Jun 6, 2023
73b0cd8
Merge pull request #516 from opensearch-project/backport/backport-513…
TackAdam Jun 8, 2023
69de6d9
correct name (#515) (#523)
opensearch-trigger-bot[bot] Jun 9, 2023
8395cf3
Increment version to 2.8.0.0 (#511)
opensearch-trigger-bot[bot] Jun 9, 2023
b9bf6c5
Merge pull request #518 from TackAdam/bFix
TackAdam Jun 12, 2023
0dd289c
Merge pull request #522 from TackAdam/panelBugFix
TackAdam Jun 12, 2023
f6ab679
Merge pull request #531 from TackAdam/backport/backport-518-to-2.x
TackAdam Jun 14, 2023
449860f
Merge pull request #534 from TackAdam/backport/backport-522-to-2.x
TackAdam Jun 14, 2023
da0d264
Merge pull request #538 from TackAdam/filterFix
TackAdam Jun 27, 2023
78a9483
Merge pull request #584 from TackAdam/backport/backport-538-to-2.x
TackAdam Jun 30, 2023
0c16b65
Increment version to 2.9.0.0 (#576)
opensearch-trigger-bot[bot] Jul 1, 2023
d329eff
[Backport 2.x] Backport/backport 588 to 2.x (#600)
mengweieric Jul 5, 2023
d152aa4
Merge pull request #587 from TackAdam/appBugFix
TackAdam Jun 30, 2023
a862bfc
Merge pull request #614 from TackAdam/backport/backport-587-to-2.x
TackAdam Jul 11, 2023
f6b9180
Merge pull request #607 from TackAdam/PanelAvailBug
TackAdam Jul 11, 2023
da7c767
adding cookie cve fix (#629)
ps48 Jul 11, 2023
bdc4701
Merge pull request #628 from TackAdam/backport/backport-607-to-2.x
TackAdam Jul 11, 2023
55d9954
[BACKPORT] Integrations from main (#638)
Swiddis Jul 11, 2023
b1d38a3
Replace metrics slider with ResizableContainer (#602) (#635)
opensearch-trigger-bot[bot] Jul 12, 2023
82519c8
[Backport 2.x] Feature/prerelease code cleanup (#591)
opensearch-trigger-bot[bot] Jul 12, 2023
0ed7b0f
Remove extraneous husky file (#639)
Swiddis Jul 12, 2023
08baf48
Release Notes 2.9.0 (#648)
opensearch-trigger-bot[bot] Jul 12, 2023
b04f35f
Update Release Notes 2.9 w/ Documentation section (#651)
pjfitzgibbons Jul 13, 2023
6d4e100
Merge pull request #672 from joshuali925/integrations-metrics (#673)
derek-ho Jul 17, 2023
fd00130
Upgrading Cypressto 12.8.1 /remade config file (#468)
TackAdam May 16, 2023
de78ddf
Regenerate the yarn lock
TackAdam Jul 18, 2023
2b22732
Cypress Test fixes for event-analytics (#456)
TackAdam May 15, 2023
fa3d043
Remove comment and adjust specPattern
TackAdam Jul 19, 2023
47fb39c
Merge pull request #708 from TackAdam/backport/backport-468-to-2.x
TackAdam Jul 19, 2023
4d21715
Fixed all of notebook testing and removed unnecessary waits greatly i…
TackAdam May 19, 2023
2081636
Merge pull request #709 from opensearch-project/backport/backport-456…
TackAdam Jul 19, 2023
d904144
Cypress Testing v12.8.1 - Event Analytics fully working (#469)
TackAdam May 17, 2023
2f97234
remade changes to docViewRow and associated snapshots
TackAdam Jul 19, 2023
46bc427
Merge pull request #718 from opensearch-project/backport/backport-475…
TackAdam Jul 19, 2023
07188df
Merge pull request #719 from TackAdam/backport/backport-469-to-2.x
TackAdam Jul 19, 2023
57044f2
Merge pull request #486 from TackAdam/cypTraceFix
TackAdam May 26, 2023
103394c
Merge pull request #582 from TackAdam/cypPanel
TackAdam Jul 5, 2023
24ee138
Cypress testing for panels
TackAdam Jul 19, 2023
3b2d47c
Cypress testing for panels fix with peter
TackAdam Jul 19, 2023
b0ced99
Merge pull request #604 from TackAdam/cypApps
TackAdam Jul 17, 2023
1f0e843
Merge pull request #722 from TackAdam/backport/backport-604-to-2.x
TackAdam Jul 20, 2023
9474c37
Merge pull request #720 from TackAdam/backport/backport-486-to-2.x
TackAdam Jul 20, 2023
18ec9f3
Merge pull request #721 from TackAdam/backport/backport-582-to-2.x
TackAdam Jul 20, 2023
ac2d7f6
Merge pull request #493 from TackAdam/cypServiceFix
TackAdam May 31, 2023
acb8a59
Remove comment
TackAdam Jul 20, 2023
fe3df80
Merge pull request #728 from TackAdam/backport/backport-493-to-2.x
TackAdam Jul 20, 2023
ebf2c6a
Merge pull request #679 from TackAdam/cypVis (#729)
TackAdam Jul 20, 2023
e347c15
[Backport 2.x] Search bar fixes (#732)
opensearch-trigger-bot[bot] Jul 21, 2023
805f464
fix name change bug and modify test to test behavior (#724) (#725)
opensearch-trigger-bot[bot] Jul 21, 2023
cad8d89
[Backport 2.x] Add AWS VPC Flow Log integration (#735)
opensearch-trigger-bot[bot] Jul 24, 2023
725879a
Update vpc readme & references (#740) (#746)
opensearch-trigger-bot[bot] Jul 25, 2023
bb58331
Increment version to 2.10.0.0 (#751)
opensearch-trigger-bot[bot] Jul 26, 2023
8c98142
[BACKPORT] Link fix 2.x (#764)
Swiddis Jul 28, 2023
ad2c5f5
Re-apply the integrations kibana backend PR (#680) (#683)
Swiddis Jul 28, 2023
d7372da
Fix broken Nginx Integration data volume panel (#787) (#804)
Swiddis Aug 2, 2023
b719ebc
Fix snapshots from upstream OSD/OUI changes (#755) (#808)
opensearch-trigger-bot[bot] Aug 2, 2023
4e5afd7
Re-apply fix for VPC type (#809) (#816)
opensearch-trigger-bot[bot] Aug 3, 2023
58d2cf4
Make integration category and template lists dynamic (#782) (#813)
opensearch-trigger-bot[bot] Aug 3, 2023
1342df0
Fix integration removal timing (#781) (#824)
opensearch-trigger-bot[bot] Aug 3, 2023
711a71f
fix integration json loading parser so that it will trim unneeded emp…
opensearch-trigger-bot[bot] Aug 4, 2023
e8bde7f
Remove dependence on integrations variable (#826) (#832)
opensearch-trigger-bot[bot] Aug 7, 2023
23baadf
Modified Integrations Description (#853) (#855)
opensearch-trigger-bot[bot] Aug 7, 2023
3ef8baf
change unapplied cateogry filter to empty instead of x (#858) (#859)
opensearch-trigger-bot[bot] Aug 8, 2023
925c47c
Integrations base path fix (#713) (#819)
opensearch-trigger-bot[bot] Aug 8, 2023
07d145b
aws s3 integration (#756) (#844)
opensearch-trigger-bot[bot] Aug 8, 2023
389f3b9
Nginx Integration Panel Fix: Re-apply link removal (#807) (#827)
opensearch-trigger-bot[bot] Aug 8, 2023
1089b82
Aws cloudtrail Integration (#773) (#842)
opensearch-trigger-bot[bot] Aug 9, 2023
c878b82
Aws cloudfront integration (#779) (#836)
opensearch-trigger-bot[bot] Aug 9, 2023
aeec6ff
Aws rds Integration support (#741) (#840)
opensearch-trigger-bot[bot] Aug 9, 2023
8f040ef
Fix index name collisions on integration sample creation. (#818) (#838)
Swiddis Aug 9, 2023
3ddada3
Copy VPC and ELB from main to 2.x (#879)
Swiddis Aug 9, 2023
0b73b42
Copy apache from main to 2.x (#877)
Swiddis Aug 9, 2023
f3a4625
Speed up unit testing CI by updating maxWorkers setting (#884) (#885)
opensearch-trigger-bot[bot] Aug 9, 2023
a6753dc
consolidate communication-1.0.0.mapping.json schema to match all acro…
opensearch-trigger-bot[bot] Aug 9, 2023
d2764d9
consolidate http-1.0.0.mapping.json schema to match all across (#850)…
opensearch-trigger-bot[bot] Aug 9, 2023
c3b6bed
Add _refresh call to sync component creation before index creation (#…
opensearch-trigger-bot[bot] Aug 10, 2023
a5bc483
Switch try it button to be secondary (#887) (#894)
opensearch-trigger-bot[bot] Aug 10, 2023
baefa1c
Copy WAF from main (#906)
Swiddis Aug 11, 2023
6a3b1c6
Changes Panel Titles to H2 and rearranges the details content to deta…
opensearch-trigger-bot[bot] Aug 14, 2023
7a4bc74
add k8s integration to 2.9 (#916) (#921)
opensearch-trigger-bot[bot] Aug 14, 2023
398335e
consolidate cloud schema to match all across (#846) (#902)
opensearch-trigger-bot[bot] Aug 15, 2023
e1a99ff
align all schema mapping with labels metadata (#922) (#926)
opensearch-trigger-bot[bot] Aug 15, 2023
747baae
Update backport CI, add PR merged condition (#939)
ps48 Aug 16, 2023
d2fbb97
Backport label updates to 2.x (#936)
Swiddis Aug 18, 2023
6c609fa
update logo related snapshots due to upstream changes (#950) (#951)
opensearch-trigger-bot[bot] Aug 29, 2023
1a3f542
trace analytics collapse dashboard queries, align naming to industry …
opensearch-trigger-bot[bot] Aug 30, 2023
570c48f
[Backport 2.x] Update search bar snapshots according to upstream chan…
opensearch-trigger-bot[bot] Sep 7, 2023
0df9072
Refactor integration validation logic with a cleaner interface (#943)…
opensearch-trigger-bot[bot] Sep 7, 2023
6cee048
Upgrade cypress/requests from 2 to 3 (#969) (#976)
Swiddis Sep 7, 2023
96c1232
Release Notes 2.10 (#978) (#981)
opensearch-trigger-bot[bot] Sep 8, 2023
7faf731
Increment version to 2.11.0.0 (#1002)
opensearch-trigger-bot[bot] Sep 15, 2023
3684129
Add wrap break-all to Noteobook CodeBlock output (#974) (#1027)
opensearch-trigger-bot[bot] Oct 4, 2023
ed572dc
Backport #899 to 2.x branch (#1069)
pjfitzgibbons Oct 4, 2023
620cdef
add docker-compose.yml testing and readme for integration to 2.9 (#91…
opensearch-trigger-bot[bot] Oct 4, 2023
cefd57f
[Backport 2.x][Feature] Support SQL direct query in Observability (#9…
joshuali925 Oct 4, 2023
171acde
Update 2.x with latest commits on main (#1070)
derek-ho Oct 5, 2023
fe565f9
Metrics Explorer - single-line graph only, no legends (#1068) (#1073)
opensearch-trigger-bot[bot] Oct 5, 2023
1335676
Resolving merge for main -> 2.x
pjfitzgibbons Oct 5, 2023
b1331ed
Merge pull request #1082 from opensearch-project/feature/mainline-syn…
pjfitzgibbons Oct 5, 2023
48bd609
[Backport 2.x] Finish frontend S3 framework for integrations (#1086)
opensearch-trigger-bot[bot] Oct 5, 2023
839dafb
Merge pull request #1087 from opensearch-project/feature/merge_2.x_to…
pjfitzgibbons Oct 6, 2023
0070e27
[Backport 2.11] Data sources copy updates (#1092)
opensearch-trigger-bot[bot] Oct 6, 2023
e4cec76
Explorer minor UI updates (#1096) (#1100)
opensearch-trigger-bot[bot] Oct 6, 2023
3f169c4
Reverting notebooks changes, add docs/validation to datasources, expl…
opensearch-trigger-bot[bot] Oct 9, 2023
9c014db
Add callout and modify content for S3 datasource (#1111) (#1113)
opensearch-trigger-bot[bot] Oct 11, 2023
945bb20
Fix dropdown display behavior (#1114) (#1116)
opensearch-trigger-bot[bot] Oct 11, 2023
279ab0f
Remove integrations card from datasources (#1110) (#1118)
opensearch-trigger-bot[bot] Oct 11, 2023
022a3f5
Include minor UI fixes for Log Explorer (#1107) (#1119)
opensearch-trigger-bot[bot] Oct 11, 2023
d5f8de7
Remove PPL keyword from general placeholder in search bar (#1121) (#1…
opensearch-trigger-bot[bot] Oct 12, 2023
bad632d
Placeholder change related test fixes (#1124) (#1126)
opensearch-trigger-bot[bot] Oct 12, 2023
f1aac6c
2.11 release notes (#1130) (#1133)
opensearch-trigger-bot[bot] Oct 12, 2023
7196704
Switch heading types on integrations setup page (#1136) (#1137)
opensearch-trigger-bot[bot] Oct 17, 2023
c5ead50
fix for explorer data grid not paginating (#1139) (#1141)
opensearch-trigger-bot[bot] Oct 17, 2023
0acc0f3
Allow patch on allowedRoles (#1143) (#1145)
opensearch-trigger-bot[bot] Oct 23, 2023
0b66d83
Update URL of create datasources, fix spacing (#1149) (#1154)
opensearch-trigger-bot[bot] Oct 23, 2023
74aae17
Disable integration set up button if invalid (#1152) (#1161)
opensearch-trigger-bot[bot] Oct 24, 2023
e6a474a
Switch from toast to callout for integration set up failures (#1155) …
opensearch-trigger-bot[bot] Oct 24, 2023
a08721b
Remove loading progress for integration setup (#1156) (#1162)
opensearch-trigger-bot[bot] Oct 24, 2023
9de9aea
Fix integration labeling to identify S3 integrations (#1157) (#1164)
opensearch-trigger-bot[bot] Oct 24, 2023
a2f9a00
Quiet react-dnd draggableId/droppableId warnings. (#1147) (#1166)
opensearch-trigger-bot[bot] Oct 24, 2023
a9b36fc
Fix events home table and toast life time (#1170)
kavithacm Oct 24, 2023
34696b3
config panel dark mode fix (#1169) (#1176)
opensearch-trigger-bot[bot] Oct 24, 2023
b69801e
[Feature] Match discover look and feel (#1135) (#1179)
opensearch-trigger-bot[bot] Oct 25, 2023
95a60cc
[Explorer] Modify text in empty prompt (#1172) (#1182)
opensearch-trigger-bot[bot] Oct 25, 2023
d50047f
[Explorer] Supports session for s3 direct query (#1178) (#1183)
opensearch-trigger-bot[bot] Oct 25, 2023
6b495f3
Support cancellation of async queries (#1177) (#1186)
opensearch-trigger-bot[bot] Oct 25, 2023
e2440d2
Bug fixes for observability count distribution and application analyt…
opensearch-trigger-bot[bot] Oct 26, 2023
25d52f3
remove husky pre-commit checks (#1192) (#1193)
ps48 Oct 27, 2023
9a35ffc
Metrics Inline Editor and PromQL Parsing
pjfitzgibbons Aug 16, 2023
3162b92
Update test snapshots
pjfitzgibbons Sep 27, 2023
68f8430
Update Snapshots and expected objects
pjfitzgibbons Sep 27, 2023
d34f9fb
Metric Inline Edit reload query when attributes change
pjfitzgibbons Oct 27, 2023
23744e8
Display PromQl saved obejct in Log Explorer / Visualization (graph WIP)
pjfitzgibbons Oct 29, 2023
24ab187
Metric Visualization by meta-data, savedVisualization, both MetricGri…
pjfitzgibbons Oct 31, 2023
8a89f4e
MetricInlineEdit move to slot on VisualizationContainer
pjfitzgibbons Oct 31, 2023
2213e80
Correct Dashboards (custom panel) "Remove" during Edit mode
pjfitzgibbons Oct 31, 2023
1b6485d
MetricSlice mapped list
pjfitzgibbons Oct 31, 2023
e3a9147
Log Explorer table links Metric type to Metric Explorer
pjfitzgibbons Oct 31, 2023
39b7e2f
Display Metric in OSD Dashboards
pjfitzgibbons Nov 2, 2023
ded63c8
Code Cleanup. Remove auto-scroll on metric select
pjfitzgibbons Nov 2, 2023
ceab4c7
Correct datepicker update on CustomPanels SO
pjfitzgibbons Nov 3, 2023
bb273ea
Correct datepicker update on CustomPanels SO
pjfitzgibbons Nov 3, 2023
3bfba88
Convert MetricsGrid redux usage to redux.connect
pjfitzgibbons Nov 3, 2023
00524ab
MetricGrid Visualizations reload on Span/Resolution Change
pjfitzgibbons Nov 6, 2023
03ba7c7
Correct Display of PPL Visualization / Metrics on OSD Dashboard
pjfitzgibbons Nov 6, 2023
7ef5252
SizeMe debugging
pjfitzgibbons Nov 6, 2023
8b835ed
OSD Dashboard embedded Metric "Edit" navigates to Metrics module
pjfitzgibbons Nov 7, 2023
12bf95d
URL-selected metric loads only itself on Metrics Explorer
pjfitzgibbons Nov 7, 2023
874bc17
Save PPLVis "AsMetric" to OSD SavedObjects. Display PPL-Metrics on M…
pjfitzgibbons Nov 7, 2023
bbf0610
Metrics save to OSD Dashboards from Metrics Export Panel
pjfitzgibbons Nov 8, 2023
1e61142
Correct saving of Metric PPL subtype. Correct saving of fields param.
pjfitzgibbons Nov 9, 2023
4a42a68
Metrics Export display links to saved dashboards on toast success
pjfitzgibbons Nov 9, 2023
010a1a0
Correct Log Explorer Visualization save-as Metric - set subtype corre…
pjfitzgibbons Nov 9, 2023
82da6cc
Clean up Metric list of saved-visualizations
pjfitzgibbons Nov 9, 2023
4efa337
Correct auto-span on OSD Embedable Visualization Metric for 3mo to 1y…
pjfitzgibbons Nov 30, 2023
1053ee9
Retain metric panels settings (agg, attributes) on refresh and naviga…
pjfitzgibbons Nov 30, 2023
099eddd
Correct loadMetrics on metric_slice
pjfitzgibbons Dec 4, 2023
0591534
Normalize userConfigs keyname
pjfitzgibbons Dec 5, 2023
9092b1b
Correct metric loading of saved-as-visualization
pjfitzgibbons Dec 5, 2023
571e9e4
Fix scroll on re-render in MetricsGrid when inline editor changed
pjfitzgibbons Dec 6, 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
108 changes: 68 additions & 40 deletions .cypress/integration/3_panels.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from '../utils/panel_constants';

describe('Panels testing with Sample Data', () => {
suppressResizeObserverIssue();//needs to be in file once
suppressResizeObserverIssue(); //needs to be in file once

before(() => {
cy.visit(`${Cypress.env('opensearchDashboards')}/app/home#/tutorial_directory/sampleData`);
Expand All @@ -30,7 +30,7 @@ describe('Panels testing with Sample Data', () => {
beforeEach(() => {
eraseTestPanels();
eraseSavedVisualizations();
})
});

after(() => {
eraseTestPanels();
Expand All @@ -54,8 +54,8 @@ describe('Panels testing with Sample Data', () => {
.click({ force: true });
cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]')
.trigger('mouseover')
.click({force: true});
cy.wait(delay*5); //Wont save as correct name without wait
.click({ force: true });
cy.wait(delay * 5); //Wont save as correct name without wait
cy.get('[data-test-subj="eventExplorer__querySaveName"]')
.focus()
.type(PPL_VISUALIZATIONS_NAMES[0]);
Expand Down Expand Up @@ -151,7 +151,7 @@ describe('Panels testing with Sample Data', () => {
it('Searches panels', () => {
createLegacyPanel('Legacy Named');
createSavedObjectPanel('Saved Object');
cy.wait(delay);//Needed so the panel appears on the dashboard page
cy.wait(delay); //Needed so the panel appears on the dashboard page
cy.reload();
cy.get('input[data-test-subj="operationalPanelSearchBar"]')
.focus()
Expand Down Expand Up @@ -203,7 +203,7 @@ describe('Panels testing with Sample Data', () => {

it('Deletes the panel', () => {
createSavedObjectPanel();
cy.get('a[data-test-subj="breadcrumb last"]').click();//refresh so panel appears
cy.get('a[data-test-subj="breadcrumb last"]').click(); //refresh so panel appears
cy.get('input[data-test-subj="checkboxSelectAll"]').click();
openActionsDropdown();
cy.get('button[data-test-subj="deleteContextMenuItem"]').click({ force: true });
Expand Down Expand Up @@ -251,7 +251,7 @@ describe('Panels testing with Sample Data', () => {
beforeEach(() => {
const test_name = `test_${new Date().getTime()}`;
createSavedObjectPanel(test_name).as('thePanel');
cy.then(function (){
cy.then(function () {
moveToThePanel(this.thePanel.id);
});
});
Expand All @@ -264,29 +264,35 @@ describe('Panels testing with Sample Data', () => {

it('Redirects to correct page on breadcrumb click', () => {
cy.get('a[data-test-subj="breadcrumb last"]').click();
cy.then(function (){
cy.get('h1[data-test-subj="panelNameHeader"]').contains(this.thePanel.attributes.title).should('exist');
cy.then(function () {
cy.get('h1[data-test-subj="panelNameHeader"]')
.contains(this.thePanel.attributes.title)
.should('exist');
});
});

it('Duplicate the open panel', () => {
cy.get('button[data-test-subj="panelActionContextMenu"]').click();
cy.get('button[data-test-subj="duplicatePanelContextMenuItem"]').click();
cy.then(function (){
cy.get(`input.euiFieldText[value="${this.thePanel.attributes.title} (copy)"]`).should('exist');
cy.then(function () {
cy.get(`input.euiFieldText[value="${this.thePanel.attributes.title} (copy)"]`).should(
'exist'
);
});
cy.get('button[data-test-subj="runModalButton"]').click();
cy.then(function (){
cy.then(function () {
cy.get('h1[data-test-subj="panelNameHeader"]')
.contains(this.thePanel.attributes.title + ' (copy)')
.should('exist');
});
});

it('Rename the open panel', () => {
cy.then(function (){
cy.then(function () {
cy.get('[data-test-subj="breadcrumb"]').click({ force: true });
cy.get('input[data-test-subj="operationalPanelSearchBar"]').focus().type(this.thePanel.attributes.title);
cy.get('input[data-test-subj="operationalPanelSearchBar"]')
.focus()
.type(this.thePanel.attributes.title);
cy.get('a.euiLink').contains(this.thePanel.attributes.title).click();
cy.get('button[data-test-subj="panelActionContextMenu"]').click();
cy.get('button[data-test-subj="renamePanelContextMenuItem"]').click();
Expand All @@ -295,15 +301,19 @@ describe('Panels testing with Sample Data', () => {
.clear({ force: true })
.focus()
.type('Renamed Panel');
});
});
cy.get('button[data-test-subj="runModalButton"]').click();
cy.get('h1[data-test-subj="panelNameHeader"]').contains('Renamed Panel').should('exist');
});

it('Change date filter of the panel', () => {
cy.get('.euiButtonEmpty[data-test-subj="superDatePickerToggleQuickMenuButton"]').click({force: true});
cy.wait(delay);//flyout won't open sometimes without
cy.get('button[data-test-subj="superDatePickerCommonlyUsed_This_year"]').click({force: true});
cy.get('.euiButtonEmpty[data-test-subj="superDatePickerToggleQuickMenuButton"]').click({
force: true,
});
cy.wait(delay); //flyout won't open sometimes without
cy.get('button[data-test-subj="superDatePickerCommonlyUsed_This_year"]').click({
force: true,
});
cy.get('button[data-test-subj="superDatePickerShowDatesButton"]')
.contains('This year')
.should('exist');
Expand All @@ -320,7 +330,7 @@ describe('Panels testing with Sample Data', () => {
cy.get('select').select(PPL_VISUALIZATIONS_NAMES[0]);
cy.get('button[aria-label="refreshPreview"]').trigger('mouseover').click();
cy.get('.plot-container').should('exist');
cy.get('button[data-test-subj="addFlyoutButton"]').click({force: true});
cy.get('button[data-test-subj="addFlyoutButton"]').click({ force: true });
cy.get('.euiToastHeader__title').contains('successfully').should('exist');
});

Expand All @@ -335,7 +345,7 @@ describe('Panels testing with Sample Data', () => {
cy.get('select').select(PPL_VISUALIZATIONS_NAMES[1]);
cy.get('button[aria-label="refreshPreview"]').trigger('mouseover').click();
cy.get('.plot-container').should('exist');
cy.get('button[data-test-subj="addFlyoutButton"]').click({force: true});
cy.get('button[data-test-subj="addFlyoutButton"]').click({ force: true });
cy.get('.euiToastHeader__title').contains('successfully').should('exist');
});

Expand All @@ -350,11 +360,15 @@ describe('Panels testing with Sample Data', () => {
addVisualizationsToPanel(this.thePanel, [this.vis1.id]);
moveToThePanel(this.thePanel.id);
cy.get('[data-test-subj="breadcrumb"]').click({ force: true });
cy.get('input[data-test-subj="operationalPanelSearchBar"]').focus().type(this.thePanel.attributes.title);
cy.get('input[data-test-subj="operationalPanelSearchBar"]')
.focus()
.type(this.thePanel.attributes.title);
cy.get('a.euiLink').contains(this.thePanel.attributes.title).click();
});

cy.get('.euiButtonEmpty[data-test-subj="superDatePickerToggleQuickMenuButton"]').click({force: true,});
cy.get('.euiButtonEmpty[data-test-subj="superDatePickerToggleQuickMenuButton"]').click({
force: true,
});
cy.get('[data-test-subj="superDatePickerQuickMenu"')
.first()
.within(() => {
Expand All @@ -365,11 +379,11 @@ describe('Panels testing with Sample Data', () => {

cy.get('[data-test-subj="searchAutocompleteTextArea"]')
.trigger('mouseover')
.click({force: true})
.wait(delay*5)
.click({ force: true })
.wait(delay * 5)
.focus()
.type(PPL_FILTER);
cy.get('button[data-test-subj="superDatePickerApplyTimeButton"]').click({force: true});
cy.get('button[data-test-subj="superDatePickerApplyTimeButton"]').click({ force: true });
cy.get('.euiButton__text').contains('Refresh').trigger('mouseover').click();
cy.get('.xtick').should('contain', 'Munich Airport');
cy.get('.xtick').contains('Zurich Airport').should('not.exist');
Expand All @@ -389,7 +403,9 @@ describe('Panels testing with Sample Data', () => {
addVisualizationsToPanel(this.thePanel, [this.vis1.id]);
moveToThePanel(this.thePanel.id);
cy.get('[data-test-subj="breadcrumb"]').click({ force: true });
cy.get('input[data-test-subj="operationalPanelSearchBar"]').focus().type(this.thePanel.attributes.title);
cy.get('input[data-test-subj="operationalPanelSearchBar"]')
.focus()
.type(this.thePanel.attributes.title);
cy.get('a.euiLink').contains(this.thePanel.attributes.title).click();
});

Expand Down Expand Up @@ -419,7 +435,9 @@ describe('Panels testing with Sample Data', () => {
addVisualizationsToPanel(this.thePanel, [this.vis1.id]);
moveToThePanel(this.thePanel.id);
cy.get('[data-test-subj="breadcrumb"]').click({ force: true });
cy.get('input[data-test-subj="operationalPanelSearchBar"]').focus().type(this.thePanel.attributes.title);
cy.get('input[data-test-subj="operationalPanelSearchBar"]')
.focus()
.type(this.thePanel.attributes.title);
cy.get('a.euiLink').contains(this.thePanel.attributes.title).click();
});

Expand All @@ -446,7 +464,9 @@ describe('Panels testing with Sample Data', () => {
addVisualizationsToPanel(this.thePanel, [this.vis1.id]);
moveToThePanel(this.thePanel.id);
cy.get('[data-test-subj="breadcrumb"]').click({ force: true });
cy.get('input[data-test-subj="operationalPanelSearchBar"]').focus().type(this.thePanel.attributes.title);
cy.get('input[data-test-subj="operationalPanelSearchBar"]')
.focus()
.type(this.thePanel.attributes.title);
cy.get('a.euiLink').contains(this.thePanel.attributes.title).click();
});

Expand All @@ -470,7 +490,9 @@ describe('Panels testing with Sample Data', () => {
addVisualizationsToPanel(this.thePanel, [this.vis1.id]);
moveToThePanel(this.thePanel.id);
cy.get('[data-test-subj="breadcrumb"]').click({ force: true });
cy.get('input[data-test-subj="operationalPanelSearchBar"]').focus().type(this.thePanel.attributes.title);
cy.get('input[data-test-subj="operationalPanelSearchBar"]')
.focus()
.type(this.thePanel.attributes.title);
cy.get('a.euiLink').contains(this.thePanel.attributes.title).click();
});

Expand Down Expand Up @@ -503,15 +525,17 @@ describe('Panels testing with Sample Data', () => {
PPL_VISUALIZATIONS[2],
PPL_VISUALIZATION_CONFIGS[2]
).as('vis2');

cy.then(function () {
addVisualizationsToPanel(this.thePanel, [this.vis1.id]);
moveToThePanel(this.thePanel.id);
cy.get('[data-test-subj="breadcrumb"]').click({ force: true });
cy.get('input[data-test-subj="operationalPanelSearchBar"]').focus().type(this.thePanel.attributes.title);
cy.get('input[data-test-subj="operationalPanelSearchBar"]')
.focus()
.type(this.thePanel.attributes.title);
cy.get('a.euiLink').contains(this.thePanel.attributes.title).click({ force: true });
});

cy.get('button[aria-label="actionMenuButton"]').eq(0).click();
cy.get('button[data-test-subj="replaceVizContextMenuItem"]').click();
cy.get('select').select(PPL_VISUALIZATIONS_NAMES[2]);
Expand Down Expand Up @@ -540,18 +564,20 @@ describe('Panels testing with Sample Data', () => {
cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]')
.trigger('mouseover')
.click();

cy.then(function () {
cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').type(this.thePanel.attributes.title);
cy.get(`input[value="${this.thePanel.attributes.title}"]`).trigger('mouseover').click();
});

cy.then(function () {
cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').type(
this.thePanel.attributes.title
);
cy.get(`input[value="${this.thePanel.attributes.title}"]`).trigger('mouseover').click();
});

cy.get('[data-test-subj="eventExplorer__querySaveName"]')
.focus()
.type(PPL_VISUALIZATIONS_NAMES[2]);
cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').trigger('mouseover').click();
cy.get('.euiToastHeader__title').contains('successfully').should('exist');

cy.then(function () {
moveToThePanel(this.thePanel.id);
});
Expand All @@ -572,7 +598,9 @@ describe('Panels testing with Sample Data', () => {
addVisualizationsToPanel(this.thePanel, [this.vis1.id]);
moveToThePanel(this.thePanel.id);
cy.get('[data-test-subj="breadcrumb"]').click({ force: true });
cy.get('input[data-test-subj="operationalPanelSearchBar"]').focus().type(this.thePanel.attributes.title);
cy.get('input[data-test-subj="operationalPanelSearchBar"]')
.focus()
.type(this.thePanel.attributes.title);
cy.get('a.euiLink').contains(this.thePanel.attributes.title).click();
});

Expand Down Expand Up @@ -812,7 +840,7 @@ const createVisualization = (newName, query, vizConfig) => {
name: newName,
description: '',
type: 'bar',
user_configs: vizConfig,
userConfigs: vizConfig,
sub_type: 'visualization',
},
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@

name: Test and Build Observability Dashboards Plugin

on: [pull_request, push]
on: [ pull_request, push ]

env:
PLUGIN_NAME: dashboards-observability
OPENSEARCH_VERSION: 'main'
OPENSEARCH_PLUGIN_VERSION: 3.0.0.0
OPENSEARCH_VERSION: '2.x'
OPENSEARCH_PLUGIN_VERSION: 2.11.0.0

jobs:

build:
strategy:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# Since Windows is inconsistent, we want to let other OSes run on a fail
fail-fast: false
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}

steps:
Expand Down
Loading
Loading