Commit graph

371 commits

Author SHA1 Message Date
Chris Roberson
2f4dd53dd7
[Monitoring] Convert info button to EUI (#20828)
* Convert info button and the rest of the page to EUI

* Update other overview pages

* Use Page directive

* Give the tooltip some more space

* Add page body to a couple places

* PR feedback
2018-08-07 11:25:09 -04:00
Casper Hübertz
a80e51e658
[APM] Override EUI chart default styles for gridlines (#21723)
Reverting to APM style override for chart gridlines
2018-08-07 16:35:11 +02:00
James Gowdy
ae0f49658a
[ML] Fixing issue with historical job audit messages (#21718) 2018-08-07 14:11:08 +01:00
Chris Roberson
0d8c9d3577
[Monitoring] Convert beats overview page to use EUI components (#20765)
* Convert beats overview page to use EUI components

* More UI components for beats overview

* Set background color to white

* Update snapshots

* Add PageBody wrapper

* Update snapshots

* Use panels

* PR feedback

* Update snapshots
2018-08-06 15:51:01 -04:00
Stacey Gammon
3aa2f6c1f1
Turn reporting snapshot tests back on with new baselines (#21441)
* Turn reporting snapshot tests back on with new baselines

* Use snapshots generated from chromium.  Bump the threshold so phantom comparisons pass

* Increase timeouts because of chromium functional tests.

* remove accidentally checked in session snapshots

* add a better vis baseline, run once through at 0 to check expected threshold

* turn on verbose logs

* Use threshold, turn debug mode on in jenkins

* Wrap both convert pages in the retry

* Update baselines

Preserve layout one got messed up - it was actually a print layout.

* bump threshold even more
2018-08-06 12:29:16 -04:00
Pete Harverson
2f7c400448
[ML] Adds Jest tests for the rules editor flyout components (#21636) 2018-08-06 11:38:15 +01:00
Søren Louv-Jansen
23d8d6a022
Update beta color and remove search button (#21643) 2018-08-03 17:40:56 +02:00
James Gowdy
7659cc2489
[ML] Fixing jobs list refresh interval issue (#21593) 2018-08-02 17:16:34 +01:00
Bill McConaghy
a7f3cc99ce
accounting for angular delay in disabling input to fix test (#21530) 2018-08-02 08:09:11 -04:00
CJ Cenizal
1b9063b510
Disable flaky Shard Allocation Per Index test. (#21577) 2018-08-01 17:31:59 -07:00
Stacey Gammon
93f9251418
comment out flaky tests. (#21538) 2018-08-01 14:13:00 -04:00
Lukas Olson
9cc95aa21d
fix: do not require kuery_autocomplete in APM (#21539) 2018-08-01 08:03:41 -07:00
Nathan Reese
f256748eaa
set pause to 'true' when refresh interval is zero (#21498)
* set pause to 'true' when refresh interval is zero

* keep original assertion

* fix expect message in functional tests now that pause is set to true

* fix executorProvider mocha test
2018-08-01 09:00:41 -06:00
Nathan Reese
ef559d3199
Global time range in URL overwritten in certain situations. (#21440)
* move global state update from kbn_global_timepicker to timefilter

* add functional test

* update time and refreshInterval when either update

* use same function name from kbn_global_timepicker

* call globalState.save in context of a digest cycle

* ensure callers of registerTimefilterWithGlobalState pass in
2018-08-01 08:42:25 -06:00
Walter Rafelsberger
aabe4f13d2
[ML] Support for the rare detector for charts in anomaly explorer and singe metric viewer (#21524)
- Enables support for the rare detector for the charts in Anomaly Explorer and Single Metric Viewer.
- The charts use a count aggregation. The anomaly records for rare detectors include actual/typical values, but they don't refer to values we have for other detectors. actual is always 1 and doesn't refer to the actual count. typical has the probability as its value. To avoid confusing users by displaying these values as actual/typical in the tooltip, just the value of count of the aggregation will be shown.
- This enables the existing charts to be able to visualize rare detectors. A follow-up to this PR will introduce a specific chart for rare detectors.
2018-08-01 16:38:50 +02:00
Søren Louv-Jansen
13598bed5a
[APM] Fix column widths in EUI tables (#21490) 2018-08-01 11:25:26 +02:00
James Gowdy
0f7e35515f
[ML] Fixing lost dedicated index setting when cloning a job (#21472) 2018-07-31 15:43:35 +01:00
Chris Roberson
3dc1c2d4c2
[Monitoring] Support legacy use cases for passthrough (#21211)
* Support legacy use cases for passthrough

* Support generic case too

* Add legacy flag

* Do not format api field names in legacy mode

* Add basic test for legacy parameter

* Add more tests
2018-07-31 10:33:13 -04:00
Chris Roberson
bacbf153fc
[Monitoring] Ensure we pass down the expiry_date for the license (#21354)
* Ensure we pass down the expiry_date for the license

* Update tests

* Update fixtues

* Update fixture

* Revert "Update fixture"

This reverts commit 0a1e7a5b29.

* Revert "Update fixtues"

This reverts commit b0c0e70200.

* Revert "Update tests"

This reverts commit 6a4421bb4e.

* Revert "Ensure we pass down the expiry_date for the license"

This reverts commit 2562395a78.

* Use expiry_date_in_millis value instead of expiry_date
2018-07-31 09:44:50 -04:00
Felix Stürmer
1211efdf40
Upgrade prettier to version 1.14.0 (#21466)
This upgrades prettier to version 1.14.0. The main motivation is to gain support for the new TypeScript language features introduced in 2.9 and 3.0.

Prettier versions 1.13 and 1.14 also introduced some other JavaScript and TypeScript style improvements resulting in a few small line break and parenthesis changes.

The relevant release notes are:

* [Prettier 1.13.0 Release Notes](https://prettier.io/blog/2018/05/27/1.13.0.html)
* [Prettier 1.40.0 Release Notes](https://prettier.io/blog/2018/07/29/1.14.0.html)
2018-07-31 15:30:36 +02:00
James Gowdy
149ff8ed17
[ML] Fixing crash in fields service when user has no index permission (#21469) 2018-07-31 14:08:43 +01:00
Nathan Reese
9846120752
bump EUI to 3.2.1 (#21425)
* bump EUI to 3.2.1

* use restrictWidth instead of custom CSS
2018-07-30 16:17:05 -06:00
Chris Davies
889b4eaaff
Fix #21355, visualization controls showing up in reports (#21362)
Hide visualization controls and the feedback banner in reports
2018-07-30 14:02:52 -04:00
James Gowdy
387721723d
[ML] Fixing initial loading pane in single metric wizard (#21410) 2018-07-30 17:05:05 +01:00
Pete Harverson
a76b5d7d57
[ML] Fixes to text used on the Filter List and Rule Editor pages (#21407) 2018-07-30 16:42:18 +01:00
Lisa Cawley
2e54dacfa8
[ML] Updates URLs in job validation messages (#21361) 2018-07-30 08:04:09 -07:00
James Gowdy
943681b2ee
[ML] Fix for wizard card layout when cloning (#21403) 2018-07-30 16:03:14 +01:00
Nathan Reese
588bf14dd5
add mutation observer polyfill for jest test env (#20996)
* add mutation observer polyfill for jest test env

* use polyfill from npm

* set bluebird scheduler

* use correct version in comment about bluebird
2018-07-30 08:17:57 -06:00
Aleh Zasypkin
37d12fad03
Make /api/security/v1/login to return 204 status code if no payload is provided. (#21391) 2018-07-30 15:30:52 +02:00
James Gowdy
9fc4438fae
[ML] Fixing formatting of processed record count in jobs list (#21395) 2018-07-30 14:28:37 +01:00
James Gowdy
de7b09d118
[ML] Fixing missing tooltips on results buttons (#21352)
* [ML] Fixing missing tooltips on results buttons

* fixing button margin

* fixes button width
2018-07-30 11:19:28 +01:00
Stacey Gammon
0078e66f16
Retry the entire screenshotStitcher call (#20770)
* Retry the entire screenshotStitcher call

* Go back to a single run

* Only retry for this specific error.  Post more information including the git issue link
2018-07-28 08:38:39 -04:00
Chris Earle
30d4e70507
[Monitoring] Remove node_resolver Setting (#21181)
This is a breaking change that removes the
`xpack.monitoring.node_resolver` setting. This setting was deprecated in
5.6, and in 6.1 the setting was limited to `uuid` explicitly. Beginning in
7.0, after this is merged, the setting will no longer exist.
2018-07-27 17:42:21 -04:00
dave.snider@gmail.com
787c7a246a
EUI@3.0.3 (#21363) 2018-07-27 11:10:02 -07:00
James Gowdy
9be216d166
[ML] Fixing error bar position in advanced job page (#21336)
* [ML] Fixing error bar position in advanced job page

* renaming class
2018-07-27 13:11:09 +01:00
Søren Louv-Jansen
80a83f5b46
[APM] Kuery fixes (#21272)
* Links should have basepath

* Fix empty state messages

* Fix padding

* Fix beta label

* Change copy of beta label

* Small font size
2018-07-27 13:44:00 +02:00
James Gowdy
6c46e3b1d9
[ML] Updating invalid model memory limit message (#21329)
* [ ML] Updating invalid modal memory limit message

* changing to use template literal
2018-07-27 11:14:30 +01:00
Walter Rafelsberger
3b6c9e3195
[ML] Improves bucket span estimator stability. (#21282)
- Fixes the bucket span estimator when median is selected as a detector function. agg.type.name is median and therefor not usable for an Elasticsearch aggregation. agg.type.dslName is percentile and is the correct mapping. .dslName is also used for the aggregations used for the preview charts.
- 7.0 will introduce a search.max_buckets setting which defaults to 10000. This could lead to failing bucket estimations because the values used for creating the required aggregations could result in more buckets. This PR fixes it by taking search.max_buckets into account when calculating the time range used for the bucket estimation. (Since 6.2 that setting is available so backporting this to current unreleased minor releases 6.4 and 6.5)
2018-07-27 10:43:59 +02:00
Søren Louv-Jansen
256954259b
[APM] Fix duplicate service calls (#21271) 2018-07-27 10:43:11 +02:00
Pete Harverson
0ef0369569
[ML] Adds missing tooltips to custom URL editor buttons (#21279) 2018-07-27 09:39:07 +01:00
James Gowdy
60706bf77a
[ML] Better model memory limit validation (#21270) 2018-07-27 07:49:17 +01:00
James Gowdy
d1f6f8f71d
[ML] Displaying edit job save failures in error bar (#21268) 2018-07-26 21:09:36 +01:00
Rashmi Kulkarni
0499205f41
rbac functional ui test (#21188) 2018-07-26 08:56:20 -07:00
Pete Harverson
c16a82176d
[ML] Fixes enabled state of detector rule scope options (#21263)
* [ML] Fixes enabled state of detector rule scope options

* [ML] Edit to rule scope enabled check following review
2018-07-26 15:50:43 +01:00
Walter Rafelsberger
a121550791
[ML] Improved job validation messages. (#21191)
Improvements to job validation messages:
- Changed cardinality_over_field_low "might be less suitable" to "might not be suitable".
- Fixed documentation URLs.
- Extended categorization_filters_invalid message + documentation URL.
2018-07-26 16:32:44 +02:00
James Gowdy
a99140dad4
[ML] Clear bucket span invalid label (#21262) 2018-07-26 14:09:37 +01:00
Pete Harverson
124ec66676
[ML] Fix saving of custom URLs for job created in Advanced page (#21207)
* [ML] Fix saving of custom URLs for job created in Advanced page

* [ML] Edit to custom URL save custom_settings following review
2018-07-26 09:23:22 +01:00
Tim Sullivan
72b779c350
[Test] Add Reporting in test on kibana_stats telemetry (#21118) 2018-07-25 16:48:06 -07:00
Lukas Olson
8a6c531c69
fix: kuery autocomplete in apm (#21249) 2018-07-25 16:39:34 -07:00
dave.snider@gmail.com
b831ecf000
Prune our usage of bootstrap (#21186)
* remove bootstrap glyphicons

* remove bootstrap scaffolding

* prune type, remove code from bootstrap

* remove bootstrap breadcrumb

* remove normalize from bootstrap

* remove thumbnail from bootstrap

* remove jumbotron from bootstrap

* remove wells from bootstrap

* remove bootstrap badge
2018-07-25 15:10:56 -07:00