Commit graph

45101 commits

Author SHA1 Message Date
Kibana Machine 1eb212e7e4
Update dependency @elastic/charts to v37 (master) (#113968) (#114645)
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-10-12 18:22:11 +00:00
Sandra G e060d3921f
[Stack Monitoring] Add breadcrumbs to ES pages after migrating from Angular (#114555) (#114635)
* add breadcrumbs

* fix bad merge

* fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx
#	x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx
#	x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx
#	x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx
#	x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx
#	x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx
#	x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 14:19:49 -04:00
Kibana Machine 62b2948743
Short url docs (#113084) (#114701)
Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
2021-10-12 14:00:11 -04:00
Kibana Machine d0f425baea
[Lens] Fix Metric visualization scale (#113956) (#114662)
* 🐛 Fix metric rescale

* 📸 Restored old snapshots

* 🐛 Extend the fix to all scenarios

* 📸 Refresh snapshots for new fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-10-12 13:59:54 -04:00
Kibana Machine e574602dbe
[Stack Monitoring] Fix blank page between loading page and overview (#114550) (#114663)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2021-10-12 13:59:16 -04:00
Nathan Reese ab888ed17d
[Maps] Fix apis Maps endpoints getTile should return vector tile containing document (#114509) (#114623)
* [Maps] Fix apis Maps endpoints getTile should return vector tile containing document

* use find instead of if statement

* eslint

* can not use layer.feature.find is layer.feature is not an array

* unskip other test where fix has been merged

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/api_integration/apis/maps/get_tile.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 13:52:06 -04:00
Kibana Machine 8c7d55d318
[Exploratory view] Render content only on expand (#114237) (#114651)
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-10-12 17:51:23 +00:00
Kibana Machine 3e5fd34c72
[Fleet] Fix agent count in update modal (#114622) (#114646)
Co-authored-by: Cristina Amico <criamico@users.noreply.github.com>
2021-10-12 17:49:34 +00:00
Kibana Machine 685fd8c9c2
refactor (#114603) (#114621)
Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
2021-10-12 17:25:59 +00:00
Kaarina Tungseth 1f3c99ba46
[DOCS] Reformats the Spaces settings tables into definition lists (#114146) (#114680) 2021-10-12 12:23:27 -04:00
Kaarina Tungseth d3defe0ac7
[DOCS] Reformats the Search sessions settings tables into definition lists (#114145) (#114677) 2021-10-12 12:20:57 -04:00
Kaarina Tungseth 54428a790f
[DOCS] Reformats the Machine learning settings tables into definition lists (#114143) (#114674) 2021-10-12 12:17:47 -04:00
Kaarina Tungseth 1969514e01
[DOCS] Reformats the Logs settings tables into definition lists (#114140) (#114671) 2021-10-12 12:13:07 -04:00
Kibana Machine ea9d1ae6f1
[buildkite] buildkite dependencies need to install before print_agent_links (#114573) (#114658)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-12 11:29:55 -04:00
Ignacio Rivas 1b62981a1a
[Upgrade Assistant] Remove Fix manually heading when there are no manual steps 2021-10-12 16:56:17 +02:00
Tyler Smalley cd228cd7e4 Revert "[7.x] [APM] Trace generation library (#113764) (#114259)"
This reverts commit c2f18324be.
2021-10-12 07:48:26 -07:00
Nathan L Smith dd83d167d6
[APM] Disabling apm e2e test (#114544) (#114643) 2021-10-12 10:43:11 -04:00
Kibana Machine e9f058c53f
[APM] Add Table of contents to data model docs (#114608) (#114632)
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
2021-10-12 09:50:27 -04:00
Kibana Machine 937ea35b35
[Uptime] Make uptime settings saved object exportable (#114235) (#114614)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-10-12 08:57:11 -04:00
Jean-Louis Leysens 0f15cce0cc
[Discover/Reporting] Fix potential time drift with relative time when requesting a report (#114274) (#114602)
* updated Discover getSharingData to accept flag for absolute time

* update snapshots

* simplify fallback title

* more appropriate title?

* remove old translations

* implement PR feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 07:51:50 -04:00
Yulia Čech 7bdfcf1afc
[Upgrade Assistant] Reindexing progress (#114275)
* [Upgrade Assistant] Added reindexing progress in % to the reindex flyout and es deprecations table

* [Upgrade Assistant] Renamed first argument in `getReindexProgressLabel` to `reindexTaskPercComplete` for consistency

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 13:50:36 +02:00
Tiago Costa 607d776f4c
skip flaky suite (#114396) 2021-10-12 12:48:52 +01:00
Rudolf Meijering 5c4f910894
Wait for a yellow source before starting reindex (#113382) (#114597)
# Conflicts:
#	src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts
2021-10-12 07:09:43 -04:00
Ignacio Rivas 2763514508
[Upgrade Assistant] Add upgrade system indices section (#110593) 2021-10-12 13:01:51 +02:00
Uladzislau Lasitsa 155d3c75d7
[Visualization] Get rid of saved object loader and use savedObjectClient resolve (#113121) (#114442)
* First step: create saved_visualize_utils, starting use new get/save methods

* Use new util methods in embeddable

* move findListItem in utils

* some clean up

* clean up

* Some fixes

* Fix saved object tags

* Some types fixes

* Fix unit tests

* Clean up code

* Add unit tests for new utils

* Fix lint

* Fix tagging

* Add unit tests

* Some fixes

* Clean up code

* Fix lint

* Fix types

* put new methods in start contract

* Fix imports

* Fix lint

* Fix comments

* Fix lint

* Fix CI

* use local url instead of full path

* Fix unit test

* Some clean up

* Fix nits

* fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 07:01:00 -04:00
Dario Gieselaar c2f18324be
[7.x] [APM] Trace generation library (#113764) (#114259)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 12:37:22 +02:00
Kibana Machine 438bb75b7e
[Logs UI][Metrics UI] Replace usage of deprecated IndexPattern types (#114448) (#114590)
* [Logs UI][Metrics UI] Replace usage of deprecated IndexPattern types (#107887)

Co-authored-by: Milton Hultgren <milton.hultgren@elastic.co>
2021-10-12 05:11:46 -04:00
Thomas Watson f64c66cdbb
[7.x] Ensure deprecation documentationUrl's point to correct doc branch (#114263)
This was made possible via PR #113600.
2021-10-12 05:02:27 -04:00
Dario Gieselaar deb016e5b1
[7.x] [APM] Display all properties by default (#113221) (#114499)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 10:35:32 +02:00
Kibana Machine 52631c30c2
[ci-stats] support sending meta with metrics (#114198) (#114587)
* [ci-stats] support sending meta with metrics

* update kbn/pm dist

* improve comments stat

* update kbn/pm dist

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-12 02:25:11 -04:00
Kibana Machine 4fb8536d55
[nit][pre-req] Strongly-type Shipper and Category (#114412) (#114586)
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-10-12 01:09:57 -04:00
Kibana Machine 762bc1d19e
[Alerting] Showing last execution duration on Rule Management view (#113935) (#114584)
* Adding last duration to execution status and returning in alerting routes

* Fixing types

* Adding helper function to format duration

* Returning rule timeout value in list rules API

* Updating rules table to add duration column and tweaks to match mockup

* Updating rules table to add duration column and tweaks to match mockup

* i18n fix

* Only showing duration warning if duration is long

* Unit tests

* i18n fix

* Fixing functional test

* Aligning warning icon

* Reset last duration when rule is disabled then reenabled

* Fixing functional test

* Fixing functional test

* Restoring muted badge. Fixing scss

* Dont show muted badge if rule is disabled

* Moving disabled icontip to right of rule name

* Updating tooltips

* Updating last run

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-10-11 23:40:23 -04:00
Kibana Machine 6899207802
[Enterprise Search] Warn about Kibana access when adding single user role mappings (#114567) (#114582)
* Warn about Kibana access when adding single user role mappings to Enterprise Search

* i18n and sentence case for the Kibana access warning title

Co-authored-by: James Rucker <james.rucker@elastic.co>
2021-10-11 22:40:56 -04:00
Kibana Machine 1b51fca83d
[ftr] ensure indentation is reset between configs (#114359) (#114579)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-11 21:57:07 -04:00
Nathan Reese c0ad7aba70
[Maps] fix docvalue_fields·js functional test (#114527) (#114577)
* [Maps] fix docvalue_fields·js functional test

* remove unused

* eslint

* remove _type from check list, copied from 7.x branch and is not in 8.0

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/functional/apps/maps/documents_source/docvalue_fields.js
2021-10-11 21:02:33 -04:00
Kibana Machine f6e5093c45
[Core][Deprecations] omit deprecationDetails if needed it in the reques (#114399) (#114574)
* omit deprecationDetails if needed it

* review I

* doc update

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2021-10-11 20:58:01 -04:00
Spencer 5a3521b9c4
[7.x] [monitoring] fixup types (#114342) (#114570)
* [monitoring] fixup types (#114342)

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts

* fix import

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-11 20:33:24 -04:00
Kibana Machine fd25cfa0e7
Log Unhandled rejection stack (#113614) (#114572)
* Refactor state types

* Log the stack trace of unhandled promise rejections

* Revert "Refactor state types"

This reverts commit 6a5123a1b2.

* Fix types

* code review feedback

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2021-10-11 20:14:25 -04:00
Kibana Machine ea5e847566
High level walkthrough of repo folder structure (#114293) (#114370)
* Create code_walkthrough.mdx

* Remove unused utilities folder and mention of it in the repo structure doc.

* Update dev_docs/contributing/code_walkthrough.mdx

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update dev_docs/contributing/code_walkthrough.mdx

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update dev_docs/contributing/code_walkthrough.mdx

omg my grammar is horrible.

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update dev_docs/contributing/code_walkthrough.mdx

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update dev_docs/contributing/code_walkthrough.mdx

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update dev_docs/contributing/code_walkthrough.mdx

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update dev_docs/contributing/code_walkthrough.mdx

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* review updates

* Update dev_docs/contributing/code_walkthrough.mdx

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

* Update dev_docs/contributing/code_walkthrough.mdx

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

Co-authored-by: Stacey Gammon <gammon@elastic.co>
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
2021-10-12 00:11:30 +00:00
Tim Sullivan dc4f956414
[7.x] [Reporting] Re-enable test for large CSV export from Discover (#113675) (#114374)
* [Reporting] Re-enable test for large CSV export from Discover (#113675)

* [Reporting] Re-enable test for large CSV export from Discover

* update snapshot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* update snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 19:49:41 -04:00
Kibana Machine 26e76707c7
[Stack Monitoring] add test subject to tab (#114319) (#114560)
* pass test subject to advanced link and change name in angular version to be generic

* change name in functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2021-10-11 22:45:50 +00:00
Kibana Machine 8f701bb8ff
add default sort props (#114294) (#114561)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2021-10-11 18:45:08 -04:00
Chris Cowan 3a7b66d561
[7.x] [Stack Monitoring] Adding alerts to react app (#114029) (#114538)
* [Stack Monitoring] Adding alerts to react app (#114029)

* [Stack Monitoring] Adding alerts to react app

* Fixing global state context path

* adding alerts to pages; adding alerts model to cluster_overview; removing loadAlerts from page template

* Fixing request for enable alerts

* remove loadAlerts from page template

* Adding request error handlers

* removing redundent error handling

* Changing useRequestErrorHandler function to be async due to error.response.json call

* removing old comment

* Fixing contexts paths

* Converting ajaxRequestErrorHandler to useRequestErrorHandler

* Refactoring error handler for page template and setup mode

* Removing unnecessary async/await

* Removing unnecessary async/await in useClusters

* adding alertTypeIds to each page

* fixing instance count

* Adding alertTypeIds to index page

* Adding alert filters for specific pages

* Adding alerts to Logstash nodes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Fixing types from merge

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 17:00:07 -04:00
Chris Roberson b6eb928fae
[Alerting] Allow rule types to specify a default and minimum interval (#113650) (#114547)
* WIP

* Remove test defaults

* Fix types

* Add tests

* Add missing files

* Fix issue with using default interval after user manually changed it

* PR feedback

* Fix types

* Remove debug
2021-10-11 16:46:37 -04:00
Kibana Machine d69cf14f5e
[Cases][Observability] Do not sync alerts status with case status (#114318) (#114531)
* set sync status according to disable alerts

* Adding test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com>
2021-10-11 15:18:31 -04:00
Madison Caldwell 2dde41b432
Use 'max' agg instead of 'top_hits' as we just need the timestamp field now (#113667) (#114525)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 14:41:49 -04:00
Jonathan Budzenski 10c8408d89 skip flaky suite. #114541, #114542 2021-10-11 13:32:23 -05:00
Kibana Machine ed48b1195e
[Fleet] Fix previous configuration modal title (#114475) (#114519)
* Fix previous configuration modal title

* Revert translation

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2021-10-11 14:07:37 -04:00
Kibana Machine 29c3b9668a
[Uptime] Move Monitor list histogram to async search (#113528) (#114230)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-10-11 18:04:08 +00:00
Shahzad b65a506361
[Observability] Move InspectContextProvider and utils to observability (#113842) (#114456)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-11 14:03:31 -04:00