Commit graph

57276 commits

Author SHA1 Message Date
Kibana Machine
d15ff8d8c4
[APM] Remove check for infra data (#142835) (#142973)
(cherry picked from commit b3cfd9743d)

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
2022-10-10 05:44:34 -07:00
Kibana Machine
6a5f4d36af
[Legacy Metric] should call renderComplete once for multi-value metrics (#142842) (#142964)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit a122316bdf)

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2022-10-10 04:01:46 -07:00
Kibana Machine
8a0de5562c
Add unit test for alerts table (#137843) (#142967)
* Add unit test for alerts table

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Fix tests

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 4de9d55525)

Co-authored-by: Katerina Patticha <aikaterini.patticha@elastic.co>
2022-10-10 03:50:01 -07:00
Dima Arnautov
5d68085274
[ML] Fix after all hook for Notifications tests (#142711) (#142961)
(cherry picked from commit da392153d9)

# Conflicts:
#	x-pack/test/functional/apps/ml/short_tests/notifications/notification_list.ts
2022-10-10 03:23:07 -07:00
Kibana Machine
bba1cbfa7d
Bugfix: Refresh search results when clearing category filter (#142853) (#142960)
(cherry picked from commit 022e59f241)

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2022-10-10 03:10:46 -07:00
Alexey Antonov
e73f29edfc
Fix Failing test: Jest Tests.x-pack/plugins/lens/common/expressions/time_scale - time_scale should work with relative time range (#142837) (#142937)
Closes: #142820
(cherry picked from commit 42f0868a04)
2022-10-07 04:47:15 -07:00
Alexey Antonov
9f168b7198
[Lens] [metric visualization] a column normalized by unit doesn't display properly on dashboard (#142741) (#142934)
* [Lens] [metric visualization] a column normalized by unit doesn't display properly on dashboard

Closes: #142615

* add test

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* bundle size reduction

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 4854f425c8)
2022-10-07 02:56:52 -07:00
Kibana Machine
942e082451
[RAM] Fix rule definition not showing actions of the same connector type (#142533) (#142919)
* Fix rule definition actions is incomplete

* Fix translation and tests

* Address comments and add back tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit d206d8382a)

Co-authored-by: Jiawei Wu <74562234+JiaweiWu@users.noreply.github.com>
2022-10-06 15:11:26 -07:00
Kibana Machine
41ba4d6f70
[Profiling] Fix UI discrepancies in frame information window (#142812) (#142914)
* Fix UI discrepancies in frame information window

* Fix comment

* Use source line instead

This matches with the value used in the flamegraph labels.

(cherry picked from commit 39811a3bd5)

Co-authored-by: Joseph Crail <joseph.crail@elastic.co>
2022-10-06 14:18:33 -07:00
Jonathan Budzenski
71a04e4f49 skip flaky suite. #141459 2022-10-06 15:51:17 -05:00
Kibana Machine
2c38811258
[ML] Explain Log Rate Spikes: update more groups badge for clarity (#142793) (#142899)
* update more groups badge for clarity

* update copy in tooltip and group badge

(cherry picked from commit ca04402e83)

Co-authored-by: Melissa Alvarez <melissa.alvarez@elastic.co>
2022-10-06 13:48:05 -07:00
Kibana Machine
0fbe4e065b
Fix unenroll outputs shape (#142895) (#142906)
(cherry picked from commit e794156efb)

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2022-10-06 13:16:56 -07:00
Kibana Machine
a946a4e331
[APM] checks if is serverless first in order to show java lambda metrics (#142849) (#142900)
* [APM] checks if is serverless first in order to show java lambda metrics

* addressing pr comments

(cherry picked from commit 9ceaab738a)

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2022-10-06 12:47:18 -07:00
Angela Chuang
bc6b0dc153
update wording (#142857) (#142893)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 6f92e2e948)

# Conflicts:
#	x-pack/plugins/security_solution/public/risk_score/components/enable_risk_score/translations.ts
2022-10-06 11:51:41 -07:00
Kibana Machine
f6f24103b5
[APM] Prefer span metrics over span events (#141519) (#142892)
* [APM] Prefer span metrics over span events

* [APM] Prefer span metrics over span events

* using weighted_avg when span metrics

* fixing span metrics

* throughput fix

* adding api test

(cherry picked from commit dc53a59204)

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2022-10-06 11:36:39 -07:00
Kibana Machine
ae93ba01f7
[Profiling] Avoid line-break of samples (#142322) (#142890)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ba306be80d)

Co-authored-by: Tim Rühsen <tim.ruhsen@elastic.co>
2022-10-06 11:10:54 -07:00
Kibana Machine
4476ccd896
add a dismiss to the uptime tour popup (#142879) (#142887)
(cherry picked from commit a873c3f974)

Co-authored-by: Marius Dragomir <marius-dr@users.noreply.github.com>
2022-10-06 11:00:19 -07:00
Kibana Machine
a01cdf77e2
capping ack count not to exceed total actioned count (#142848) (#142885)
(cherry picked from commit 8ce91ac4d6)

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2022-10-06 10:52:37 -07:00
Kibana Machine
ae2459a6a1
[Enterprise Search] Remove link to nowhere (#142860) (#142877)
(cherry picked from commit 0d9a9f3771)

Co-authored-by: Nav <13634519+navarone-feekery@users.noreply.github.com>
2022-10-06 09:28:15 -07:00
Kibana Machine
fffbe489a1
synthetics - unskip flaky test (#142801) (#142866)
(cherry picked from commit 8efefb11ef)

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2022-10-06 08:23:29 -07:00
Jonathan Budzenski
5b8cd84f9f Disable bazel cache on CI (#142873) 2022-10-06 10:21:38 -05:00
Kibana Machine
15a598233f
[Files] Use blurhash for images (#142493) (#142858)
* added blurhash dep

* send blurhash from client

* added blurhash to server side

* added blurhash to headers

* added hash to files headers part ii

* move custom header name to shared

* added server side test to make sure blurhash is being stored with the file

* move blurhash logic to common components logic

* wip: moving a lot of stuff around and breaking up image component to parts

* added logic for loading blurhash client-side using header values

* reorder some stuff, added http to files context for example

* added resize files test

* tweak sizes of the blurs

* removed custom blurhash header

* renamed util to blurhash

* fixed some loading states to not show alt text, updated stories to show blurhash and removed styling on container

* remove http from filescontext

* pass blurhash to image component

* improved usability of the component by passing in wrapper props and allowing consumers to set an image size the same way they can for EuiImage

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* removed all traces of blurhash field from file saved object

* create special file image metadata type

* rename blurhash files and return full image metadata

* refactor blurhash in upload state to image metadata factory

* finish refactor of blurhash file

* pass back the original image size to the metadata

* more refactoring and added some comments to the metadata type

* pass metadata type through to endpoint

* pass metadata type through on client side

* wip

* updated files example to pass through shape of metadata

* some final touches

* updated comment

* make default size original

* rename common -> util

* update import path after refactor

* update style overrides for the blurhash story

* MyImage -> Img

* fix type lints

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit dbbf3ad42b)

Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
2022-10-06 08:05:34 -07:00
Kibana Machine
40b007e9d6
[Synthetics] bump bundled package to 0.10.3 (#142650) (#142852)
* synthetics - bump bundled package to 0.10.3

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* adjust tests

* Update x-pack/test/api_integration/apis/uptime/rest/add_monitor_project.ts

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f026f5ff2a)

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2022-10-06 07:34:15 -07:00
Kibana Machine
9acd875cc2
[Files] Fix flaky file creation and deletion tests (#141753) (#142832)
* set has content to false

* [revert this] only run the flaky test

* remove .only

(cherry picked from commit 8219489639)

Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
2022-10-06 05:43:04 -07:00
Kibana Machine
565ddb4049
make sure progress bar is visible (#142699) (#142822)
(cherry picked from commit bf6a55db1b)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-10-06 03:10:51 -07:00
Kibana Machine
237173dfbb
[Profiling] Auto-abort requests (#142750) (#142817)
(cherry picked from commit c05190e516)

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2022-10-06 01:22:27 -07:00
Kibana Machine
195c2622ce
useMemo removed for simple calculations. changes to these props were not picked up if new events changed their result (#142810) (#142814)
Co-authored-by: Karl Godard <karlgodard@elastic.co>
(cherry picked from commit 275da5403f)

Co-authored-by: Karl Godard <karl.godard@elastic.co>
2022-10-05 20:49:05 -07:00
Kibana Machine
7be703762e
[CI] Use 4 parallel ESLint jobs (#142787) (#142795)
(cherry picked from commit 47354fa7d3)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2022-10-05 14:50:45 -07:00
Kibana Machine
822781c820
remove sm (#142668) (#142796)
(cherry picked from commit 35879b9006)

Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2022-10-05 16:27:16 -04:00
Kibana Machine
ee82096097
[APM] Convert AWS lambada duration to microseconds (#142504) (#142766)
(cherry picked from commit db7daf6369)

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2022-10-05 12:32:24 -07:00
Kibana Machine
bb2f4eece3
[ML] Fix bug with fields.yml not defined, add jest tests for new transform installation mechanism in Fleet (#142159) (#142754)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit a3e2af45fc)

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2022-10-05 08:50:00 -07:00
Rodney Norris
b6ddeba197
[Enterprise Search] add ml pipeline empty schema error (#142618) (#142755)
Added an error for when there are no source fields available.
Loaded a small set of default fields if we know its a connector index.

(cherry picked from commit c19ccdb96c)

# Conflicts:
#	x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/configure_pipeline.tsx
#	x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/ml_inference_logic.ts
2022-10-05 08:49:45 -07:00
Kibana Machine
3378f70cc9
[Enterprise Search] fix ml inference with api index (#142673) (#142751)
Updates the the Pipelines logic to ensure you can configure ml inference
pipelines with api-based indices.

(cherry picked from commit c9af6395b0)

Co-authored-by: Rodney Norris <rodney.norris@elastic.co>
2022-10-05 08:22:42 -07:00
Kibana Machine
b2edec6498
[Profiling] Move additional flamegraph calculations into UI (#142415) (#142747)
* Remove total and sampled traces from API

* Remove Samples array from flamegraph API

These values are redundant with CountInclusive so could be removed
without issue.

* Remove totalCount and eventsIndex

These values are no longer needed.

* Remove samples from callee tree

* Refactor columnar view model into separate file

* Add more lazy-loaded flamegraph calculations

* Fix spacing in frame label

* Remove frame information API

* Improve test coverage

* Fix type error

* Replace fnv-plus with custom 64-bit FNV1-a

* Add exceptions for linting errors

* Add workaround for frame type truncation bug

* Replace prior workaround for truncation bug

This fix supercedes the prior workaround and addresses the truncation at
its source.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c888aca9b4)

Co-authored-by: Joseph Crail <joseph.crail@elastic.co>
2022-10-05 07:32:39 -07:00
Kibana Machine
c5b9c0d90d
add back ticks on bands (#142702) (#142744)
(cherry picked from commit 322cadcbe4)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-10-05 07:07:20 -07:00
Kibana Machine
bffe2986d8
[RAM] render the grid only if we have alerts (#142481) (#142740)
(cherry picked from commit b3ebe13330)

Co-authored-by: Julian Gernun <julian.gernun@elastic.co>
2022-10-05 06:57:36 -07:00
Kibana Machine
c8344b0d5a
[Uptime] Un-skip alert flaky test (#142717) (#142743)
(cherry picked from commit 1ff66582c3)

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2022-10-05 06:49:10 -07:00
Kibana Machine
4ca557947c
[Uptime] Unskip alert flyout jest test (#142722) (#142742)
(cherry picked from commit 756bc17689)

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2022-10-05 06:48:55 -07:00
Kibana Machine
c771946a1c
Fix indefinite loading and handling of state pings for Last test run and Test Runs panels. (#142432) (#142734)
* Fix the loading behavior of "Last test run" and "Last Runs" panels on Synthetics UI -> Monitor Details -> Summary page.

* Do not show `0 ms` duration/rtt if no pings are available for a ping monitor.

(cherry picked from commit 57876a8597)

Co-authored-by: Abdul Wahab Zahid <awahab07@yahoo.com>
2022-10-05 06:33:14 -07:00
Kibana Machine
d4dadf0752
[SecuritySolution] Link to the correct subscription upgrade "page/flow" (#142630) (#142732)
* fix: link to the correct subscription upgrade "page/flow"

* test: fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 25ba3c758f)

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
2022-10-05 06:32:50 -07:00
Kibana Machine
729da476a5
Fixing flaky runSoon test (#142652) (#142733)
* Unskipping test

* Unskipping test

* Adding retries

* Cleanup

(cherry picked from commit f644fde9a5)

Co-authored-by: Ying Mao <ying.mao@elastic.co>
2022-10-05 06:17:10 -07:00
Kibana Machine
286d73cc3e
Removing esArchiver from bulkCreate (#142676) (#142729)
(cherry picked from commit 035a4337e3)

Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
2022-10-05 06:01:36 -07:00
Kibana Machine
e1696401ba
[Fleet] fix abort agent singular (#142696) (#142725)
* fix abort agent singular

* changed toast message to tag(s) updated

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c46a624d91)

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2022-10-05 05:12:18 -07:00
Kibana Machine
c6eef453a2
fix: handle the undefined case correctly (#142580) (#142634)
(cherry picked from commit 2a1df2dd7b)

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
2022-10-05 04:47:57 -07:00
Kibana Machine
1bb0d052c8
[ML] Adds extra a11y tests for anomaly detection and DFA jobs (#142589) (#142710)
(cherry picked from commit 640592a56a)

Co-authored-by: Pete Harverson <pete@elastic.co>
2022-10-05 03:57:22 -07:00
Kibana Machine
3fa9cb480c
[Enterprise Search] Fix index delete modal (#142447) (#142705)
* Disable index delete button during process

* Change cancel to close during delete process

(cherry picked from commit cc263538ad)

Co-authored-by: Nav <13634519+navarone-feekery@users.noreply.github.com>
2022-10-05 03:31:49 -07:00
Kibana Machine
77fdc2660a
Update AggConfig for nested sibling pipeline aggs (#140650) (#142700)
(cherry picked from commit 7203e303da)

Co-authored-by: Lukas Olson <lukas@elastic.co>
2022-10-05 02:45:54 -07:00
Kibana Machine
b562bb0ee9
141253 further updates to alerts on detail pages (#142669) (#142692)
* fix language on page as well as font size

* allow component to take additional filters

* add ability for AlertByStatus to accept additional filters

* update tests for Alert by Status

* remove unused import

* changes from code review

* update constant value from imported version

* fix bad test :(

Co-authored-by: Kristof-Pierre Cummings <kristofpierre.cummings@elastic.co>
(cherry picked from commit 055f1c5705)

Co-authored-by: Kristof C <kpac.ja@gmail.com>
2022-10-04 20:41:47 -07:00
Kibana Machine
b5d2bf95a1
[Onboarding][Test] Added UI Unit Test for new Onboarding fields (#142276) (#142691)
* added ui unit test for onboarding

* added 1 more unit test

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* check fail fix

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* failed check fix again

* forgot to add 1 import type

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* PR comments

* PR Comments, added more test

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 98f019a3ac)

Co-authored-by: Rickyanto Ang <rickyangwyn@gmail.com>
2022-10-04 19:29:04 -07:00
Kibana Machine
40c9ad6fdb
Update text for autotune toast (#142674) (#142688)
(cherry picked from commit dffe5131d6)

Co-authored-by: Kevin Qualters <56408403+kqualters-elastic@users.noreply.github.com>
2022-10-04 18:36:47 -07:00