Commit graph

1917 commits

Author SHA1 Message Date
Tyler Smalley 4749e933b1
[vscode] Exclude api_docs directory from search and watch (#115786)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-20 12:53:19 -04:00
Jonathan Budzenski 65f3a8458a
Remove Angular (#115464)
Co-authored-by: Tim Roes <tim.roes@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 10:08:53 -07:00
Dario Gieselaar cb17ec7896
[APM] Add readme for @elastic/apm-generator (#115368) 2021-10-19 09:22:29 +02:00
Esteban Beltran 7fe095c2af
[Security Solution] Fix casing for host isolation exceptions name and hide search bar when no entries (#115349) 2021-10-18 10:37:46 -04:00
Dario Gieselaar 3cfa21db39
[APM] generator: support error events and application metrics (#115311) 2021-10-18 07:44:30 -04:00
Anton Dosov c6be6c019c
[kibanaUtils] Don't import full semver client side (#114986) 2021-10-18 13:20:44 +02:00
Luke Elmers 94aa791a49
[Breaking] Remove deprecated enabled settings from plugins. (#113495) 2021-10-17 16:54:30 +01:00
Jonathan Budzenski 7d66002da2
Bump node to 16.11.1 (#110684)
* Bump node to ^16

* fix comment

* use jest timers

* bump mock-fs

* Fix core type errors

* Unskipping tests that work on my machine

* skip new unhandled promise rejection

* Fix Nodejs v16 regression due to https://github.com/nodejs/node/issues/38924

* Fix failing concurrent connections collector test

* Fix types after merge from master

* update servicenow test

* Skip unhandledRejection tests

* Skip tests with unhandled promise rejection

* Fix discover jest failures

* bump node to 16.11.1

* revert timeout increase

* skip unhandled promise rejection

* rm jest import

* skip unhandled promise rejection

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-10-16 16:21:58 -05:00
Esteban Beltran 3e6516c986
[Security Solutions] Fix host isolation exception list showing up on the exceptions list (#114987) 2021-10-15 15:30:42 -04:00
Tiago Costa 47ce4a80a6
Revert "fix(NA): creation of multiple processes on production by splitting no_transpilation when setting up node env (#114940)"
This reverts commit 5fcc118913.
2021-10-15 19:12:51 +01:00
Tiago Costa 5fcc118913
fix(NA): creation of multiple processes on production by splitting no_transpilation when setting up node env (#114940)
* fix(NA): adds no_transpilation_dist to avoid preserve_symlinks on dist

* chore(NA): setup node env correctly on functional tests

* chore(NA): try to fix tests

* chore(NA): correctly separate split

* chore(NA): check ensure preserve symlinks need

* chore(NA): investigate path resolve result

* chore(NA): investigate path resolve result #2

* chore(NA): comment out preserve symlinks

* chore(NA): apply fs.realpathSync into the calculated REPO_ROOT paths on babel_register_for_test_plugins

* chore(NA): removes debug code

* chore(NA): move array definition

* chore(NA): correctly import fs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-15 18:06:05 +01:00
Anton Dosov 21760d4832
Improve CodeEditor wrapper (#114500) 2021-10-15 12:47:18 +02:00
Pierre Gayvallet 81ba068853
Add deprecation.skip_deprecated_settings config setting (#114751)
* Add `deprecation.skip_deprecated_settings` config setting

* fix deprecation from service

* fix existing config deprecations

* fix kbn-config unit tests

* adapt deprecation types

* fix more deprecations

* add filtering and adapt unit tests

* add service unit tests

* update generated doc

* fix telemetry unit tests

* address review comments

* add missing deprecation titles
2021-10-15 12:11:21 +02:00
Matthew Kime a935f6b723
[data views] DataViewBase now requires a title (#115082)
* dataViewBase now requires a title
2021-10-15 05:06:47 -05:00
Ahmad Bamieh d19510535a
[i18n] remove angular i18n and move the remains to monitoring plugin (#115003) 2021-10-15 12:09:19 +03:00
Tyler Smalley 0a3ede8fd1
[ci] Explicitly define tasks for ES snapshot build (#115074)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-14 15:59:02 -07:00
Aleh Zasypkin 025861c189
Add API integration tests for Interactive Setup. (#111879) 2021-10-14 20:14:01 +02:00
Stacey Gammon 45e9d51a44
Add pluginTeam to plugin API ci stats (#115007)
* Add pluginTeam to ci stats for easier higher level groupings

* Updated docs
2021-10-14 11:54:35 -04:00
Anton Dosov f598cf1ffd
Update app services bundle limits (#114789) 2021-10-14 13:46:16 +02:00
Yara Tercero 69a6cf329c
Fixing exceptions export format (#114920)
### Summary

Fixing exceptions export format and adding integration tests for it.
2021-10-13 23:32:43 -04:00
Spencer 5de36a8229
[kbn/optimizer] fix --update-limit docs (#114840)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-13 18:50:35 +01:00
Dario Gieselaar eaf25d64e4
[APM] Generate breakdown metrics (#114390)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 19:48:01 +02:00
Spencer eeed2ca6ae
[ci] filter out proc-runner logs from stdout on CI (#114568)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-13 11:03:04 -05:00
Oliver Gupte 3d75154368
[APM] Removes the apm_oss plugin and deprecates related configs (#113364)
* [APM] Removes the apm_oss plugin and deprecates related configs (#108160)

* removes commented lines

* fixes typescript errors

* performs start up migration on the saved objects mapping for apm-indices

* removes all references to the deprecated apm_oss.* config paths in APM

* fixes missing bundle error

* fixes type error

* fixes eslint error with disabled rules

* fixes saved object mappings for es_archvices for tests

* fixes eslint error

* Updates default index values to include the more general apm-*. Fixes broken tests.

* removing unused configs from the config path migration: apm_oss.indexPattern and apm_oss.fleetMode

* - replaces full index configuration paths with references in the `xpack.apm.indices` namespace
- removes mergeConfig function and test

* fixes proxy mock object in unit test

* fixes linting issues

* PR feedback and failed test

* changes the configs at `xpack.apm.indices.*` from plural to singular to match `processor.event` values
2021-10-13 03:16:21 -04:00
Tiago Costa ad9c1588e6
chore(NA): improve kbn-ui-shared-deps-npm split (#114557)
* chore(NA): remove elastic-datemath from kbn-ui-shared-deps-npm

* chore(NA): remove @kbn deps on kbn ui shared deps npm

* chore(NA): missing peer dep to build kbn ui shared deps npm

* chore(NA): general improvements for kbn ui shared deps npm

* chore(NA): remove min size chunks plugin

* chore(NA): remove split chunks

* chore(NA): improve dep declaring on kbn-ui-shared-deps-src

* chore(NA): remove typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-13 02:50:49 +01:00
Tyler Smalley 690c25112c
[ci-metrics] Use git rev-parse for branch (#114736)
--show-current was added in 2.22, which is still relatively new.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-12 21:17:01 -04:00
Tyler Smalley 7290b6936a
[ci] Updates APM server (#114588)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-12 13:58:12 -07:00
Spencer 7c087fea82
[ci-stats] support sending meta with metrics (#114198)
* [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>
2021-10-11 23:01:02 -05:00
Stacey Gammon 8e72e17648
api docs (#114565) 2021-10-11 19:46:01 -04:00
Spencer 912eb0d937
[ftr] ensure indentation is reset between configs (#114359)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 00:29:10 +01:00
Clint Andrew Hall 25fef38f12
[fleet][ui] Fix offset image; scrollbar flashing; missing assets in Stories (#114406) 2021-10-11 11:19:00 +02:00
Spencer 032473ba29
[ci-stats-reporter] ensure HTTP adapter is used (#114367)
* [ci-stats-reporter] ensure HTTP adapter is used

* update kbn/pm dist

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-08 17:52:44 -05:00
Spencer b06e6db2f5
[kbn/optimizer] log about high-level optimizer progress (#103354)
* [kbn/optimizer] log about high-level optimizer progress

* restore logOptimizerProgress helper to fix tests

* fix lint error

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-08 16:27:33 -04:00
Yaroslav Kuznietsov 2498b6212c
[MetricVis] Move the expression function and renderer to a separate plugin. (#113427)
* Added expressionMetricVis plugin.

* splitted metric vis_type and expression.

* Fixed check errors.

* Fixed plugin docs.

* updated snapshots.

* Added code owner to expressionMetricVis.

* updated chart docs.

* Changed the `Metric` type export.

* Added storybook.

* Added bucket story.

* Added without label story.

* Added "with custom font size" story.

* Added other stories.

* Added DatatableColumn accessors.

* Replaced Metric with MetricOptions.

* Fixed MetricOptions.any

* updated the check of min/max existence.

* Updated function/renderer names.

metricRenderer -> metricVisRenderer
metricFunction -> metricVisFunction

* updated snapshot.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-08 08:42:44 +03:00
Brian Seeders 62dfd2321d
[CI] Add failure count and github issue link to new failed test page (#114138) 2021-10-07 19:18:40 +01:00
Joe Portner 64f37e7414
Remove securityOss plugin (#113946) 2021-10-07 17:57:37 +02:00
Dario Gieselaar ea160a5072
[APM] Trace generation library (#113764) 2021-10-07 13:04:00 +02:00
Spencer b9f0965381
[failed-test-reporter/es-config] add new sub-fields in mapping (#114200)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-07 00:12:46 -05:00
Matthew Kime 202980e887
[data views] clarify field subtype typescript types (#112499)
* separate out multi and nested subTypes

* separate out multi and nested subTypes

* add undefined checks

* remove expect error statements

* use helper functions in es-query

* simplify changes with helper functions

* checking existence instead of getting value x2

* simplify types and revert discover changes

* update discover sidebar with helper methods

* try helpers with group_fields file

* try different helper with group_fields file

* revert group field changes, try nested field helpers

* revert nested field changes, try field_name.tsx helpers

* fix maps jest test

* use helpers in discover instead of setting types

* fix field_name.tsx

* Update index_pattern_util.test.ts

* lint  fix

* fix common exports

* reduce data_views plugin bundle size

* reduce data_views plugin bundle size

* remove discover reliance on es-query package

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 23:13:21 -05:00
Stacey Gammon 6723fa583f
Add packages to our API documentation (#113564)
* Add packages

* Update docs

* Fix test and types

* debug heap size

* remove debug heap line

* updated docs
2021-10-06 17:02:57 -04:00
Luke Elmers f030960c98
[logging] Upgrade ECS to 8.0 (#113662) 2021-10-06 14:37:43 -04:00
Peter Pisljar 1a577dfbfa
filter types (#111269) 2021-10-06 17:46:54 +02:00
Tyler Smalley b59e3ff460
[vscode] Set typescript.tsserver.maxTsServerMemory (#113959)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-06 08:11:12 -07:00
Tiago Costa e594deed5a
fix(NA): @kbn/monaco types exports (#113937) 2021-10-06 15:05:39 +01:00
Dario Gieselaar 6aade8f0eb
[APM] Ensure refresh button works (#112652)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 13:03:09 +02:00
Pierre Gayvallet 58bab9105c
Expose current branch and version to config deprecation providers (#113600)
* Expose deprecation context to config deprecations

* fix import

* add correct doc annotations

* fix another test file

* update generated doc

* fix yet another test file

* fix more types

* add proper mock

* fix import
2021-10-06 10:58:34 +02:00
Christiane (Tina) Heiligers 67be0a8e68
Removes unused and renamed deprecated core settings and deprecated settings from core plugins (#113653)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 12:30:49 -07:00
Alejandro Fernández Gómez 685f58579d
[RAC] Store rule params in the alert document (#113429)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 18:21:30 +02:00
Pierre Gayvallet a4b74bd398
[8.0] Remove legacy logging (#112305)
* remove kbn-legacy-logging package

* remove legacy service

* remove legacy appender

* remove LegacyObjectToConfigAdapter

* gix types

* remove @hapi/good / @hapi/good-squeeze / @hapi/podium

* remove `default` appender validation for `root` logger

* remove old config key from kibana-docker

* fix FTR config

* fix dev server

* remove reference from readme

* fix unit test

* clean CLI args and remove quiet option

* fix type

* fix status test config

* remove from test config

* fix snapshot

* use another regexp

* update generated doc

* fix createRootWithSettings

* fix some integration tests

* another IT fix

* yet another IT fix

* (will be reverted) add assertion for CI failure

* Revert "(will be reverted) add assertion for CI failure"

This reverts commit 78d5560f9e.

* switch back to json layout for test

* remove legacy logging config deprecations

* address some review comments

* update documentation

* update kibana.yml config examples

* add config example for `metrics.ops`

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 13:30:56 +02:00
Liza Katz b62566da33
[ci-stats] Collects additional timings for cli tools (#113030)
* [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>
2021-10-05 12:57:40 +03:00