Commit graph

26385 commits

Author SHA1 Message Date
Mike Côté
560e672083
Add ownership of task manager to stack services team (#41457) 2019-07-18 10:32:57 -04:00
spalger
75391329a0 skip two failing tests (#41453) (#41452) 2019-07-18 06:40:46 -07:00
Alison Goryachev
7dc981e171
[IM] Index Templates UI list view (#39922) 2019-07-18 08:20:19 -04:00
Alexey Antonov
c03698f0d4
Use embeddable v2 - fix regression of #39126 (#41221)
* Use embeddable v2 - fix regression of #39126

* fix PR comment
2019-07-18 14:27:31 +03:00
Yulong
fb34101bcd
[Code] use status api to decide whether a lsp request should be sent (#41310) 2019-07-18 19:02:05 +08:00
Artyom Gospodarsky
eeb92b4317
[TSVB] Introducing Timerange Data Mode for Metric Style Visualizations (#37185)
* Add Time Range input to Panel on TSVB

* Disable YesNo Component

* Remove redundant translations

* add timerange_data_modes

* Fix reviews

* BE part

* add new ui restriction

* add new ui restriction - ui part

* override index pattern issue

* Take TIME_RANGE_MODE_KEY out

* Make TimeRange more stable

* Small improvements

* Small improvements - BE part

* Small improvements - BE part

* Small improvements - BE part

* Bind uiRestrictions to UI of the Time Range

* Get rid of context consumers

* Remove console.log

* Add translation and refactor a little

* Pretty Panel config
2019-07-18 12:59:33 +03:00
Dmitry Lemeshko
ade8a2f55d
Fix/re enable skipped functional tests (#41238)
* [home/_sample_data] unskip tests

* [visualize/_tsvb_chart] unskip switch index pattern test

* unskip nodes filter test

* run specific groups 10x times

* Revert "run specific groups 10x times"

This reverts commit ad7302f33f.
2019-07-18 11:58:49 +02:00
WangQianliang
bcf2d22b9c
fix(code/frontend): should not attach href to the last breadcrumb (#41332) 2019-07-18 14:49:46 +08:00
WangQianliang
5696e373c2
fix(code/frontend): not show button group during clone (#41220) 2019-07-18 11:16:17 +08:00
WangQianliang
48c97fb0fc
fix(code/frontend): should disable structure tree in directory history (#41327) 2019-07-18 11:08:39 +08:00
WangQianliang
fab0cdbeff
fix(code/frontend): fix show folding icon and blame border (#41326) 2019-07-18 11:07:53 +08:00
Andrew Cholakian
16ec40f570
[Uptime] Handle mode: all in uptime snapshot calculation (#41335)
Patching this function in #41210 fixed performance but was missing this filter clause. We depend on only processing summary info. This fixes errors around missing destructured data where we expect summary fields to be present.
2019-07-17 20:45:08 -05:00
Chris Cowan
879dfadb3a
[Infra UI] Replace EUI Charts with Elastic Charts on node detail page (#41262)
* Remove EUICharts from node detail replace with Elastic Charts

* Moving stream check inside onChangeTimerange check

* Fixing typo

* Adding error message back in

* Removing exception from getMaxMinTimestamp()

* Checking for valid data

* Adjusting i18n names
2019-07-17 17:20:16 -07:00
Frank Hassanabad
1f8c21551d
[SIEM] Add toaster logic for Machine Learning (#41401)
* Initial toaster logic

* Updated toaster error handling

* Cleanups of code not used

* Added i18n support

* Added missing i18n keys and fixed the name spaces of all of them

* Added unit test

* Added the rest of the unit tests

* Updated from feedback from the PR review

* Fix capitalization issue
2019-07-17 17:45:13 -06:00
Davey Holler
dcd2f57e47
[Code] Adding more coverage for syntax highlighting (#41393)
* Adding more coverage for syntax highlighting, fixing some issues in dark mode

* Minor color adjustment to default text.
2019-07-17 15:05:19 -07:00
Justin Kambic
2a8cbffc9d
[Uptime] Add explicit alignments to table columns (#40680)
* Add explicit alignments to table columns.

* Fix broken prop and snapshots.

* Fix pagination item count and update snapshot to match changes.
2019-07-17 17:43:50 -04:00
Justin Kambic
f5bd4be1ce
Update README to have additional test instructions. (#41283) 2019-07-17 17:13:31 -04:00
Xavier Mouligneau
e515cbf451
[SIEM] Fix KQL filter query with data provider (#41250)
* fix KQL filter query with data provider

* fix eslint
2019-07-17 22:22:24 +02:00
Mengwei Ding
27f0e8240a
[Code] Use seq_no and primary_term to do ES concurrency control for EsQueue and reenable code tests (#41377)
* Revert "disable all code tests (#41363)"

This reverts commit 771d70c334.

* Revert "[code] disable failing tests (#41336) (#41338) (#41337)"

This reverts commit 62fedccad5.

* [Code] Use seq_no and primary_term to do ES concurrency control for queue
2019-07-17 11:39:49 -07:00
James Gowdy
c7f9403541
[ML] Fixing multi-job action button when jobs are deleting (#41350) 2019-07-17 19:36:40 +01:00
gchaps
fe23275067
[DOCS] Puts all watcher content on one page (#41390) 2019-07-17 10:48:05 -07:00
Thomas Neirynck
380c5becf6
[Maps] Remove data on error (#41358) 2019-07-17 13:33:51 -04:00
Chris Cowan
031dd35639
Fixes #40493 - Inventory should display nodes without names (#40804) 2019-07-17 10:19:43 -07:00
Chris Cowan
7f5a21c186
[Infra UI] Fix Metric Explorer title truncation (#40913)
* [Infra UI] Fix Metric Explorer title truncation

* Trying to shut up ESLint (even though this has nothing to do with my PR)
2019-07-17 10:18:31 -07:00
Catherine Liu
34beea828d
[Canvas] Fixes fit to window scale calculation (#41294)
* Fixed calculation for fit to window zoom scale

* Fixed ts errors
2019-07-17 09:56:16 -07:00
Chris Cowan
fc0fe34e39
[Infra UI] Fix typings for InfraMetricModels (#41309) 2019-07-17 09:15:49 -07:00
Garrett Spong
4253caac0e
[SIEM] Fix for embedded jobs failing to install (#41308)
## Summary

This PR fixes a bug where the `initialValue` of the `jobSummaryData` hook would not differ after querying for jobs which would result in the embedded SIEM Jobs not being installed. 

See: https://github.com/elastic/ingest-dev/issues/600

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

- [x] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)
- [ ] ~Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~
- [ ] ~[Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~
- [ ] ~[Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios~
- [ ] ~This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~

### For maintainers

- [ ] ~This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~
- [ ] ~This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~
2019-07-17 09:54:43 -06:00
Tim Sullivan
21a0455d33
[Reporting/Logging] truncate base64 urls in logs (#41304) 2019-07-17 08:35:19 -07:00
spalger
771d70c334 disable all code tests (#41363) 2019-07-17 08:17:57 -07:00
Patrick Mueller
68d27b59c4
Enhances action execution result, adds slack simulator (#41160)
The result of executing an action now returns an object which indicates
success / error, an error message if relevant, and whether or not the action
is retryable, and if it's not retryable until a certain date, that date.

The slack action has been enhanced to use this to return retry information
in the case of a 429 rate-limiting response, and 5xx responses.

A slack simulator has been added to FTS, which is used as a slack action
webhookUrl in FTR.

A test was added to test firing the server log action.
2019-07-17 10:34:29 -04:00
Walter Rafelsberger
d1a7a67d16
[ML] Fixes getting the currently selected jobs from globalState. (#41255)
Fixes a race condition where the anomaly explorer wouldn't pick up the most recently selected jobs.
2019-07-17 16:18:04 +02:00
Nathan Reese
367da24698
[Maps] remove shared folder (#41267)
* [Maps] remove shared folder

* remove shared folder
2019-07-17 08:02:15 -06:00
spalger
62fedccad5 [code] disable failing tests (#41336) (#41338) (#41337) 2019-07-17 06:09:41 -07:00
Justin Kambic
fbfec23d15
[Uptime] Fix Snapshot component loading state header (#41023)
* Pull the loading state for Snapshot out of the panel to match the regular component.

* Improve layout of loading component to reflect normal component.
2019-07-17 08:27:23 -04:00
Justin Kambic
487afa42db
Update label on SnapshotHistogram y-axis to better reflect new visualization. (#41012) 2019-07-17 08:21:48 -04:00
Pengcheng Xu
f3ac56d99e
[Code] Upgrade ctags langserver version (#41230) 2019-07-17 19:29:27 +08:00
Søren Louv-Jansen
75128f8983
[APM] Relocate metrics routes (#40850)
* [APM] Relocate metrics routes

* fix tests
2019-07-17 11:43:09 +02:00
Dario Gieselaar
9f5e7caa73
[APM] Breakdown: use transaction type from URL instead of hard… (#41247)
* [APM] Breakdown: use transaction type from URL instead of hardcoded 'request'

* Address review feedback
2019-07-17 10:39:07 +02:00
Walter Rafelsberger
9647e56624
[ML] Data Frames: Rename job to transform. (#41219)
This PR renames directories and variables of occurrences of job in the context of data frames to transform across the code.
2019-07-17 10:04:20 +02:00
Walter Rafelsberger
c220856272
[ML] Data frames: Fix source table for cells of type object. (#41234)
- Fixes a possible crash of the data frames source index table.
- While the source document field structure was already flattened to avoid displaying nested objects in table cells, this failed to catch if a field itself was of type object, for example geo fields.
- Similar to how complex arrays were already handled, this adds a check to display a object badge with a tooltip if the cell value is of type object and not suitable to display the raw value.
- This fixes an issue reported when the full raw object structure of tweets was used as a source index to create a data frame.
2019-07-17 08:36:27 +02:00
Catherine Liu
d35303d52b
[Canvas] Apply global CSS to export workpad view (#41298) 2019-07-16 20:23:44 -07:00
Catherine Liu
a5e4d2f4c9
[Canvas] Fixes toggle between edit mode/read only mode (#41293)
* Fixed mergeProps in workpad_header/index.js

* set header height
2019-07-16 20:23:10 -07:00
Jason Rhodes
580c94676e
Adds stack-services example entries to CODEOWNERS (#41241) 2019-07-16 20:56:14 -04:00
Andrew Cholakian
9ecadb2b39
Move to modified version of original status count for speed (#41210)
This attempts to speed up the now slow snapshot count @justinkambic noticed. It uses a different approach form #41203, it's actually a modified version of the old formula. It should be faster. It achieves this executing a query that's very friendly to composite aggs, even if it returns more data than strictly necessary.

This also fixes a bug in the original implementation, where the total would be equivalent to the filtered value, rather than the pre-filtered value. This made little sense since you'd just see the total twice.
2019-07-16 19:09:52 -05:00
Oliver Gupte
edb1a20d4a
[APM] Agent Configuration bug fixes & enhancements (#41074)
* [APM] bug fixes for agent configuration:
  - fix inconsistent number input from localized input
  - fix dropdown initial empty selection cross browser issue
  - rename settings.sample_rate to settings.transaction_sample_rate
  - set 'index.auto_expand_replicas': '0-1'
  - create .apm-agent-configuration index on settings page load if it doesn't already exist

* removed commented code

* [APM] add api validation for creating/updating configurations
- store transaction_sample_rate as a number rather than a string
- improved ui validation for transaction_sample_rate precision

* create index lazily when the apm-server queries for configs & code cleanup from feedback
2019-07-16 14:58:30 -07:00
Vadim Dalecky
ada0b41b38
refactor: 💡 move ajax_stream to NP (#41109)
* refactor: 💡 move ajax_stream to NP

* refactor: 💡 move ajax_stream into Interpreter, remove chrome

* test: 💍 fix failing test after refactor
2019-07-16 23:35:27 +02:00
Matthias Wilhelm
6a0c40cb00
De-angularize discover doc_table pager (#40999)
* Convert pager buttons to react 

* Convert pager text to react

* Move pager factory to lib folder

* Adapt directives to use react component

* Add jest tests
2019-07-16 22:01:27 +02:00
Lee Drengenberg
236bc83947
fix deleteAllVisualizations() (#41062) 2019-07-16 14:49:48 -05:00
Jen Huang
ea2cb5df88
Fix ILM policies api integration test (#41263) 2019-07-16 11:34:54 -07:00
Catherine Liu
a862f3fe17
[Canvas] Fixed aria labels in workpad_header (#41198)
* Fixed aria labels on edit toggle and workpad zoom buttons

* Fixed function params
2019-07-16 11:22:34 -07:00