Alejandro Fernández Gómez
b246701d39
[Logs UI] Polish the UI for the log entry examples in the anomaly table ( #82139 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-26 14:18:42 +01:00
Alejandro Fernández Gómez
36ab99e546
[Logs UI] Limit the height of the "view in context" container ( #83178 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-26 14:01:53 +01:00
Mikhail Shustov
5ec6fe315f
[DX] Bump TS version to v4.1 ( #83397 )
...
* bump version to 4.1.1-rc
* fix code to run kbn bootstrap
* fix errors
* DO NOT MERGE. mute errors and ping teams to fix them
* Address EuiSelectableProps configuration in discover sidebar
* use explicit type for EuiSelectable
* update to ts v4.1.2
* fix ts error in EuiSelectable
* update docs
* update prettier with ts version support
* Revert "update prettier with ts version support"
This reverts commit 3de48db3ec
.
* address another new problem
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2020-11-24 16:04:33 +01:00
Yuliia Naumenko
b11f7830cb
[Alerting UI] Replaced AppContextProvider introduced by the plugin with KibanaContextProvider ( #83248 )
...
* Replaced AppContextProvider introduced by the plugin with KibanaContextProvider
* Removed unused files
* Fixed jest test
* Removed ActionsConnectorContext
* exposed addConnectorFlyout and editConnectorFlyouts as a plugin start result
* removed rest of unused connectors context
* fixed capabilities
* fixed jest tests
* fixed jest tests
* fixed jest tests
* fixed uptime
* fixed typecheck errors
* fixed typechecks
* fixed jest tests
* fixed type
* fixed uptime settings by pathing the correct plugin dependancy
* fixed security detection rules
* fixed due to commetns
* fixed jest tests
* fixed type check
* removed orig files
* fixed cases UI issues
* fixed due to comments
* fixed due to comments
* fixed kibana crash
* fixed es-lint
2020-11-24 00:07:47 -08:00
Alejandro Fernández Gómez
378d89b5cd
[Logs UI] Allow custom columns in the <LogStream />
component ( #83802 )
2020-11-23 17:30:02 +01:00
Alejandro Fernández Gómez
10afcf032f
[Logs UI] wrap lines inside <LogStream />
( #83449 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 17:07:54 +01:00
Mikhail Shustov
95861a0fb0
[DX] Prettier v2.2 ( #83899 )
...
* update prettier with ts version support
* mute type-error
* run prettier on codebase
* fix examples
* fix errors after master merged
2020-11-23 13:17:05 +01:00
Cauê Marcondes
ac73b6a5b4
[Observability] Load hasData call asynchronously ( #80644 )
...
* obs perf
* fixing unit tests
* fixing ts issues
* fixing empty state
* addressing pr comments
* addressing pr comments
* fixing TS issue
* fixing some stuff
* refactoring
* fixing ts issues and unit tests
* addressing PR comments
* fixing TS issues
* fixing eslint issue
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 11:58:49 +01:00
Zacqary Adam Xeper
9e084f389c
[Metrics UI] Implement Resolved action group in Metrics alerts ( #83687 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-20 13:00:57 -06:00
Phillip Burch
bc49b5beda
[Metrics UI] Add logs to node details ( #83433 )
...
* Add charts to the metrics tab
* Add timepicker, i18n, polish
* Fix copyrite
* Add log stream component to node details
* Add logs tab with ability to search
* Update i18n
* Apply suggestions from code review
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
* Update comment
* Fix lint
* Fix eslint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2020-11-19 16:06:29 -06:00
Phillip Burch
f793d9b719
[Metrics UI] Add metrics to node details ( #83357 )
...
* Add charts to the metrics tab
* Add timepicker, i18n, polish
* Fix copyrite
* Update x-pack/plugins/infra/public/pages/metrics/inventory_view/components/node_details/tabs/metrics/chart_header.tsx
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
* Style changes
* More pr feedback
* Fix lint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2020-11-19 12:50:06 -06:00
Chris Cowan
a04cb37f2b
[Metrics UI] Optimizations for Snapshot and Inventory Metadata ( #83596 )
...
* [Metrics UI] Add time range to inventory metadata request
* Adding optimizations for snapshot request
* Adding sorting to dataset request
* Only query inventory metadata for AWS
* moving check inside getCloudMetadata
* removing unused deps
2020-11-18 18:14:22 -07:00
Mikhail Shustov
4917df30b9
Update typescript eslint to v4.8 ( #83520 )
...
* update deps
* update rules
use type-aware @typescript-eslint/no-shadow instead of no-shadow. do not use no-undef, rely on TypeScript instead
* fix or mute all lint errors
* react-hooks eslint plugin fails on ? syntax
* fix wrong typings in viz
* remove React as a global type
* fix eslint errors
* update version to 4.8.1
* fix a new error
2020-11-18 18:23:08 +01:00
Zacqary Adam Xeper
21c0258e6b
[Metrics UI] Add Process tab to Enhanced Node Details ( #83477 )
2020-11-18 10:41:28 -06:00
Chris Cowan
cc0d6c1b1f
[Metrics UI] Converting legend key to optional ( #83495 )
...
* [Metrics UI] Converting legend key to optional
* Adding check and default to legend component
2020-11-18 08:28:16 -07:00
Alejandro Fernández Gómez
00c0535946
[Logs UI] Update <LogStream /> internal state when its props change ( #83302 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-18 11:44:14 +01:00
Phillip Burch
bcc2afa9e2
Don't show loading screen during auto-reload ( #83376 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 14:40:02 -06:00
Tyler Smalley
aba2068291
Consolidates Jest configuration files and scripts ( #82671 )
...
Jest tests are currently organized into main configuration files (src/dev/jest/config.js and x-pack/dev-tools/jest/create_jest_config.js). Both of these are similar, but very slightly due to previously being in separate repositories. This change consolidates the scripts referenced in those configs and moves them to the `@kbn/test` project.
OSS contained an alias for `test_utils`. Those aliases have been removed in favor of importing these utilities from `@kbn/test/jest`
Blocker to #72569
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-11-12 16:19:56 -08:00
Dima Arnautov
169dcef2bf
[ML] Persisted URL state for the "Anomaly detection jobs" page ( #83149 )
...
* [ML] table config in the URL state
* [ML] fix job list on the management page
* [ML] store query filter in the URL
* [ML] fix context for the management page
* [ML] update module_list_card.tsx in Logs UI
* [ML] fix unit tests
* [ML] fix unit tests
* [ML] fix unit tests
* [ML] move utils functions
* [ML] url generator to support both job and group ids
2020-11-12 15:16:23 +01:00
Alejandro Fernández Gómez
0e7bcf6164
[Logs UI] Add pagination to the log stream shared component ( #81193 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-12 15:11:43 +01:00
Phillip Burch
88312d83a4
[Metrics UI] Add basic interaction and shell for node details overlay ( #82013 )
...
* Add basic interaction and shell for node details overlay
* Fix typecheck
* Remove context menu tests because context menu doesn't exist
* Remove outdated tests
* Remove unused variable
* Show the old overlay by default
* Fix typecheck
* Fix typo
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-11 11:19:00 -06:00
Alexey Antonov
b2d6b66fe5
[bundle optimization] fix imports of react-use lib ( #82847 )
...
* [bundle optimization] fix imports of react-use lib
* add 2 more files
* add rule into eslintrc.js
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 17:15:26 +03:00
Alejandro Fernández Gómez
6110ef82a3
[Logs UI] Fix errors during navigation ( #78319 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 12:43:11 +01:00
Mike Côté
1ecd12cdf3
Add description and documentation link in alert flyout ( #81526 )
...
* Add description and documentation URL in alert flyout
* Add unit tests
* Fix type check
* Add horizontal rule
* Design fixes
* Fix uptime alert link
* Fix uptime urls
* Add anchor tag
* Fix jest test failures
* Fix monitoring links
2020-11-05 19:50:50 -05:00
Zacqary Adam Xeper
250fe67828
[Metrics UI] Add full custom metric UI to inventory alerts ( #81929 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-05 12:23:57 -06:00
Mike Côté
eb43158bdd
Add descriptions to alert types ( #81850 )
...
* Initial attempt at adding descriptions to alert types
* Fix typecheck failures
* Fix i18n check
* Fix failing jest test
* Fix i18n check again
* Apply changes for Uptime
* Update x-pack/plugins/apm/public/components/alerting/register_apm_alerts.ts
Co-authored-by: Casper Hübertz <casper@formgeist.com>
* Update x-pack/plugins/apm/public/components/alerting/register_apm_alerts.ts
Co-authored-by: Casper Hübertz <casper@formgeist.com>
* Fix jest test
* Update geo threshold description
* Update description of some alert types based on feedback from Gail
* Update description of some alert types based on feedback from Gail
* Fix i18n
* Fix i18n
* Fix ESLint
* Update some copy
* Update uptime alert description
* Fix typos
Co-authored-by: Casper Hübertz <casper@formgeist.com>
2020-11-03 14:09:41 -05:00
James Gowdy
a0fded52eb
[ML] Adding space aware jobs ( #77916 )
...
* [ML] Adding space aware jobs
* adding mlClient
* switching to type includes
* adding additional job checks
* fixing conflict
* adding dfa checks
* refactoring jobs in spaces checks
* filtering calendars
* adding initial job object status and repair endpoints
* enabling repair endpoint
* fixing listed jobs in status
* adding datafeed repair
* updating shared services
* adding results job id check
* fixing conflicts
* don't remove SO on delete
* fixing non-ml plugins
* filtering job audit messages
* fixing types
* fixing tests
* adding job ids wildcard support
* removing empty migration test
* fixing tests and disabling spaces test user
* adding saved objects all permission
* fixing calendars
* updating job 404
* updating job wildcard search
* renaming services
* fixing conflicts
* fixing log tests
* disabling apm test
* skipping more apm tests
* optimzing repair
* fixing types
* updating apm test archive to include ML saved objects
* enabling disabled test
* removing comment
* adding space assigning endpoints
* adding saved object default permissions
* removing commented code
* loading all jobs for all spaces for status check
* adding spaces list endpoint
* adding job spaces to management page
* adding trained model fltering
* fixing trained model id check and job wildcard check
* fixing types
* fixing bug when adding new job to calendar
* changes based on review
* updating schema
* changes based on review
* fixing types
* rolling back http service injection
* fixing http service injection
* adding errrors to repair endpoint response
* updating api doc
* improving types
* disabling id check on ad get endpoints
* fixing tests
* fixing group requests
* adding comments
* using filter in saved object search
* fixing fake request issue
* removing console log
* making job saved object hidden
* removing acccidentally included file
* renaming saved object client
* updating apidoc
* unhiding ml saved objects
* moving route guard
* improving error when SOC is null
* fixing types after merge with master
* fixing tests
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-03 15:34:35 +00:00
Thomas Watson
700225061a
Upgrade to hapi version 18 ( #80468 )
2020-11-02 13:18:00 +01:00
Greg Thompson
6fdc7eb1fa
Upgrade EUI to v30.1.1 ( #81499 )
...
* eui to v30.0.0
* removed unused RecentLinks component
* update compressed -> display prop
* euiformrow compressed -> display
* euipopover remove withtitle
* euibuttongroup prop updates
* remove euibuttontoggle
* src snapshot updates
* tutorial euibuttongroup update
* x-pack snapshot updates
* euibuttongroup test updates
* TODO
* misc. js file updates
* remove euinavdrawer scss references
* translation removals
* more x-pack snapshot updates
* update data-test-subj lookup
* icons logoAMP -> logoObservability
* cypress selector updates
* update euibuttontoggle onchange, test interaction
* Fix auto-update toggle in Visualize
* some more change -> click test updates
* idtoselectedmap change
* Fix feature table button group
* Remove empty SASS file
* Fix feature table button group II
* Using `compressed` to also dictate dual range row
* Fix a few security labels
* An ML fix
* Apply suggestions from code review
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
* remove unused translation
* update view_type_toggle snapshot
* more snapshot updates
* eui to 30.1.0
* undo temp ts-ignore
* more x-pack snapshot updates
* eui to 30.1.1
* update feature privilege text
* Update x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/feature_table/sub_feature_form.tsx
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* reuse i18n token
* Adapt log entry action button to new `minWidth` prop
* clean up label
* Combine auto apply strings into one
* ternary fix
* cases status useCallback
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Felix Stürmer <stuermer@weltenwort.de>
2020-10-30 16:18:27 -06:00
Chris Cowan
eedf0673d3
[Metrics UI] Add endpoint for Metrics API ( #81693 )
...
* [Metrics UI] Add endpoint for Metrics API
* Adding the ability to caculate the interval based on a module
* fixing types
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-29 13:55:50 -07:00
Jason Rhodes
d84ac13a4a
[Logs App] Fix logs permissions for alert management ( #81199 )
...
* Mimics metrics permissions for alert mgmt in logs feature
* Updates logs security functional tests
Alert management permissions were added for read and all logs users in this PR, so both of these users now have "Stack Management" appear in the nav.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-29 14:04:37 -04:00
Zacqary Adam Xeper
6272f4e0fd
[Metrics UI] Fix a Chrome bug with Inventory View flickering at certain sizes ( #81514 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-28 13:03:36 -05:00
Felix Stürmer
756c3f16e3
[Logs UI] Transmit and render array field values in log entries ( #81385 )
...
Co-authored-by: Alejandro Fernández Gómez <antarticonorte@gmail.com>
2020-10-28 12:53:02 +01:00
Chris Cowan
43b31e1b2b
[Metrics UI] Fix Metrics Explorer API to return empty results when field is missing from aggregation ( #80919 )
...
* [Metrics UI] Fix Metrics Explorer API to return empty results when field is missing from aggregation
* Update x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
* Fixing type
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 08:59:46 -07:00
Matthew Kime
50a93222f1
Index Patterns API - Remove legacy es client usage for field caps ( #80116 )
...
* remove legacy es client usage
2020-10-22 22:46:33 -05:00
Chris Cowan
2a82bddfe2
[Metrics UI] Add timerange and sorting to node detail metadata request ( #81033 )
2020-10-21 08:10:31 -07:00
Larry Gregory
bf0f8bbb42
Cleanup feature registration ( #80909 )
2020-10-20 12:53:43 -04:00
Jason Rhodes
8f3ec3a73d
Adjusts observability alerting perms to require "all" ( #79896 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-15 15:22:24 -04:00
Zacqary Adam Xeper
f3ee7a32ca
[Metrics UI] Inventory view cleanup ( #79881 )
...
* Add background to Show History
* Fix legend centering
* Fix sentence casing in timeline popovers
* Improve small-screen responsiveness of filter dropdowns
* Improve top action responsiveness
* Remove unneeded align center
* Improve waffle map small screen responsiveness
* Fix inventory timeline color legend
* Fix loading spinner wrap
* Fix color legend
* Improve filter responsiveness
* Fix z-index on view switcher
* Move manage views flyout into portal
* Set waffle map to di display: static at s breakpoint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-14 16:34:35 -05:00
Kerry Gallagher
74561d83fb
[Logs UI] Sync logs timerange with wider Kibana ( #79444 )
...
* Sync logs timestamps with wider Kibana
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
2020-10-08 22:54:33 +01:00
Phillip Burch
bd153c48cb
Show callout for K8s jobs ( #79610 )
2020-10-06 17:27:30 -05:00
István Zoltán Szabó
b7057bc274
Fine-tunes ML related text on Metrics UI ( #79425 )
...
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2020-10-06 16:25:08 +02:00
Kerry Gallagher
2ba729f904
[Logs UI] Add timestamp as a context variable to log threshold alerts ( #78932 )
...
* Add timestamp context variable
2020-10-06 11:12:20 +01:00
Saravanan Selvamohan
663175c8c4
Change plugin id for triggers_actions_ui
to triggersActionsUi
( #78555 )
...
* Rename triggers_actions_ui plugin id to triggersActionsUi
* Rename triggers_actions_ui plugin id to triggersActionsUi
* Removed disable linting line
* ran docs generation script
* Fixed type check issue
* FIxed eslint error
Co-authored-by: Yuliia Naumenko <yuliia.naumenko@elastic.com>
2020-10-05 14:17:06 -07:00
Alejandro Fernández Gómez
2899e83df8
[Logs UI] Remove legacy singletons ( #77743 )
...
Removes the `npStart` legacy singleton used during the migration to the new platform. The singleton was used in API calls to access the `http.fetch` service. To remove the singleton we have injected `fetch` as a dependency in all functions.
2020-10-02 18:57:50 +02:00
Phillip Burch
1841495322
[Metrics UI] Override anomaly detection partition field ( #79214 )
...
* Add ability to override datafeeds and job config for partition field
* Remove debug
* UX cleanup
* Fix types, delete dead code
* Fix types
2020-10-01 18:54:46 -05:00
Jonathan Budzenski
085f8a17ff
Revert "[Metrics UI] Add ability to override datafeeds and job config for partition field ( #78875 )"
...
This reverts commit ee7672aaf0
.
2020-10-01 12:42:37 -05:00
Zacqary Adam Xeper
7836998e76
[Metrics UI] Display No Data context.values as [NO DATA] ( #78038 )
...
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-01 11:31:39 -05:00
Phillip Burch
ee7672aaf0
[Metrics UI] Add ability to override datafeeds and job config for partition field ( #78875 )
...
* Add ability to override datafeeds and job config for partition field
* Remove debug
* UX cleanup
* Fix types, delete dead code
2020-10-01 10:51:55 -05:00
Zacqary Adam Xeper
3599edbea9
[Logs UI] Move alerting components to public/alerting ( #79035 )
...
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-01 09:42:18 -05:00