Commit graph

17820 commits

Author SHA1 Message Date
Tim Sullivan
efdd408674
Add Beats module and input info to Telemetry (#20648) (#20856)
* fix metrics field name (stats)

* add state info

* add module name count

* use a set for the unique hosts instead of a map

* fix getting beats_state info

* fix unit test

* processBeatsStatsResults and processBeatsStateResults
2018-07-16 15:23:56 -07:00
John Dorlus
c50c6fc6b4
Updated data test subject to use correct property from item object. (#20794) (#20797) 2018-07-16 16:16:40 -04:00
CJ Cenizal
5d1ea11b29
Remove courier:searchRefresh angular event from searchPoll. (#20850) (#20854) 2018-07-16 13:08:12 -07:00
James Gowdy
9157cf714c
[ML] Jobs list bug fixes (#20823) (#20829) 2018-07-16 18:05:02 +01:00
Tyler Smalley
08c1c14e60
Workaround for yarn interdependency conflicts (#20805) (#20826)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-16 09:10:31 -07:00
James Gowdy
d8959f1ae4
[ML] Removing hardcoded datafeed ID in jobs list (#20815) (#20816) 2018-07-16 15:05:27 +01:00
Chris Roberson
a5f2725aea
[Monitoring] Capitalize the license type (#20683) (#20795)
* Capitalize the license type in monitoring

* Revert "Capitalize the license type in monitoring"

This reverts commit 38ad3a516d.

* Pass in the type capitalized

* Revert "Pass in the type capitalized"

This reverts commit 6a05bb12f3.

* Capitalize type in license status directly so consumers do not need to worry about it
2018-07-16 09:45:01 -04:00
Matt Bargar
0d24257138
Ensure the field exists in the index pattern before grabbing it (#20639) (#20796) 2018-07-16 09:00:38 -04:00
James Gowdy
0eabaf7221
[ML] removing unnecessary privileges provider (#20671) (#20814) 2018-07-16 11:38:53 +01:00
liza-mae
ecafae1a6e
Skipping test due to bug #20807 (#20809) (#20812) 2018-07-14 18:31:35 -06:00
gchaps
090b560795
[DOCS] Update Managing Indices w/ info about security (#20632) (#20778)
* [DOCS] Update Managing Indices w/ info about security

* [DOCS] Incorporated review comments for indices management doc

* [DOCS] Incorporated review comment re: security enabled
2018-07-13 14:48:31 -07:00
gchaps
750a855627
[DOCS] Dashboard-only-mode: Update to match UI (#20734) (#20773)
* [DOCS] Dashboard-only-mode: Update to match UI

* [DOCS] Incorporated review comments, added note about data access
2018-07-13 13:41:23 -07:00
Nathan Reese
5fae20eec0
de-angularize indexPatterns Field and FieldList (#20589) (#20787)
* de-angularize indexPatterns Field and FieldList

* do not remove shortDots angular filter

* remove ui/chrome mock in _index_pattern test
2018-07-13 14:33:28 -06:00
John Dorlus
38c44389cf
[Management] Relationships API test coverage (#19737) (#20788)
* Added coverage around search and dashboard tests.

* Added tests to check for whether the resource is available. If not, return 404.

* Skipped two tests due to https://github.com/elastic/kibana/issues/19713. Added error handling for relationships API for when no result is found. Return 404.

* Applied patch file per PR.

* Applied Chris patch and tested locally. No failures.

* Removed ajv and utilised joi for schema validation.

* Fixed package.json.

* Copied package.json description from master.

* Reverted package.json and made proper edit.
2018-07-13 15:33:37 -04:00
Jen Huang
082f7b6c4f
Use EuiCodeBlock for JSON settings, and overflow if long value (#20744) (#20784) 2018-07-13 12:32:28 -07:00
Aleh Zasypkin
2d8ff67ace
[6.x] Make "legacy" Kibana server aware of connection protocol. (#20775) 2018-07-13 20:20:41 +03:00
Aleh Zasypkin
31c633eb00
[6.x][Reporting] Blacklist Transfer-Encoding HTTP header for PDF report generation. (#20763) 2018-07-13 17:20:31 +03:00
Clinton Gormley
7d1b3d6fb8 Docs: Updated styling of cloud link in installation 2018-07-13 16:04:53 +02:00
CJ Cenizal
32f0ec7e3a
Re-enable the indexPattern:placeholder setting. Change its value to be an empty string. (#20685) (#20768) 2018-07-13 06:40:41 -07:00
Brandon Kobel
99e697dc0f
Removing kbn-version from the response headers. (#20551) (#20759)
* Removing kbn-version from the response headers.

* Removing test assert that we don't need
2018-07-13 08:29:07 -04:00
Casper Hübertz
ced0a29fda
[APM] Add section titles to span detail modal (#20717) (#20754)
* Adding fontSize from variables

* SectionHeader style added

* Adding section headers

Needed titling for DB statement and Stacktrace on the page

* Pluralization

* Adding fontSize variable

* Creating new header title style

* Moving title into Stacktrace container

* Updated snapshots
2018-07-13 10:32:59 +02:00
Spencer
d6a4331918
[6.x] [tslint] use exitCode 1 when linter errors (#20567) (#20737)
Backports the following commits to 6.x:
 - [tslint] use exitCode 1 when linter errors  (#20567)
2018-07-12 22:05:35 -07:00
Tiago Costa
3fab7f6aa7
chore(NA): bump chalk version dependencies and update lock files. (#20629) 2018-07-13 00:27:23 +01:00
CJ Cenizal
3d2a1613ae
Add ability to abort a kfetch call. (#20700) (#20748)
* Split kfetch module into kfetch and kfetchAbortable sub-modules.
* Add abortcontroller-polyfill.
2018-07-12 16:20:59 -07:00
Nathan Reese
e5a6f2b453
Provide InputRange component valid value when Range slider is not set. (#20002) (#20735)
* move unsetLogic into react component

* remove extra comment

* add comment about why empty state is needed for InputRange component

* fix broken jest test

* move empty state logic from react component to ListControl class, add comments about reset and clear functions

* add comments about clear and reset to control class

* calculate hasChanged to avoid bug where clear form still shows 'cancel changes' as active for an empty form

* use hasValue in range control to check if value exists

* add unit test for list_control_factory and cleanup range_control from review comments
2018-07-12 15:08:46 -06:00
Stacey Gammon
a28ba56340
Turn reporting tests back on (#20634) (#20731)
* unskip reporting tests

* Focus only on flaky test suite and run 10x

* Revert "Focus only on flaky test suite and run 10x"

This reverts commit a6616b1140c29d8d3f13666d20ae94db9a97267f.
2018-07-12 15:35:59 -04:00
Nathan Reese
24eb274fc8
Change the scale factor when upgrading panels with margins (#20684) (#20726)
* Change the scale factor when upgrading panels with margins

* Add test for dashboard_grid_container with and without margins
2018-07-12 11:39:45 -06:00
Søren Louv-Jansen
e8f7dc6e88
Redux should update after timefilter has changed (not before) (#20719) (#20729) 2018-07-12 19:33:33 +02:00
Lee Drengenberg
885eb1039e
refactor login page check, turn off telemetry (#17435) (#20722)
* refactor login page check, turn off telemetry

* significant refactor of navigateTo

* replace slashes with _ in test failure output html files

* re-do out of date PR
2018-07-12 11:57:47 -05:00
Nathan Reese
988784188c
remove angular dependencies in SavedObjectClient (#20384) (#20693)
* create saved object client that is native javascript

* fix savedObjectClient unit tests

* get saved object client from chrome when being used outside of angular

* update error handlers to pull status code from FetchError

* add some debug messages to failing functional test

* revert changes to management/_objects

* add clicks to import done in import objects test

* take screenshots of test only failing in CI

* remove functional test screenshot code since test is passing in CI now

* remove unused file, clean up saved_objects_client test to not use global, add test to error_auto_create_index to ensure compatibility with kfetch errors

* add body to kfetch error

* update savedObjectClient.bulkCreate

* add bulkCreate wrapper to SavedObjectsClientProvider

* mark _createSavedObject and _processBatchQueue as private methods
2018-07-12 07:25:14 -06:00
Casper Hübertz
e00ad0c08c
[APM] Fixing typo in Setup instructions (#20707) (#20712) 2018-07-12 15:02:55 +02:00
Peter Pisljar
0d243398e1
Fixes filter on values that are not in the result (#20608) (#20713) 2018-07-12 14:55:54 +02:00
Tim Roes
930822eade
Improve and typescriptify update status (#20546) (#20709)
* [tslint] use exitCode 1 when linter errors

* fix typo

* Improve getUpdateStatus

* Fix accessing timeRange

* Extract comparison functions

* Switch parameter order

* Revert "[tslint] use exitCode 1 when linter errors"

This reverts commit 0ca23a4fc7.

* Revert "fix typo"

This reverts commit e4e809180d.
2018-07-12 13:43:24 +02:00
Walter Rafelsberger
a878bbd72b
[ML] Ignore mouse events on pseudo element. (#20668) (#20706)
The pseudo-element agg-type-select-wrapper::after which represents the dropdown's arrow didn't react to the click element of the dropdown itself. pointer-events: none is now added to the pseudo-elements to let the click pass through to the element intented to react on the click.
2018-07-12 13:36:54 +02:00
Aleh Zasypkin
b77a3a0b96
[6.x] TSLint: handle errors in kbn_internal_native_observable types. (#20708) 2018-07-12 14:13:40 +03:00
Peter Pisljar
2df6eed051
removing schema references from vis types (#20489) (#20704) 2018-07-12 11:01:39 +02:00
Walter Rafelsberger
8edcd221d9
[ML] Migrate ml-info-icon to React/EUI. Fixes related IE11 error. (#20610) (#20665)
- Migrates the ml-info-icon directive to use React/EUI. This fixes a related error in IE11.
- For now a hard-coded override is used to size the icon because EuiIconTip doesn't pass on the size attribute to the wrapped EuiIcon directive.
- The (simple) React component is kept within the directive's, because previously the directive template also wasn't in a separate file.
- Removes the unused mlJsonTooltipService angular service.
2018-07-12 09:59:38 +02:00
Walter Rafelsberger
bd22ac20c9
[ML] Fixes a regression bug which made the progress bar invisible. (#20618) (#20670)
Fixes a regression introduced by #19794. This PR added a 5px top margin to the affected charts. The hard coded bottom margin of the progress bars wasn't adjusted accordingly so the progress bars ended up being hidden behind the actual chart. This PR fixes the problem by taking the chart's top margin into account for progressBarMarginBottom.
2018-07-12 09:58:04 +02:00
Søren Louv-Jansen
e13d64edaa
[6.x] Ensure timefilter updates correctly (#20677)
* Ensure timefilter updates correctly (#20677)

* Fix lock file discrepancy due to removed object-hash dep (#20687)
2018-07-12 09:44:40 +02:00
Jonathan Budzenski
ef914eab2b [os packages/sysv] Export NODE_OPTIONS (#15900)
* [os packages] export node options in sysv script

* [os packages] remove $PATH from sysv
2018-07-11 20:50:42 -05:00
CJ Cenizal
38a7ddb1e9
Test callClient (#20605) (#20702)
* Test dependency upon msearch. Add NoDigestPromises to test suite to simplify tests.
* Test the returned promise resolution value.
* Add tests about aborting situations.
* Add test for when the request is aborted while it's in flight.
* Test implementation details regarding interaction with searchRequests.
* Change callClient to return ABORTED for requests which have been aborted.
* Add test verifying that esPromise.abort() is called.
2018-07-11 17:01:06 -07:00
CJ Cenizal
2bb362af93
Replace Discover notifier warnings with toasts. (#20650) (#20701) 2018-07-11 16:54:24 -07:00
Tyler Smalley
d5c720ff95 [ci] Ensure no yarn.lock changes are required (#20625)
When using yarn link, we are copying the dependencies from the sub-projects. If a new package is
added to one of those projects, we need to also update the yarn.lock file for it's parent. This
is usually done by running `yarn kbn bootstrap`. This ensures that after CI runs bootstrap that
there are no local changes.
2018-07-11 14:27:51 -07:00
gchaps
9af1061486
[DOCS] Visualize: Fix wording in Inpsector doc] (#20597) (#20680) 2018-07-11 12:56:51 -07:00
Clinton Gormley
6dbb5a1f34 Docs: Added cloud link to install docs 2018-07-11 20:25:44 +02:00
gchaps
d67d16b956
[DOCS] Management: Updated Watcher docs to show new buttons (#20446) (#20652) 2018-07-11 10:13:01 -07:00
Lisa Cawley
2d3e66d575 [DOCS] Removes alternative docker pull example (#20624) 2018-07-11 09:06:52 -07:00
gchaps
269b04586f
[DOCS] Management: Updated Saved Obects to include index patterns and reflect new UI (#20432) (#20646) 2018-07-11 08:10:10 -07:00
gchaps
acae553757
[DOCS] Dashboard: Includes Add Panel and Inspector (#20582) (#20647)
* [DOCS] Dashboard: Includes Add Panel and Inspector

* [DOCS] Dashboard: Incorporated review comments
2018-07-11 08:08:02 -07:00
Søren Louv-Jansen
64768253d4
[APM] Add kuery to apm ui (#19469) (#20669)
* Add Kuery to APM UI

* Format bool queries

* Fix test

* Add min-height

* Updated css to vars

* Added loading indicators

* Update breadcrumbs

* Update Discover links

* Add search button

* Fix readcrumb test

* Remove debounce

* Fix “undefined” kuery

* Handle missing index pattern

* Fix race condition in data fetching

* Fix legacy url encoding

* Filter out field-suggestions starting with "span*"

* Convert KuiTable to EuiTable for service overview

* Convert KuiTable to EuiTable for transaction overview

* Convert KuiTable to EuiTable for error overview

* Updated empty state messages

* Bump CI jo

* updated snapshots

* Add beta tooltip and update to EuiSearch

* Fixed issue with focus

* Submit when clicking search button

* Submit when clearing input

* Handle missing index pattern

* Remove query from spans

# Conflicts:
#	yarn.lock
2018-07-11 16:30:25 +02:00