Commit graph

16 commits

Author SHA1 Message Date
Chris Roberson
1b882f02c5
Stop using usingEphemeralEncryptionKey (#88884) (#89008)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-21 14:59:08 -05:00
Yuliia Naumenko
e07d80fb64
resolved conflicts (#85218) 2020-12-07 21:30:54 -08:00
Alejandro Fernández Haro
7cd2b6c213
[7.x] [Telemetry] Move Monitoring collection strategy to a collector (#82638) (#83686)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-18 21:48:25 +00:00
Chris Roberson
454f5c2ac7
[Monitoring] Ensure alerting is optional (#79168) (#80527)
* Ensure alerting is optional

* Fix the naming

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-14 12:45:56 -04:00
Yuliia Naumenko
ac149aa0ed
Change plugin id for triggers_actions_ui to triggersActionsUi (#78555) (#79575)
* Rename triggers_actions_ui plugin id to triggersActionsUi

* Rename triggers_actions_ui plugin id to triggersActionsUi

* Removed disable linting line

* ran docs generation script

* Fixed type check issue

* FIxed eslint error

Co-authored-by: Yuliia Naumenko <yuliia.naumenko@elastic.com>

Co-authored-by: Saravanan Selvamohan <43172875+saravananselvamohan@users.noreply.github.com>
2020-10-05 16:34:19 -07:00
Chris Roberson
ee7f1042fa
[Monitoring] Usage collection (#75878) (#78537)
* First stab at some internal telemetry

* Add missing files

* mbCount telemetry

* Include more data

* Remove unused field

* This file isn't used

* Mock in tests

* Add schema

* Store schema

* Use sample cluster instead

* Fix telemetry schema

* Fix type issues

* Updates

* Fix schema and tests

* Add tests

* Add tests

* Go back to using an array

* Fix schema

* Add page view data

* Remove debug

* Handle loading scenario here

* Add delay tracking too

* Add clicks for setup mode

* Add clicks for setup mode

* Fix beats/apm page views

* Fix typings
# Conflicts:
#	x-pack/plugins/monitoring/common/constants.ts
2020-09-25 12:23:10 -04:00
Chris Roberson
d3073f37e5
[Monitoring] Added a case for Alerting if security/ssl is disabled (#71846) (#72295)
* Added a case for Alerting if security/ssl is disabled

* Code feedback

* Fixed types

Co-authored-by: igoristic <igor.zaytsev.dev@gmail.com>
2020-07-17 12:55:41 -04:00
Chris Roberson
510a68467d
[Monitoring] Out of the box alerting (#68805) (#71780)
* First draft, not quite working but a good start

* More working

* Support configuring throttle

* Get the other alerts working too

* More

* Separate into individual files

* Menu support as well as better integration in existing UIs

* Red borders!

* New overview style, and renamed alert

* more visual updates

* Update cpu usage and improve settings configuration in UI

* Convert cluster health and license expiration alert to use legacy data model

* Remove most of the custom UI and use the flyout

* Add the actual alerts

* Remove more code

* Fix formatting

* Fix up some errors

* Remove unnecessary code

* Updates

* add more links here

* Fix up linkage

* Added nodes changed alert

* Most of the version mismatch working

* Add kibana mismatch

* UI tweaks

* Add timestamp

* Support actions in the enable api

* Move this around

* Better support for changing legacy alerts

* Add missing files

* Update alerts

* Enable alerts whenever any page is visited in SM

* Tweaks

* Use more practical default

* Remove the buggy renderer and ensure setup mode can show all alerts

* Updates

* Remove unnecessary code

* Remove some dead code

* Cleanup

* Fix snapshot

* Fixes

* Fixes

* Fix test

* Add alerts to kibana and logstash listing pages

* Fix test

* Add disable/mute options

* Tweaks

* Fix linting

* Fix i18n

* Adding a couple tests

* Fix localization

* Use http

* Ensure we properly handle when an alert is resolved

* Fix tests

* Hide legacy alerts if not the right license

* Design tweaks

* Fix tests

* PR feedback

* Moar tests

* Fix i18n

* Ensure we have a control over the messaging

* Fix translations

* Tweaks

* More localization

* Copy changes

* Type
# Conflicts:
#	x-pack/plugins/monitoring/common/constants.ts
#	x-pack/plugins/monitoring/public/components/cluster/overview/alerts_panel.js
#	x-pack/plugins/monitoring/public/components/cluster/overview/index.js
#	x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js
#	x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js
#	x-pack/plugins/monitoring/public/components/kibana/instances/instances.js
#	x-pack/plugins/monitoring/server/plugin.ts
#	x-pack/test/functional/apps/monitoring/cluster/alerts.js
2020-07-14 20:13:42 -04:00
spalger
e535aa6446 Revert "Revert "[7.x] [kbn/optimizer] implement "requiredBundles" property of KP plugins (#70911) (#71355)" (#71382)"
This reverts commit c45fa3dd58.
2020-07-10 20:13:28 -07:00
Brian Seeders
c45fa3dd58
Revert "[7.x] [kbn/optimizer] implement "requiredBundles" property of KP plugins (#70911) (#71355)" (#71382)
This reverts commit 243a864359.
2020-07-10 23:07:01 -04:00
Spencer
243a864359
[7.x] [kbn/optimizer] implement "requiredBundles" property of KP plugins (#70911) (#71355)
Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-optimizer/src/integration_tests/__snapshots__/basic_optimization.test.ts.snap
#	src/plugins/embeddable/kibana.json
#	src/plugins/telemetry/kibana.json
#	src/plugins/ui_actions/kibana.json
#	x-pack/plugins/apm/kibana.json
#	x-pack/plugins/upgrade_assistant/kibana.json
2020-07-10 09:37:22 -07:00
igoristic
cfb2e71ced
Added cloud as an optional dependency (#69050) (#69086) 2020-06-12 21:15:31 -04:00
Yuliia Naumenko
3e90efa659
Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE (#66838) (#67919)
* Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE

* Changed alerting REST API to keep the pattern 'alerts/alert/{id}'

* fixed tests

* fixed tests

* Fixed jest tests

* Renamed plugin from alerting to alerts

* fixed tests

* fixed tests

* Fixed alert type check error

* Fixed find api

* fixed type checks

* fixed tests security issues

* Fixed view in app

* -

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	rfcs/text/0003_handler_interface.md
2020-06-02 07:12:52 -07:00
igoristic
12b3c36765
[7.x] [Monitoring] NP Migration complete client cutover (#62908) (#65144)
* [Monitoring] NP Migration complete client cutover (#62908)

* Final phase before the complete cutover

* NP migration

* lint fix

* More NP stuff

* Moved Stack Monitoring client plugin outside legacy and fixed all tests

* ...

* Removed unused files

* Fix for main links

* Fixed more tests

* Fixed redirect when clicking on SM icon again

* Code review feedback

* Addressed code review feedback

* Fixed return value
# Conflicts:
#	.github/CODEOWNERS
#	x-pack/legacy/plugins/monitoring/public/components/license/index.js
#	x-pack/plugins/monitoring/public/components/beats/listing/listing.js

* Fixed conflicts

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-05 14:28:04 -04:00
Alejandro Fernández Haro
be35050243
[Telemetry] Server-side Migration to NP (#60485) (#60965)
* [Telemetry] Migration to NP

* Telemetry management advanced settings section + fix import paths + dropped support for injectVars

* Fix i18nrc paths for telemetry

* Move ui_metric mappings to NP registerType

* Fixed minor test tweaks

* Add README docs (#60443)

* Add missing translation

* Update the telemetryService config only when authenticated

* start method is not a promise anymore

* Fix mocha tests

* No need to JSON.stringify the API responses

* Catch handleOldSettings as we used to do

* Deal with the forbidden use case in the optIn API

* No need to provide the plugin name in the logger.get(). It is automatically scoped + one missing CallCluster vs. APICaller type replacement

* Add empty start method in README.md to show differences with the other approach

* Telemetry collection with X-Pack README

* Docs update

* Allow monitoring collector to send its own ES client

* All collections should provide their own ES client

* PR feedback

* i18n NITs from kibana-platform feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-23 20:53:38 +00:00
Chris Roberson
8d9f39b3b1
[7.x] [Monitoring] Migrate server to NP (#56675) (#60796)
* Backport 3a396027f6

* Remove unused code
2020-03-20 20:29:05 -04:00