Commit graph

1237 commits

Author SHA1 Message Date
Chris Roberson
498dfcd2ab
[Monitoring] Address shard allocation color mismatch (#34086) (#35423)
* Address mismatch and add a couple starter tests

* More tests and fixing a bug
2019-04-22 15:15:01 -04:00
Lisa Cawley
828d9c4a68
[DOCS] Fixes broken subscriptions link (#33732) 2019-04-04 14:05:43 -07:00
Jonathan Budzenski
f8c70a7e11
[logstash/pipeline-workers] show 0 when 0 (#33253) 2019-03-18 11:07:03 -05:00
Søren Louv-Jansen
ee75231ec6
[APM] Fix problems with tilde in transaction name (#33309) (#33365)
# Conflicts:
#	x-pack/plugins/apm/public/components/shared/Links/url_helpers.test.tsx
#	x-pack/plugins/apm/public/components/shared/Links/url_helpers.ts
2019-03-18 11:57:04 +01:00
LeeDr
a873451d54 bump version to 6.6.3 2019-03-12 12:53:35 -05:00
Catherine Liu
e1cdd7c8f0
Fixed merge conflict (#32857) 2019-03-11 12:03:51 -07:00
Walter Rafelsberger
f00d71c897
[6.6] [ML] Adds missing error handling to annotations request. (#32384) (#32494)
- This adds more thorough error handling to retrieving annotations from the server to avoid breaking Anomaly Explorer when there's a problem retrieving annotations. The UI will silently fail and hide the annotations table if for whatever reasons annotations cannot be retrieved for the selected jobs (this could be permissions or setup related if e.g. the annotations feature index/aliases are not present). This is now the same behavior like in Single Metric Viewer. The browser console will still output an error message. This fixes an error scenario where Anomaly Explorer would fail to load if a user upgraded to 6.6 because the backend task wasn't run yet to create the annotation index/aliases.
- Disables annotations feature in Single Metric Viewer if annotations fail to load.
- Use componentDidUpdate and an update check instead of deprecated componentWillUpdate for updating the annotations table in jobs management.
2019-03-05 21:21:05 +01:00
Joe Fleming
314933f02f
fix: supply a valid axisconfig position default (#32335) (#32363)
The previous default was an empty string, but empty strings are not valid in the expression. The code ends up using "left" or "top" (depending on the axis), so defaulting to either isn't really a change.

This fixes the following valid expression:

```
demodata | pointseries x=@timestamp y="mean(price)" | plot yaxis={axisConfig max=120}
```

Previously this would fail because the `position` default is invalid unless you specified a value.

<img width="617" alt="screenshot 2019-03-01 12 11 47" src="https://user-images.githubusercontent.com/404731/53660475-33104a80-3c1b-11e9-9a4c-a93116598e28.png">

Now it works as expected:

<img width="536" alt="screenshot 2019-03-01 12 11 03" src="https://user-images.githubusercontent.com/404731/53660440-212ea780-3c1b-11e9-8f4f-7d83a1009fd0.png">
2019-03-05 10:09:43 -07:00
Spencer
defcf021d0
[6.6] [junit] use default rootDirectory for project (#32256) (#32348)
Backports the following commits to 6.6:
 - [junit] use default rootDirectory for project  (#32256)
2019-03-01 16:06:42 -08:00
Mikhail Shustov
ccad91f42c
update @types/node to latest v10 (#32306) (#32325) 2019-03-01 19:11:03 +01:00
Pete Harverson
8cfa6f5d2d
[ML] Adds missing applyAsync to advanced job wizard page (#32186) (#32297) 2019-03-01 13:09:38 +00:00
Pete Harverson
9bdfce3b99
[ML] Fix for Explorer time range when selected jobs have no data (#31093) (#32192) 2019-03-01 09:45:28 +00:00
Chris Roberson
7660ee0313
Backport #29757 to 6.6 (#31942) 2019-02-25 14:52:27 -05:00
Søren Louv-Jansen
82c40a2487
[APM] Avoid crashing transaction details page if trace duration is 0 (#31799) (#31853)
* [APM] Avoid crashing transaction details page if trace duration is 0

* Remove snapshot
2019-02-23 00:15:14 +01:00
Søren Louv-Jansen
28372b55fe
[APM] Show metric-only services in service overview (#30397) (#31789) 2019-02-22 11:06:56 +01:00
CJ Cenizal
9038bf42d5
Fix bug where rollup job search would display an empty prompt if no jobs matched the search. (#31642) (#31769)
* Internationalize and refine message.
2019-02-21 19:35:16 -08:00
Jonathan Budzenski
caf5e6449f
[monitoring] only start bulk uploader once (#31307) 2019-02-21 11:30:46 -06:00
James Gowdy
c4a4b96995
[ML] File data visualizer - setting default number of shards (#31567) (#31671) 2019-02-21 09:55:51 +00:00
Sébastien Loix
bd7732cb1c
[Watcher] Add Index, HipChat, PagerDuty, and Jira Action types on the client (#30043) (#31560) 2019-02-21 06:26:33 +01:00
LeeDr
15863c7647 bump version to 6.6.2 2019-02-19 12:39:08 -06:00
Walter Rafelsberger
efede71de5
[6.6] [ML] Fine-tune event distribution chart data fetching. (#31179) (#31254)
* Reduces `shard_size` for the `sampler` aggregation from `50000` to `20000`.
* Sets `precision_threshold` for `cardinality` aggregations to `100`.
* Fixes a bug where `distinct_count` was used instead of `cardinality` for the check whether to apply normalizaton.
* Fixes normalization for `7.x` and above by adding `rest_total_hits_as_int: true`.
* Tweaks the text for chart's info tooltip.
2019-02-15 21:00:23 +01:00
Shaunak Kashyap
e6fd46e304
[6.6] Using POST instead of DELETE for bulk deletion of pipelines (#31023) (#31206)
Backports the following commits to 6.6:
 - Using POST instead of DELETE for bulk deletion of pipelines  (#31023)
2019-02-14 14:58:14 -08:00
James Gowdy
5fd9aa225d
[ML] Fixing issue when selecting new job to continue in real time (#30948) 2019-02-13 23:29:59 +00:00
Bill McConaghy
442b00b1fc
fixing watch delete (#30989) (#31007) 2019-02-13 14:36:16 -05:00
Lukas Olson
edc8768337
[6.6] [KQL] Support matching field names with newlines (#30858)
* Use 's' instead of 'm' to match newlines instead of doing multi-line

* Fix autocomplete suggestions to handle newlines and tabs in field names

* Add line feed to escaped whitespace
2019-02-13 10:44:45 -07:00
Spencer
f8df700363
[6.6] [yarn] upgrade elasticsearch-js (#30300)
Backports the following commits to 6.6:
 - [yarn] upgrade elasticsearch-js (#30294)
2019-02-06 18:11:23 -08:00
Walter Rafelsberger
538458a968
[6.6] [ML] Adds jest tests for annotation_service. (#30193) (#30203)
This adds tests to `server/models/annotation_service`. The tests include a check if the `.key` attribute of an annotation is properly removed from an annotation before indexing it.
2019-02-06 18:45:05 +01:00
Walter Rafelsberger
93bed95f74
[ML] Remove key attribute from annotation before indexing. (#30183) (#30188)
The UI adds a `key` attribute to annotation objects to store the letter used for labels in the chart and tables. When editing and saving an annotation that `key` could end up being saved to the annotations index. This isn't necesseary since the `key` attribute is just a dynamic label used within the UI. This fixes it by deleting an eventual `key` attribute from the annotations object before saving it to the index.
2019-02-06 12:17:07 +01:00
Jen Huang
9c961af896
Enable orderBy and orderAgg in vis editor for rollup visualizations (#29894) (#30144) 2019-02-05 14:41:25 -08:00
Walter Rafelsberger
1ede80962b
[6.6] [ML] Fixes annotations integrity check. (#30102) (#30120)
With security enabled, the internal user wouldn't have enough permissions to run the integrity check. This changes the check to use the currently logged in user. Also fixes some typos in messages.
2019-02-05 21:39:37 +01:00
Walter Rafelsberger
d8bb369f7e
[ML] Adds an integrity check to creating, updating and deleting annotations. (#29969) (#30046)
Adds an integrity check to make sure the required index and aliases are present before creating, updating or deleting annotations.
2019-02-05 11:02:03 +01:00
Jonathan Budzenski
a0b806cd6d
Fix plugin deprecations (#29737)
* [deprecations] convert flattened settings to nested settings

* [deprecations] reuse rename method for elasticsearch.url to elasticsearch.hosts

* newline

* add known issues to docs
2019-02-04 13:31:50 -06:00
Sébastien Loix
6b3170a8e7
[Watcher] Add missing Action types on client (#29818) (#29942)
* Add missing Webhook action on client.

Fixes #29787
2019-02-04 14:13:30 +01:00
James Gowdy
ed26c21b43
[ML] Fixing data recognizer panel refresh on new job page (#29701) (#29716) 2019-01-31 14:55:02 +00:00
Pete Harverson
5fea211f27
use intl.formatMessage instead FormattedMessage component (#29251) (#29696) 2019-01-31 11:37:37 +00:00
Pete Harverson
1bdc540ae8
[ML] Fixes influencer swimlane query when value is only whitespace (#28769) (#29695) 2019-01-31 11:37:00 +00:00
Pete Harverson
3224f9931f
[ML] Fixes overflowing text in the anomalies table expanded row (#28372) (#29694)
* [ML] Fixes overflowing text in the anomalies table expanded row

* [ML] Switch to using euiTextTruncate to fix overflow
2019-01-31 11:36:33 +00:00
Walter Rafelsberger
d819e3347a
[ML] Fixes race condition related to view by swimlane update. (#28990)
Fixes a race condition where the view-by swimlane would stay empty after switching the view-by field in the dropdown.
2019-01-31 11:22:38 +01:00
Oliver Gupte
8cc8679355
[APM] fixes infinite recursion for multiple waterfall item references (#29659)
* [APM] fixes #29564 by bailing out of recursion when a multiple references of the same object are detected

* [APM] minimized test fixure to isolate logic being tested

* [APM] improve readabilty by using better var name
2019-01-30 16:01:12 -08:00
Robert Monfera
46c6f11a1f
Fix: keep element selection after layer move up/down (#29634) (#29645) 2019-01-30 21:27:03 +01:00
Chris Roberson
7baa76aa7d
Fix issue where the date format isn't passed in properly (#29637) (#29643) 2019-01-30 15:20:46 -05:00
Joe Fleming
43dc53f17a
fix: wrap url check in retry.try (#29536) (#29640)
since the url changes are async, keep testing the url until it passes or fails enough times
2019-01-30 13:00:41 -07:00
Chris Roberson
708279b97f
[Telemetry] Remove custom code for spaces in telemetry (#27903) (#29567)
* Remove custom code for spaces in telemetry

* Undo this change

* Change how this is inserted into the monitoring doc
2019-01-30 14:18:41 -05:00
James Gowdy
a51debce68
fixing conflicts (#29585) 2019-01-30 19:01:25 +00:00
James Gowdy
deebf58fd2
[ML] Making index pattern related links optional (#29332) (#29586)
* [ML] Making index pattern related links optional

* reverting index pattern url

* removing link to data visualizer
2019-01-30 19:01:14 +00:00
Brandon Kobel
710ceb254c
Adding sever.logWithMetadata (#28767) (#28935)
* Allowing first-class support of structured log messages

* Renaming to logWithMetadata and changing log statement structure

* Fixing unit tests
2019-01-30 06:24:23 -08:00
Brandon Kobel
93d798f685
Only using known handlers with handlebars (#27061) (#27896) 2019-01-30 06:24:07 -08:00
Larry Gregory
990fb27594
Adds missing cluster privileges to role management screen (#28692) (#28701)
Fixes #28689
2019-01-29 10:42:23 -05:00
rayafratkina
6f3f70dcb6 bumping version to 6.6.1 2019-01-29 10:26:15 -05:00
rayafratkina
db71ecfd9f bumping version to 6.7 2019-01-29 09:56:37 -05:00