Commit graph

1760 commits

Author SHA1 Message Date
Kibana Machine 29f32413a8
[RAC] Store rule params in the alert document (#113429) (#113965)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alejandro Fernández Gómez <alejandro.fernandez@elastic.co>
2021-10-05 18:45:00 +00:00
Kibana Machine 7f5cd8ece6
[ci-stats] Collects additional timings for cli tools (#113030) (#113908)
* [ci-stats] Collects additional metrics about bootstrap

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* test reporting

* [ci-stats] Collects additional metrics about bootstrap

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Move ts timing to build_ts_refs_cli script

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Add timings to run

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* info debug level

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* fix build

* Move report function to dev-utils
align name of tests
report from functional test runner

* report snapshot install \ ready times
fix event names

* Report memory usage and branch hash

* fix eslint

* fix integration test

* build

* mergy merge

* mergy merge 2

* eslint

* eslint

* ready events

* Update packages/kbn-es/src/cli_commands/snapshot.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-es/src/cluster.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-es/src/cli_commands/snapshot.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/functional_tests/cli/start_servers/cli.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update src/dev/run_check_published_api_changes.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/jest/run.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update src/dev/run_i18n_check.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/functional_test_runner/cli.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* code review

* pm

* merge

* dist

* jest fix

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
2021-10-05 08:25:32 -04:00
Kibana Machine 5ce7267567
[ci] Add branch to failed test reporter github comments (#113860) (#113877)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-04 23:36:37 -04:00
Kibana Machine 3c59b9de7e
[buildkite] Fix off-by-one problem for test failure annotations (#113852) (#113869)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-04 21:55:29 -04:00
Matthew Kime 0d2fcbc1de
[7.x] [data views] Move data views api from data plugin and into its own (#113497) (#113833)
* [data views] Move data views api from data plugin and into its own (#113497)

* initial pass at moving data views into own plugin

* require expressions plugin, fix META_FIELDS reference

* bundle limits and localization

* fix integration test

* update plugin list and jest config

* type fixes

* search fixes

* fix localization

* fix mocks

* fix mocks

* fix stub

* type fixes

* fix import on test file

* path fixes

* remove shorted dotted from data plugin

* more todo removal

* eslint fixes

* eslint fix

* simplify data views server plugin

* simplify data views server plugin

* simplify data views server plugin

* fix imports on api routes

* fix imports on api routes

* update plugin list

* ts fixes

* ts fixes

* add deprecation notice

* fix circular dependency and api integration test

* fix circular dependency and api integration test

* rename types for better clarity

* path fixes

* jest.config and tsconfig cleanup

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

* localization fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-04 17:55:53 -04:00
Kibana Machine 9f95a44fe3
[@kbn/securitysolution-es-utils] remove transport API in favour of typed public API (#113717) (#113831)
* remove transport API in favour of typed public API

* put elasticsearch_client back

* fix create index call

* fix setpolicy

* fix unit tests in SecuritySolution

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-10-04 17:41:09 -04:00
Kibana Machine 98d7a37c73
[7.x] [Uptime] Run Sample uptime tests using @elastic/synthetics (#112128) (#113531)
* [Uptime] Run Sample uptime tests using @elastic/synthetics (#112128)

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

* update test according to 7.x

* revert

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
2021-10-04 16:28:53 +00:00
Kibana Machine 44b1a2e4cf
[ci-stats] Local metrics fixes (#113492) (#113710)
* Rename `{ group: 'yarn start', id: 'started' }` to `{ group: 'scripts/kibana', id: 'dev server started' }` for consistency
* Rename `{ group: '@kbn/optimizer' }` to `{ group: 'scripts/build_kibana_platform_plugins' }` for consistency
* Include email for Elastic employees
* Standardize on Unix paths
* Set `subProcess: true` if the timing is already captured by a parent.
* Move nestedTiming to global and use normalize-path

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-03 18:34:03 -04:00
Kibana Machine b91f8c8679
[logging] Upgrade ECS to 1.12 (#113583) (#113651)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-10-01 19:32:08 +00:00
Kibana Machine 538f332118
Prevent spec file updates from restarting dev server (#113336) (#113584)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 21:14:04 -04:00
Kibana Machine 6ba24fc82a
[buildkite] Improve failed test experience (#113483) (#113580)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-09-30 20:59:17 -04:00
Kibana Machine fc9fc0d687
[vscode] Set typescript.enablePromptUseWorkspaceTsdk (#113476) (#113578)
To prompt users to use the workspace configured version of Typescript.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 20:43:08 -04:00
Kibana Machine f095537175
[eslint] forbid trailing slashes in package imports (#113455) (#113558)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-30 15:29:48 -04:00
Kibana Machine 6250c39143
[Security Solution] Add host isolation exceptions UI (#111253) (#113529)
Co-authored-by: Esteban Beltran <academo@users.noreply.github.com>
2021-09-30 10:16:23 -04:00
Anton Dosov e784d49ab4
[embeddable] Don’t include test samples into initial bundle (#113126) (#113399)
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-09-29 10:39:17 -04:00
Kibana Machine 49c986fb1a
[ci-stats] Collects additional timings about bootstrap (#112919) (#113348)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-28 23:24:36 -04:00
Stacey Gammon 5d1916baae
Add a plugin directory page to the docs build (#112862) (#113314)
* Write plugin directory doc as part of api docs build.

* Replace service folder with the new name for index patterns

* Updated docs

* small update

* update docs
# Conflicts:
#	api_docs/actions.mdx
#	api_docs/apm.json
#	api_docs/core.mdx
#	api_docs/core_application.mdx
#	api_docs/core_chrome.mdx
#	api_docs/core_http.mdx
#	api_docs/core_saved_objects.mdx
#	api_docs/data.json
#	api_docs/data.mdx
#	api_docs/data_autocomplete.mdx
#	api_docs/data_data_views.json
#	api_docs/data_data_views.mdx
#	api_docs/data_query.mdx
#	api_docs/data_search.json
#	api_docs/data_search.mdx
#	api_docs/data_ui.mdx
#	api_docs/deprecations_by_api.mdx
#	api_docs/deprecations_by_plugin.mdx
#	api_docs/event_log.mdx
#	api_docs/maps.json
#	api_docs/maps.mdx
#	api_docs/maps_ems.json
#	api_docs/maps_ems.mdx
#	api_docs/observability.mdx
#	api_docs/saved_objects.json
#	api_docs/security_solution.mdx
2021-09-28 16:58:56 -04:00
Kibana Machine 9035128f6c
Bump ansi-regex from v5.0.0 to v5.0.1 (#113282) (#113303)
Co-authored-by: Thomas Watson <w@tson.dk>
2021-09-28 16:10:16 -04:00
Kibana Machine ee7521806c
Bump cypress@8.4.1 (#104301) (#113260)
Co-authored-by: Patryk Kopyciński <patryk.kopycinski@elastic.co>
2021-09-28 11:37:29 -04:00
Kibana Machine 100f04e961
[7.x] [kbn/optimizer] mangle variables in optimizer bundles (#112435) and (#113119) (#112498)
* [kbn/optimizer] mangle variables in optimizer bundles (#112435)

Co-authored-by: spalger <spalger@users.noreply.github.com>

* [optimizer] keep classnames to support constructor.name (#113119)

Co-authored-by: spalger <spalger@users.noreply.github.com>
(cherry picked from commit 6612f2b533)

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-27 20:34:49 +00:00
Thomas Neirynck ec7231d2f3
[Fleet] Add custom integrations API (#112481) (#113136)
Add a new plugin `custom_integrations`. This plugin allows for the registration of data-integrations tutorials. The Fleet-integrations app will display these alongside the existing Elastic Agent integrations.
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-09-27 14:22:57 -04:00
Anton Dosov 281727d226
[7.x] [uiActionsEnhanced] reduce bundle size (#112956) (#113114)
* [uiActionsEnhanced] reduce bundle size (#112956)

# Conflicts:
#	packages/kbn-optimizer/limits.yml

* adjust bundle limit
2021-09-27 13:19:39 -04:00
Kibana Machine 678b825df9
Bump hapi related dependencies (#112723) (#113020)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-23 16:09:34 -04:00
Kibana Machine 590d99f5e2
[APM] Ensure multiple path parameters are matched (#112958) (#113007)
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-09-23 19:04:01 +00:00
Luke Elmers ef8518d432
[7.x] Log deprecation warnings for plugins which won't be disable-able in 8.0 (#112602) (#112728) 2021-09-22 16:16:42 -04:00
Kibana Machine 55fde00998
[CI] [Buildkite] Only report test failures for hourly/daily pipelines (#112729) (#112751)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-09-21 19:51:26 -04:00
Kibana Machine e3199e61cb
[storybook] Fix Shared UI Dep paths (#112631) (#112651)
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-09-21 09:34:40 -04:00
Kibana Machine 0222d222b4
Update APM nodejs agent to v3.21.1 (#112504) (#112540)
* bump apm agent to 3.21.0

* use types provided by APM agent

* fix bazel build

* bump version to 3.21.1

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

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-09-20 10:06:24 -04:00
Tyler Smalley c16480e849
[7.x][DX] Upgrade prettier to v2.4.0 (#112359) (#112524)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:46 -07:00
Kibana Machine 039a0d4ed7
[npm] Updates Browserslist caniuse-lite database (#112523) (#112527)
* Updates Browserslist caniuse-lite database

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Revert "skip flaky suite"

This reverts commit 2fd91a4f07.

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 13:14:47 -04:00
Tyler Smalley 73b45bf54b skip flaky suite
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-18 21:22:35 -07:00
Kibana Machine 4750fbcc72
[ftr] filter configs before running to clean up log output (#112490) (#112516)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-18 03:40:42 -04:00
Spencer bd60405ec7
[kbn/ui-shared-deps] split into two packages (#110558) (#112475)
* [kbn/ui-shared-deps] split into two packages

* fix asset categorizer

* update snapshots

* reference npm dll from optimizer

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	src/plugins/interactive_setup/public/single_chars_field.tsx
#	test/scripts/jenkins_build_kibana.sh
2021-09-16 18:02:17 -04:00
Kibana Machine bc768e9f8f
Remove grunt (#111882) (#112474)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-16 17:48:57 -04:00
Brian Seeders 7a29c43dc1
[Buildkite] Hourly CI / tracked branch pipeline (#111785) (#112444)
# Conflicts:
#	test/functional/apps/bundles/index.js
#	vars/kibanaCoverage.groovy
2021-09-16 14:32:35 -04:00
Jonathan Budzenski 6260bab209
[7.x] [timelion] Move grammar to package (#111881) (#112373)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-16 12:59:21 -04:00
Cauê Marcondes 0e76f30e90
Removing old e2e (#112170) (#112358)
* removing old e2e

* removing e2e

* removing e2e

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	.github/paths-labeller.yml
2021-09-16 08:09:56 -04:00
Kibana Machine 64d99bb166
Make classnames a shared dep (#111636) (#111878)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-09-15 07:58:20 -04:00
Kibana Machine fd17b5975e
[vscode] support managing string keys and manage typescript.tsdk (#112185) (#112210)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-15 02:58:06 -04:00
Spencer 41129dbd9c
[7.x] [eslint] add rule to forbid async forEach bodies (#111637) (#112178)
* [eslint] add rule to forbid async forEach bodies (#111637)

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/event_log/server/es/init.ts

* remove unnecessary async forEach

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-14 20:33:48 -04:00
Stacey Gammon ede34a84a2
Clean up some of the API doc code (#111635) (#112085)
* Clean up api doc infra

* updated docs

* Update api dics
# Conflicts:
#	api_docs/actions.mdx
#	api_docs/alerting.json
#	api_docs/core.mdx
#	api_docs/core_application.mdx
#	api_docs/core_chrome.mdx
#	api_docs/core_http.mdx
#	api_docs/core_saved_objects.mdx
#	api_docs/data.json
#	api_docs/data.mdx
#	api_docs/data_autocomplete.mdx
#	api_docs/data_index_patterns.json
#	api_docs/data_index_patterns.mdx
#	api_docs/data_query.mdx
#	api_docs/data_search.mdx
#	api_docs/data_ui.mdx
#	api_docs/deprecations_by_api.mdx
#	api_docs/deprecations_by_plugin.mdx
#	api_docs/discover_enhanced.json
#	api_docs/expressions.mdx
#	api_docs/interactive_setup.json
#	api_docs/interactive_setup.mdx
#	api_docs/kibana_legacy.json
#	api_docs/kibana_legacy.mdx
#	api_docs/observability.json
#	api_docs/rule_registry.json
#	api_docs/saved_objects.json
#	api_docs/security_solution.json
#	api_docs/security_solution.mdx
#	api_docs/timelines.json
#	api_docs/timelines.mdx
#	api_docs/url_forwarding.json
2021-09-14 10:44:20 -04:00
Kibana Machine 2da564b308
[ci-stats] retry requests that respond with a 500 or greater (#111967) (#112014)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-13 17:18:58 -04:00
Kibana Machine b93add25cd
[yarn.lock] Dedupe babel dependencies (#111810) (#111990)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-13 15:13:07 -04:00
Uladzislau Lasitsa 7c49a2d7b7
[7.x] Timelion App removal (#110255) (#111851)
* Timelion App removal (#110255)

* Remove timelion app and stuff which related to it

* Fix CI

* Fix lint

* Fix tests

* Fix tests

* Fis tests

* Fix some comments

* Clean up

* fix CI

* fix some comments

* Fix deprecation examples

* Return `enabled` property in config for timelion vis

* Remove unused angular lib

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

* Fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-09-10 15:57:40 -04:00
Yulia Čech 98a390679c
[Console] Added information about autocomplete definitions (#105112) (#111830)
* [Console] Added information about autocomplete definitions to the README.md

* [Console] Updated README.md

* Added code review suggestions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-spec-to-console/README.md
2021-09-10 06:28:04 -04:00
Kibana Machine f2b82b28bd
[config] Deprecate KIBANA_PATH_CONF in favor of KBN_PATH_CONF (#111550) (#111791)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-09 23:23:42 +00:00
Kibana Machine c2f054f7a6
[ci] bump Jenkins worker memory and es JVM size (#111760) (#111787)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-09 20:39:43 +00:00
Kibana Machine d16d694b66
[Deprecations service] Expose level field to config deprecations (#111516) (#111720)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-09-09 11:14:47 -04:00
Kibana Machine ddfbe87593
[7.x] [APM] Use full path in route definition (#111501) (#111675)
* [APM] Use full path in route definition (#111501)

* [APM] Use new path syntax in waterfall (#111689)

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-09-09 13:07:46 +00:00
Dzmitry Lemechko 8dd4f49d9f
[jest] update config files to get coverage per plugin (#111299) (#111674)
* [jest] update config files to get coverage per plugin

* [docs] add details about plugin coverage collection

* fix path for newsfeed jest config

* fix lint error

* update documentation

* fix lint errors again

* update doc

* fix another lint error

* Update src/plugins/telemetry_management_section/jest.config.js

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

* Update src/plugins/telemetry_management_section/jest.config.js

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

* [kibana_legacy] fix path

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-ui-framework/README.md
#	src/plugins/legacy_export/jest.config.js
2021-09-09 04:47:28 -04:00