Commit graph

40 commits

Author SHA1 Message Date
Shahzad
1ca19ce2c7
[Synthetics/Uptime] Better code separation (#160245)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-06-26 17:47:04 +02:00
Shahzad
a4a082271e
[Synthetics] Rename uptime plugin to synthetics (#130037)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-20 11:53:28 -07:00
Dominique Clarke
320df4b79a
[Uptime] update monitor management tour content (#130601)
* uptime - update monitor management tour content

* update tests

* update styling

* adjust tests
2022-04-19 17:41:19 -04:00
Dominique Clarke
250e3f982e
[Uptime] Unskip flaky tests (#130059)
* unskip flaky test

* move Observer location test to Synthetics e2e

* uptime - update monitor states endpoint api integration tests

* uptime - reskip flaky tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-19 12:10:19 -04:00
Dominique Clarke
269ed6bc25
[Uptime] Synthetics tests - close Monitor Management tour (#130490)
* synthetics - adjust e2e tests

* Update x-pack/plugins/uptime/e2e/journeys/alerts/tls_alert_flyouts_in_alerting_app.ts

* remove unused import
2022-04-19 10:41:33 -04:00
Shahzad
a843db30f1
[Uptime] Update monitor saved object mappings (#130433)
* update mappings

* PR feedback

* update

* update mappings

* update mappings

* port and hosts

* adjust jest test

* adjust mappings for sorting by url, name, and type

* remove unused import

* synthetics - do not make synthetics monitors exportable

* adjust tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2022-04-19 10:16:33 +02:00
spalger
3730dd0779 fix all violations 2022-04-16 01:37:30 -05:00
Shahzad
cab5277876
[Manage monitors] Added beta label (#129188)
Co-authored-by: Abdul Zahid <awahab07@yahoo.com>
2022-04-04 17:36:20 +02:00
Dominique Clarke
79d49a36d5
adjust synthetics remote functional tests (#128978)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-30 17:37:44 -04:00
Dominique Clarke
038f091311
[Uptime] allow an administrator to enable and disable monitor management (#128223)
* uptime - allow an administrator to enable monitor management

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: shahzad31 <shahzad.muhammad@elastic.co>
2022-03-29 14:47:23 -04:00
Dominique Clarke
45948d5d81
[Uptime] implement encrypted saved objects for monitor management (#127348)
* uptime - synthetics - implement encrypted saved objects for synthetics monitors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-28 15:53:10 -04:00
Shahzad
fd1c76691f
[Monitor management] Enable check for public beta (#128240)
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2022-03-24 18:50:56 +01:00
Shahzad
416580cfa4
[Monitor management] Added inline errors (#124838) 2022-03-23 21:34:00 +01:00
Lucas F. da Costa
d2c9a62e15
Enable local mtls (#127116)
* [Uptime] register synthetics service locations on startup

* [Uptime] Enable mTLS through a devUrl for the synthetics service

* [Uptime] deprecate basic auth for synthetics service

* [Uptime] move the registration of the synthetics service location to the service constructor

* re-enable basic authentication for environments other than production

* only return monitor errors if the error array is not empty

* fix: add missing username prop to ServiceAPIClient

* use UUID for the monitors in tests to prevent name conflicts

* adjust tests

* Update x-pack/plugins/uptime/server/rest_api/synthetics_service/add_monitor.ts

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>

* do not surface edit errors from the service

* do not surface delete errors from the service

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2022-03-09 15:51:39 +00:00
Xavier Mouligneau
408969601d
[RAM] Rename alerts to rules in triggers_actions_ui plugin (#125591)
* initial work to have rules in triggers actions ui

* fix functional testing

* fix unit test

* fix uptime type

* fix scss import due to name changed

* fix lint

* fix monitoring jest test

* fix import

* fix translations

* fix functional testing

* fix functional testing II

* fix functional testing III

* fix functional testing IV

* fix check type

* review I

* fix check types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-24 09:30:30 -05:00
Dominique Clarke
ae58a57df9
[Uptime] Adjust monitor frequency in UI Monitor Management table (#125841)
* adjust monitor frequency

* rename monitor interval to frequency

* adjust e2e tests

* adjust e2e tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-22 15:37:12 -05:00
Dominique Clarke
9afca7332f
synthetics e2e - use custom location when defined (#125560) 2022-02-14 14:35:57 -05:00
Dominique Clarke
f1fcbe7f54
[Uptime] Monitor Details - fallback to saved objects when monitor details are unavailable from last ping (#125333)
* uptime - synthetic service - fallback to saved objects when monitor details cannot be found

* fix monitor url

* fix tests
2022-02-11 12:31:15 -05:00
Shahzad
13d566cec3
[Uptime Monitor management] Update test configs (#125358) 2022-02-11 14:25:00 +01:00
Shahzad
74327c789d
[Uptime] Added confirm modal (#125221) 2022-02-11 11:37:32 +01:00
Emilio Alvarez Piñeiro
453e22e318
[Uptime] Fix flaky monitor details tests (#124700)
* Rewrite flaky tests to e2e pipeline, add data initialization helpers, add monitor details page object
2022-02-11 09:45:23 +01:00
Dominique Clarke
0766f1803c
[Uptime] Convert ui monitor management combobox to checkboxes (#124917)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-11 09:33:03 +01:00
Shahzad
d79ec73aeb
[Uptime Monitor management] Simplify configs (#124988) 2022-02-10 11:12:35 +01:00
Dominique Clarke
5538967ba4
[Uptime] add synthetics service sync errors (#124051)
* uptime - add synthetics sync errors

* update imports

* update content

* adjust content and flow

* update toasts

* Update x-pack/plugins/uptime/public/components/monitor_management/action_bar/action_bar_errors.test.tsx

* adjust tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-07 18:03:17 -05:00
Tiago Costa
b7e366c483
chore(NA): bump version to 8.2.0 (#124409)
* chore(NA): bump version to 8.2.0

* test(NA): update thrown error message for v8.2.0

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-02 23:21:59 +00:00
Shahzad
61133a545e
[Uptime Monitor management] Implement permissions for readonly users (#123934) 2022-02-01 17:07:06 +01:00
Shahzad
268c896315
[Uptime monitor management] Handle duplicate monitor name (#124005) 2022-02-01 14:43:56 +01:00
Shahzad
957b9dc3cd
[Uptime] Default alert connectors email settings (#123244)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-28 12:15:28 +01:00
Dominique Clarke
f197095f0b
[Uptime] Add UI Monitor Management and Synthetics Service e2e tests (#123410)
* add synthetics pipeline script

* remove artifacts step

* Revert "remove artifacts step"

This reverts commit ba751bca84.

* update pre_command and environment variables

* update grep

* update precommand and login

* update timeout

* adjust journey reusability

* adjust monitor breadcrumb journey

* adjust grep

* add logs

* update login username and password

* Update x-pack/plugins/uptime/e2e/page_objects/login.tsx

* Update .buildkite/scripts/steps/functional/synthetics.sh

* Update x-pack/plugins/uptime/scripts/e2e.js

* adjust grep

* update tests

* adjust script

* adjust journey names

* adjust grep

* increase timeout

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-26 13:54:51 -05:00
Dominique Clarke
aaefbd22aa
[Uptime] Monitor management - fix breadcrumbs (#123240)
* uptime - monitor management - fix breadcrumbs

* add synthetics breadcrumbs tests

* fix types

* update i18n
2022-01-19 18:43:16 -05:00
Dominique Clarke
5e71b39a1d
uptime - update synthetics tests kibana config (#123311) 2022-01-18 18:05:38 -05:00
Dominique Clarke
5789546067
[Uptime] UI Monitor Management/Synthetics Service e2e tests - add environment variables for service (#122552)
* add environment variables for service

* add SYNTHETICS_SERVICE_MANIFEST and basic tests

* Update x-pack/plugins/uptime/e2e/playwright_run.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-18 15:53:10 -05:00
Shahzad
5ad36d2a93
[Exploratory view] Update index pattern permission error (#122680) 2022-01-18 15:52:49 +01:00
Shahzad
cf96e546a7
[Uptime] Fix uptime alerting fly outs within alerting app (#123031) 2022-01-14 18:24:03 +01:00
Shahzad
27d0b90463
[Uptime] Added step duraion in step list (#116266) 2021-12-06 13:40:36 +01:00
Luke Elmers
a7fff86390
[saved objects] Remove migrations enableV2 config. (#115655) 2021-10-20 09:17:52 -06:00
Brian Seeders
d2c6c4104c
[buildkite] Add uptime playwright tests to PR pipeline (#115590) 2021-10-20 11:43:24 +02: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
Caroline Horn
74da7d30de
[Observability] New "No Data" screens (#107709)
Adds empty states for all of Obs that lead to their various ingest flows.
2021-10-06 08:50:10 -04:00
Shahzad
fe9b5332e1
[Uptime] Run Sample uptime tests using @elastic/synthetics (#112128)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 13:58:38 +02:00