Nick Partridge
7ce80f4c7f
Restores default chart timezone
to 'local'
( #123265 )
...
* fix timezone changes
* fix failing checks and type errors
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-23 21:08:16 +01:00
Dominique Clarke
bbefaf052e
[Uptime] handle null duration on ping list ( #125438 ) ( #125552 )
...
* uptime - handle null duration
* adjust types
* Update x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts
* raise per page of synthetics monitors
* Remove tooltip
(cherry picked from commit 52e9c51d15
)
# Conflicts:
# x-pack/plugins/uptime/public/components/monitor/ping_list/ping_list_table.tsx
# x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx
# x-pack/plugins/uptime/server/lib/synthetics_service/synthetics_service.ts
2022-02-14 12:16:45 -07:00
Brandon Kobel
8f2596cd20
Adjusting uptime readonly feature ( #125031 ) ( #125081 )
...
* Adjusting uptime readonly feature
* Missed another occurrence, good call Xavier
(cherry picked from commit 7dfc395423
)
# Conflicts:
# x-pack/plugins/uptime/server/kibana.index.ts
2022-02-09 08:53:35 -07:00
Dominique Clarke
dee9010e62
[8.0] [Uptime] Update functional test directory to use a pinned version of package registry via docker ( #117736 ) ( #123823 )
...
* [Uptime] Update functional test directory to use a pinned version of package registry via docker (#117736 )
* update functional test directory to use a pinned version of package registry via docker
* remove console log
* adjust config
* skip synthetics tests if no docker image
* remove extra configs
* move synthetics tests to a different directory
* update tests
* update tests
* remove duplicate tests
* update helpers
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts
* Update x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts
2022-01-26 09:10:49 -07:00
Marco Vettorello
676b061ad8
[charts] Fix timezone regression in charts ( #123663 )
2022-01-25 10:04:23 +01:00
Shahzad
727cf5c6a2
[8.0] [Exploratory view] Update index pattern permission error ( #122680 ) ( #123589 )
...
* [Exploratory view] Update index pattern permission error (#122680 )
(cherry picked from commit 5ad36d2a93
)
* fix typo
* fix type
2022-01-24 05:50:22 -07:00
Brian Seeders
8b2db69a3e
Revert "[charts] Fix timezone regression in charts ( #123478 )"
...
This reverts commit 3e3b0f79ff
.
2022-01-21 11:15:45 -05:00
Marco Vettorello
3e3b0f79ff
[charts] Fix timezone regression in charts ( #123478 )
2022-01-21 12:54:15 +01:00
Kibana Machine
4311ccbe79
Revert "[Uptime] redirect Uptime tutorials to the Elastic Synthetics Integration ( #115229 ) ( #115470 )" ( #118986 ) ( #119328 )
...
This reverts commit c4da271859
.
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2022-01-20 16:38:58 -07:00
Lucas F. da Costa
cc7018c320
[Uptime] Avoid duplicate requests when loading monitor steps ( #121889 ) ( #123441 )
...
(cherry picked from commit e02a1f70e1
)
2022-01-20 21:22:04 +00:00
Kibana Machine
867724df77
Make duration line series use local
for time zone value. ( #123470 ) ( #123484 )
...
(cherry picked from commit 067da143b6
)
Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
2022-01-20 13:02:13 -07:00
Justin Kambic
18d3e54bcf
[Uptime] Overview link to Exploratory View should not filter by monitor ( #122907 ) ( #123262 )
...
* Modify Exploratory View link to prevent filtering by monitor from Overview page.
* Modify route match so only detail page will include monitor name filter on exploratory view link.
* Remove unnecessary comment.
(cherry picked from commit 939a642819
)
2022-01-18 11:41:29 -07:00
Justin Kambic
302f9e2569
[Uptime] Add locator to aid other plugins in linking properly to Uptime ( #123004 ) ( #123259 )
...
* Implement locator for Uptime Overview page.
* Give more descriptive name to locator ID const.
* Lazy load locator init code to reduce bundle size.
(cherry picked from commit af78c358d5
)
2022-01-18 11:29:29 -07:00
Kibana Machine
694d765515
[Uptime] Fix uptime alerting fly outs within alerting app ( #123031 ) ( #123068 )
...
(cherry picked from commit cf96e546a7
)
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2022-01-14 11:49:44 -07:00
Lucas F. da Costa
7ae3795bd8
fix: fix centered headers on desktop [ #121919 ] ( #122643 ) ( #122982 )
...
(cherry picked from commit 8f26b63d09
)
2022-01-14 04:19:21 -07:00
Kibana Machine
44391b7aa4
[Uptime] fix step detail on mobile resolutions [ fix #121919 ] ( #122171 ) ( #122551 )
...
(cherry picked from commit 91cea8afec
)
Co-authored-by: Lucas F. da Costa <lucas@lucasfcosta.com>
2022-01-10 09:16:20 -07:00
Kibana Machine
c6f8b2f7a0
Prevent event propagation on step_duration ( #122039 ) ( #122065 )
...
Co-authored-by: Emilio Alvarez Piñeiro <95703246+emilioalvap@users.noreply.github.com>
2021-12-28 03:57:31 -07:00
Justin Kambic
3ee6fa4546
[8.0] [Uptime] Drop requests for overview page data when filter not initialized ( #120031 ) ( #121698 )
...
* [Uptime] Drop requests for overview page data when filter not initialized (#120031 )
* Drop requests for overview page data when the value for the es filters has not been initially set.
* Update to not wait when no filters are defined.
* Add tests and clean up some files.
* Delete unneeded code.
* Reduce check condition to single boolean value to avoid triggering effect multiple times.
* Simplify implementation, fix race. Update tests and fix types.
* Make `useOverviewFilterCheck` consider kuery search as well.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# x-pack/plugins/uptime/public/lib/helper/rtl_helpers.tsx
* Fix linting errors.
2021-12-21 08:05:59 -07:00
Kibana Machine
d8cb6f164b
mark experimental fields ( #120904 ) ( #121618 )
...
* temp trying out stuff
* cleanup
* use experimentalFieldMap
* fix experimental component template export name
* clean up
* remove experimental field names from kbn package
* remove experimental_rule_data_field_names
* fix typescript errors & cleanup
* remove experimental_component_template
* bring back alert rule parameters
* add experimentalRuleFieldMap to apm and uptime componentTemplates
* parse experimental fields
* fix linter problem
* parse exact fieldmap
* fix linter issues
* use exact combinator for the required fieldmap
* pass only alert experimental fields to stop overriding already parsed alerts
* remove experimental fields from observability rule type registry
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: mgiota <giota85@gmail.com>
2021-12-20 03:20:42 -07:00
Kibana Machine
06be872e20
[8.0] [Uptime] Disable 'Create Rule' button when user doesn't have uptime write permissions [ #118404 ] ( #120379 ) ( #121163 )
...
* [Uptime] Disable 'Create Rule' button when user doesn't have uptime write permissions [#118404 ] (#120379 )
* [Uptime] Disable 'Create Rule' button when user doesn't have uptime write permissions [#118404 ]
Before this commit, users would be able to open the flyout to create an
alert and would end-up seeing an error toast when they tried to save it.
This commit will now disable the create alert button when the user
doesn't have permissions to write to Uptime. It will also display a
helpful tooltip.
* [Uptime] Disable "Enable Anomaly Alert" when users can't write to uptime [#118404 ]
This commit causes users not to be able to use the "Enable Anomaly
Alert" button within the popover in the monitors screen. That button
will now be disabled and contain an informative tooltip whenever users
don't have permissions to write to Uptime.
We've chosen to take this approach so that we don't have to modify the
component which deals with the alert creation, which belongs to another
team and that we plan on eventually replacing. Furthermore, this pattern
is already used in the logs app.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* add missing useKibana hook to ML Flyout Container for detecting uptime write permissions
Co-authored-by: Lucas F. da Costa <lucas@lucasfcosta.com>
Co-authored-by: Lucas Fernandes da Costa <lucas.costa@elastic.co>
2021-12-16 05:35:17 -07:00
Kibana Machine
cff37e2917
stop indexing severity value in uptime ( #120873 ) ( #120910 )
...
Co-authored-by: mgiota <giota85@gmail.com>
2021-12-09 08:24:58 -07:00
Kibana Machine
9e34c53956
[Uptime] get last successful check instead of last successful step ( #118883 ) ( #120844 )
...
* get last successful check instead of last successful step
* adjust types
* adjust query
* remove change to get_pings
* adjust imports
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-12-08 15:38:05 -07:00
Kibana Machine
15e4eb0b9d
[Uptime] Added step duraion in step list ( #116266 ) ( #120755 )
...
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-12-08 07:06:54 -07:00
Kibana Machine
e62439dbfc
[Synthetics Integration] add enabled toggle ( #119994 ) ( #120539 )
...
* add enabled toggle
* adjust types
* adjust types
* add wrapper for simple fields
* adjust icmp simple fields
* Update x-pack/plugins/uptime/public/components/fleet_package/custom_fields.test.tsx
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-12-07 21:38:04 -07:00
Kibana Machine
4e9ddacb5d
[Uptime] Use authorised saved object client for api key ( #120457 ) ( #120594 )
...
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-12-07 05:32:05 -07:00
Dominique Clarke
0e9baa16de
Creating io-ts types for synthetics monitors. ( #120105 ) ( #120524 )
...
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
Co-authored-by: shahzad31 <shahzad.muhammad@elastic.co>
Co-authored-by: Abdul Wahab Zahid <awahab07@yahoo.com>
Co-authored-by: shahzad31 <shahzad.muhammad@elastic.co>
2021-12-06 11:17:18 -07:00
Kibana Machine
03a203dfb7
[Uptime] Add throttling parameters to the Fleet UI ( #118594 ) ( #120502 )
...
* [Uptime] add throttling parameters to the browser synthetic monitor form
This commit adds three fields to the browser synthetic monitor creation
form, these fields are: `download_speed`, `upload_speed`, and `latency`.
Each of these fields is used to test how applications behave under
particular network conditions.
This commit closes #114155 .
* [Uptime] add functional tests for synthetic monitors throttling fields
* [Uptime] add toggling for throttling fields
* [Uptime] add normalizer for editing browser throttling fields
Co-authored-by: Lucas F. da Costa <lucas@lucasfcosta.com>
2021-12-06 09:29:15 -07:00
Shahzad
fbebe24060
[Uptimes] Push configs to service ( #120069 ) ( #120458 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-06 04:23:58 -07:00
Kibana Machine
76b9cd891c
[Uptime] [Synthetics Service] Scheduled task to sync saved monitor objects ( #119359 ) ( #120068 )
...
Co-authored-by: Abdul Wahab Zahid <awahab07@yahoo.com>
2021-12-01 03:17:26 -07:00
Kibana Machine
fdff04e46f
[Uptime] add basic monitor adding behavior ( #119965 ) ( #120011 )
...
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-11-30 13:04:39 -07:00
Kibana Machine
d3c7fe8829
[Uptime synthetics service] Skip api key on startup ( #119990 ) ( #120009 )
...
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-11-30 13:00:17 -07:00
Kibana Machine
e995ad515f
[Uptime] add monitor edit and add pages ( #118947 ) ( #119912 )
...
* add monitor edit and add pages
* remove unused imports
* remove unexpected console log
* remove unused values
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-11-30 11:43:01 -07:00
Kibana Machine
f32d32676d
Make console log outputs multiline. ( #119675 ) ( #119991 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
2021-11-30 11:17:42 -07:00
Kibana Machine
8324c851e9
[Uptime] Route to get service locations and a handler ( #119964 ) ( #119988 )
...
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-11-30 11:10:10 -07:00
Kibana Machine
fcc8a72d62
[Uptime] Added a synthetics service handler in uptime ( #119843 ) ( #119961 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-11-30 07:59:11 -07:00
Kibana Machine
386835778e
[Uptime] Monitor management stub crud routes ( #119800 ) ( #119865 )
...
* fix uptime config key
* crud routes
* prefix
* test wip
* add tests
* revert
* fixed path
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-11-29 11:49:14 -07:00
Shahzad
b605837bcf
[Uptime] Setup synthetics index template ( #119727 ) ( #119854 )
2021-11-29 09:56:09 -07:00
Kibana Machine
ae1e5b00b7
[Uptime] Inform users when they can't create ML jobs ( closes #107994 ) ( #117684 ) ( #119839 )
...
Previously, if users weren't able to create an ML job, they would simply
be shown a grayed-out button.
Showing this disabled button without explaining _why_ they cannot create
ML jobs could be confusing. Therefore, this commit adds a proper callout
explaining which roles and privileges are necessary.
Co-authored-by: Lucas F. da Costa <lucas@lucasfcosta.com>
2021-11-29 07:47:56 -07:00
Shahzad
f6b4d051d1
[Uptime] Determine es hosts from synthetics service ( #119708 ) ( #119779 )
2021-11-26 09:22:13 -07:00
Shahzad
0ad7556dc2
[Uptime] Generate api key for synthetics service ( #119590 ) ( #119758 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-25 13:54:55 -07:00
Shahzad
a086bd8fc1
[Uptime] hide UI Monitor Management features behind feature flag ( #119559 ) ( #119752 )
...
* hide ui monitor management features behind feature flag
* adjust tests
* adjust content
* adjust rtl_helpers
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-11-25 11:37:40 -07:00
Tiago Costa
beb041b24f
[8.0] chore(NA): splits types from code on @kbn/i18n ( #119256 ) ( #119649 )
...
* chore(NA): splits types from code on @kbn/i18n (#119256 )
* chore(NA): auto creation of the package.json for the new types pkg rule
* chore(NA): first alpha api extractor working version
* chore(NA): support kbn-analytics
* chore(NA): correctly read tsconfig files and deps from ts_config rule
* chore(NA): layed out pkg_npm_types tree artifact custom rule
* chore(NA): missing todos
* chore(NA): node modules link mapping
* chore(NA): fully working pkg_npm_types rule
* chore(NA): fix changes on new packages using elastic datemath pkgs
* docs(NA): remove todo
* docs(NA): last todo text correction
* chore(NA): removed commented lines
* fix(NA): include missing package version
* chore(NA): include license keys
* chore(NA): change mock types package into private
* chore(NA): disable validator on ts_project rule
* chore(NA): use the wrapper for ts_project
* commit using @elastic.co
* chore(NA): commit using @elastic.co
* chore(NA): split types from code on @kbn/i18n
* chore(NA): update yarn.lock file
* chore(NA): split @kbn/i18n and @kbn/i18n-react
* chore(NA): missing import fix
* chore(NA): fix jest project configs
* chore(NA): change imports on kbn i18n
* chore(NA): change imports on kbn i18n
* chore(NA): correct loader imports
* chore(NA): missnig i18nLoader export key
* chore(NA): fix type exports
* chore(NA): export type only
* chore(NA): export type only
* fix(NA): type exports
* chore(NA): missing @Kbn/i18n/react imports
* chore(NA): missing skip path for kbn-i18n-react
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# package.json
# packages/BUILD.bazel
# packages/kbn-monaco/BUILD.bazel
# src/core/public/core_app/status/components/server_status.tsx
# src/core/public/core_app/status/components/status_table.tsx
# src/core/public/core_app/status/components/version_header.tsx
# src/core/public/core_app/status/status_app.tsx
# src/plugins/console/public/application/components/storage_quota_error.tsx
# src/plugins/dashboard/public/application/listing/dashboard_listing.tsx
# src/plugins/data_view_field_editor/public/components/field_editor/form_fields/script_field.tsx
# src/plugins/dev_tools/public/application.tsx
# src/plugins/discover/public/application/apps/context/context_app_route.tsx
# src/plugins/discover/public/application/apps/doc/single_doc_route.tsx
# src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row_details.tsx
# src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx
# src/plugins/discover/public/application/components/table/table_columns.tsx
# src/plugins/discover/public/application/components/table/table_row_btn_filter_remove.tsx
# src/plugins/discover/public/application/components/table/table_row_btn_toggle_column.tsx
# src/plugins/index_pattern_editor/public/open_editor.tsx
# src/plugins/interactive_setup/public/plugin.tsx
# src/plugins/kibana_overview/public/application.tsx
# src/plugins/kibana_react/public/util/to_mount_point.tsx
# src/plugins/presentation_util/public/components/field_picker/field_search.tsx
# src/plugins/vis_types/timeseries/public/timeseries_vis_renderer.tsx
# src/plugins/vis_types/xy/public/vis_renderer.tsx
# src/plugins/visualizations/public/wizard/show_new_vis.tsx
# x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/error_display.tsx
# x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/instructions.tsx
# x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/main.tsx
# x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_csv_uploader.tsx
# x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/pipelines_preview.tsx
# x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/empty_list.tsx
# x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx
# x-pack/plugins/lens/public/indexpattern_datasource/utils.tsx
# x-pack/plugins/lens/public/metric_visualization/visualization.tsx
# x-pack/plugins/lens/public/pie_visualization/render_function.tsx
# x-pack/plugins/maps/public/classes/sources/ems_tms_source/update_source_editor.js
# x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx
# x-pack/plugins/security/public/authentication/access_agreement/access_agreement_page.tsx
# x-pack/plugins/security/public/authentication/logged_out/logged_out_page.tsx
# x-pack/plugins/security/public/authentication/login/login_page.tsx
# x-pack/plugins/security/public/authentication/overwritten_session/overwritten_session_page.tsx
# x-pack/plugins/security/public/management/users/users_management_app.tsx
# x-pack/plugins/security_solution/public/management/pages/event_filters/view/components/form/index.tsx
# x-pack/plugins/spaces/public/space_selector/space_selector.tsx
# yarn.lock
* chore(NA): missing @kbn/i18n/react imports
2021-11-24 12:19:43 -07:00
Kibana Machine
35fce3880d
fix uptime config key ( #119631 ) ( #119636 )
...
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-11-24 09:55:18 -07:00
Kibana Machine
3a010eaf6d
[8.0] [Uptime] Synthetics monitor saved object ( #119318 ) ( #119447 )
...
* [Uptime] Synthetics monitor saved object (#119318 )
* Synthetic service feature flag (#119446 )
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-11-24 07:32:30 -07:00
Kibana Machine
3d083b6349
[Uptime] Look for complete down check in the monitor status alert rule ( #118999 ) ( #119536 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-11-23 13:56:55 -07:00
Kibana Machine
7308001309
[Uptime] Fix TLS alert query ( #119451 ) ( #119525 )
...
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-11-23 12:36:16 -07:00
Kibana Machine
7d5de86dc9
[Uptime] Show all recorded Layout Shifts ( #119376 ) ( #118569 ) ( #119485 )
...
Show all LayoutShifts and remove usage of CLS for time bound metrics.
#118569
Co-authored-by: Abdul Wahab Zahid <awahab07@yahoo.com>
2021-11-23 09:20:39 -07:00
Kibana Machine
40e06e6de4
[Uptime] Allow users to save uptime settings with _inspect on [ Fixes #116368 ] ( #119142 ) ( #119327 )
...
This commit allows users to save uptime settings when they've got the
advanced setting to inspect ES queries turned on. Previously, it was not
possible to save these settings because the UI would not strip out the
unnecessary `_inspect` field from the response and thus would send it as
part of the configurations to change, which would then get refused
because of this unexpected field.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lucas F. da Costa <lucas@lucasfcosta.com>
2021-11-22 09:27:23 -07:00
Kibana Machine
b733af73aa
[Exploratory view] Remove experimental bage ( #119275 ) ( #119325 )
...
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-11-22 09:22:51 -07:00
Kibana Machine
0329c62b52
[Uptime] Add 7*
to supported index pattern defaults ( #112861 ) ( #119108 )
...
* Add `7.16` to supported index pattern defaults.
* Update supported index pattern based on requirements update.
* Fix broken unit tests.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
2021-11-18 15:35:19 -07:00