Commit graph

18698 commits

Author SHA1 Message Date
spalger
8cdd294593 [kbn-pm] update kbn-pm build 2018-10-26 07:57:57 -07:00
Spencer
8afa15f7be
[6.x] [uiSettings] only try to autoCreateOrUpgrade once (#24605) (#24613)
* [uiSettings] only try to autoCreateOrUpgrade once (#24605)

## Summary

When tests override the `savedObjectsClient.get()` call to always return a 404 an out of memory error is triggered in the tests that's caused because `uiSettings._read()` is constantly trying to recover by running `createOrUpgradeSavedConfig()` and then retrying the `_read()`. Instead we should behave like `_write()` and only try to auto-recover on the first request, then call read with `_read({ ...options, autoCreateOrUpgradeIfMissing: false })` which will prevent the auto-recovery the second time and avoid the OOM.

### Checklist

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

~~- [ ] 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

- [x] 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)

* [monitoring/tests] disable tests that are broken until snapshots updated
2018-10-26 07:30:30 -07:00
Felix Stürmer
500e727b5a Increment version number from 6.5.0 to 6.6.0 (#24634)
* Increment version number from 6.5.0 to 6.6.0

* Add branch 6.5 to backportrc, sync versions with master

* Undo removal of older version from backportrc
2018-10-26 07:44:49 -04:00
Andrew Cholakian
e88008849a Fix windows instructions for uptime add data UI (#24587)
* Fix windows instructions for uptime add data

The windows instructions had three separate issues:

1. Redundant/unclear instruction to edit ES output settings removed
2. Incorrect invocation of the heartbeat binary without .\ prefix
3. Incorrect verbiage for modifying the `heartbeat.yml` file
2018-10-25 16:51:53 -05:00
Felix Stürmer
c7effa5100
[InfraOps] Remove broken links to APM (#24568) (#24583) 2018-10-25 20:36:27 +02:00
Lisa Cawley
298680947c
[DOCS] Updates version info for 6.x branch (#24595) 2018-10-25 10:55:53 -07:00
Chris Roberson
2182e273e7
[Monitoring] Rename ccr fields based on changes in ES (#24519) (#24593)
* Rename ccr fields based on changes in ES

* More renames

* Update archive data

* Update snapshot

* Skip the api integration tests for now
2018-10-25 13:06:37 -04:00
Lisa Cawley
4c37443cbf [DOCS] Fixes broken links to Stack Overview (#24592) 2018-10-25 09:17:59 -07:00
Lisa Cawley
a615cb408a [DOCS] Adds security for monitoring steps (#24052) 2018-10-25 08:13:43 -07:00
Josh Dover
81aae3f448
Disable unused beats_management tests (#24543) (#24544) 2018-10-25 09:09:19 -05:00
Leanid Shutau
204af32833
[Tools] Add "values" property validation (#22538) (#24573)
* [Tools] Add "values" property validation

* Fix values validation

* Fix typo in values regex

* Fix whitespaces handling

* Fix curly braces in regex

* Fix missing/unused values differentiation

* Use intl-messageformat-parser for parsing values from defaultMessage
2018-10-25 16:36:33 +03:00
Tim Roes
85e67d7b26
Preserve nested tables in table vis (#24377) (#24571)
* Add legacy response handler for table vis.

The new legacy response handler introduced a regression in how nested
tables were handled within table vis. This adds a new table-specific
response handler to ensure splitting is preserved.

This is a short term solution and will be removed once we are able to
update table splitting to be consistent with other vis types.

* Ensure formatted dates are preserved in table titles.

* Update legacy table response handler based on feedback.

* Ensure AggConfigResult.rawData is preserved in legacy table response handler.

* Move legacy table response handler to core_plugins.

* Legacy table response handler - style cleanup.

* Remove unneeded aggConfigResult.rawData from legacy table response handler.

* Add basic unit tests for legacy table response handler.

* In table vis, exclude split columns when showing metrics at all levels.

* Add functional tests
2018-10-25 15:04:22 +02:00
Robert Monfera
97995062d2
Fixes loading element icon color (#24551) (#24566)
* Fixed loading element icon color

* Fixed package.json

* Fixed loading component test

* Revert "Fixed package.json"

This reverts commit 033fc8477d.
2018-10-25 14:17:21 +02:00
Pete Harverson
ab5a1d2c54
[ML] Edits to the text on the Data Visualizer landing pages (#24518) (#24547) 2018-10-25 08:05:45 +01:00
Caroline Horn
d0c368de57
Added temporary hotfix for flyouts not in portals (#24515) (#24552)
…when the K7 header is turned on
2018-10-25 03:04:50 -04:00
Oliver Gupte
755f6b8cc1
[APM] Add contextual docs links for PropertiesTable with no data #22755 (#24181) (#24553)
* [APM] Add contextual docs links for PropertiesTable with no data #22755

* [APM] tweak style of table info header according to PR feedback #22755

* [APM] fix StickeyProperties style regression in ErrorGroupDetails

* [APM] update the layout of the StickeyProperties in ErrorDetails
2018-10-24 23:39:23 -07:00
CJ Cenizal
30d69b365b
[Rollups] Rollup support in Kibana, phase 1 (#21117) (#24554)
Enabled:
- View/Manage/Create rollup jobs

Disabled:
- Create a rollup index pattern
- Create rollup visualizations
- Add rollup visualizations to dashboards
- View raw rollup documents in Discover
2018-10-24 20:29:30 -07:00
James Gowdy
5041605782
[ML] Fix semi structured text last line issue (#24520) (#24536) 2018-10-25 04:25:54 +01:00
Catherine Liu
aa55718e5e
Clears timeout for done handler (#24471) (#24537) 2018-10-24 19:22:49 -07:00
Catherine Liu
7cb035e371
Enable canvas functional tests (#24450) (#24549) 2018-10-24 19:22:25 -07:00
Catherine Liu
350f03d461
Fixes shape element with NaN viewBox (#24470) (#24548)
* Fixes shape viewbox calculations

* Fixed border

* Cleaned up viewbox calculations
2018-10-24 19:11:59 -07:00
CJ Cenizal
c4534b6f2b
Introduce date histogram time base configuration to EditorConfig (#22344) (#24555)
* Add `default` and `baseInterval` configuration ability to date histogram EditorConfig
* Change EditorConfig `warning` to `help`, show `help` below date histogram and histogram interval inputs
2018-10-24 18:06:10 -07:00
Catherine Liu
68ade4a220
Switches to dashed border style (#24538) (#24539) 2018-10-24 16:01:03 -07:00
Bill McConaghy
855651f699
console: update documentation links for ingest node (#24535) (#24546) 2018-10-24 18:39:39 -04:00
Matt Bargar
5db29f5b10
Introduce query bar update button with dirty checking (#24529) (#24545)
Reintroduced submit button removed in the react migration of the query bar. Added dirty state indications.
2018-10-24 18:08:49 -04:00
Tim Roes
a2ccf779ba
Fix courier issues causing showMetricsOnAllLevels to break (#24488) (#24530)
* Fix courier tabify caching issue

* Better code style

* Change to named lodash import

* Fix missing DSL parameters on hierarchical query

* Add functional test for hierarchical agg configs
2018-10-24 23:58:36 +02:00
CJ Cenizal
66a8307a1a
Add repositionOnScroll to popovers within the Inspector and the Index Management detail panel. (#23856) (#24514) 2018-10-24 14:49:22 -07:00
Ryan Keairns
9c0bb67e8f
[WIP] Adds 'upload data from file' to Kibana home page (#24226) (#24533)
* adds upload file and functionbeat to home

* removes functionbeat, adds ml file upload href

* remove functionbeat callout, add ml file url

* fix tests for basepath

* less caveman sounding

* update code editor snapshot

* make link conditional, copy changes

* update ml link

* move mlEnabled to ml plugin

* copy edits
2018-10-24 16:30:05 -05:00
Tim Sullivan
5858dd2ada
[Reporting/Fix] Improve text of pending status in job listing (#24300) (#24504)
* [Reporting/Fix] Improve text of pending status in job listing

* status message change from feedback
2018-10-24 14:01:14 -07:00
Tim Sullivan
4ccb343b29
[Reporting] queue.pollEnabled setting adds ability to disable polling for idle jobs (#24295) (#24505)
* [Reporting] New queue.pollEnabled setting adds ability to disable polling for idle jobs

* add an info log line

* note in docs
2018-10-24 14:01:01 -07:00
Matt Bargar
42017d5a97
Suggestion text needs to be a string (#24526) (#24540)
* suggestion text needs to be a string

* deduplicate after calling toUser since a string and object version of
the same query could both exist in the persisted log, resulting in
identical strings after toUser runs

* don't put empty strings in the recent search history
2018-10-24 16:54:34 -04:00
Walter Rafelsberger
b616418b77
[ML] Improve sampling and normalization of population chart. (#24402) (#24508)
This optimizes how contextual data is fetched for the population analysis chart.
2018-10-24 21:56:48 +02:00
Caroline Horn
73e8260d3e
Remove wrapper around manage spaces button in menu (#24506) (#24525)
Fixes #23544
2018-10-24 15:51:08 -04:00
Felix Stürmer
7e251463fe
[6.x] [InfraOps] Add button to check again for log message if previously exhausted (#24500) (#24524)
Backports the following commits to 6.x:
 - [InfraOps] Add button to check again for log message if previously exhausted  (#24500)
2018-10-24 21:34:08 +02:00
Chris Roberson
8122f5e6db
[Monitoring] Add handles graph for beats (#24265) (#24522)
* Add handles graph

* Add limits in the UI

* Remove debug

* Update api tests

* Fix tests

* Fix snapshots

* Skip this test for now

* Fix this test and re-enable it
2018-10-24 15:23:57 -04:00
Marco Vettorello
876567a9b9
Fixes pie charts on empty time window (#24031) (#24516)
* Fix missing check on empty response

* Fix test order and remove applying on each entered filter

* Change quotes on addNewFilterAggregation testsubject

* Rename test hasPieChartError method to expectPieChartError

* Refactor piechart zero-value slices data cleaning.

The previous implementation used to remove zero-value slices by mutating the vis data from the legend logic.
We moved the logic of "cleaning" the zero-value slices before rendering the piechart and/or the legend, so now piechart and legends are rendering themselves with the same data structure.

* Reverting _validatePieData method to the old one
2018-10-24 21:20:47 +02:00
Jason Rhodes
6d45d2bfa8
Adds beta messages to traces overview and timeline (#24447) (#24512)
* Adds beta messages to traces overview and timeline

* Left over formatting fix

* Fixes bug with inaccurate types for transaction.context.system

* Updates TraceLink to be called TransactionLink more accurately

* Updated learn more about DT link

* Snapshot update for number format change

* Updates to asDecimal to preserve decimal place significance in service list
2018-10-24 14:15:19 -04:00
Pete Harverson
74d7a2d204
[ML] Fixes labels in datafeed time range selector modal (#24489) (#24502) 2018-10-24 18:28:23 +01:00
Caroline Horn
b3addf681c
Spaces selector screen graphics and other cleanups (#24442) (#24501) 2018-10-24 13:22:49 -04:00
Stacey Gammon
6e2d48be82
bump the hacky timeout (#24392) (#24490) 2018-10-24 11:54:13 -04:00
Lisa Cawley
002a0b7c80 [DOCS] Clarify description of xpack.reporting.roles.allow (#23974) 2018-10-24 08:39:53 -07:00
Pete Harverson
e64b7f9443
[ML] Adds experimental badge labels to the File Data Visualizer (#24485) (#24492) 2018-10-24 16:33:46 +01:00
Nathan Reese
b33f858c1c
avoid passing functions from ngReact (#24460) (#24465) 2018-10-24 09:23:13 -06:00
Matt Apperson
d7527b2746 [BeatsCM] Fix bad merge that created dupe UI (#24491) 2018-10-24 11:16:06 -04:00
liza-mae
69bfccd4f5
Upgrade husky (#24432) (#24452)
* Upgrade husky

* Add yarn.lock
2018-10-24 09:11:44 -06:00
Spencer
2bd1a24c81
[build] add --all-platforms flag (#24363) (#24439)
The build script currently builds artifacts for all platforms, which is a slight waste of time on CI and when testing locally. Instead, the default behavior of the build script in this PR is to only build the artifact for the current platform. If the `--all-platforms` flag is supplied (the default when run via `yarn build`, and therefore when building a release) artifacts for all platforms will be created along with deb/rpm packages.
2018-10-24 07:48:26 -07:00
Spencer
581674dd8f
[jest] prevent invalid CDATA in junit (#24456) (#24467) 2018-10-24 07:47:25 -07:00
Søren Louv-Jansen
ab47cae457
[APM] Distributed Tracing (#24062) (#24487)
* Adds traces overview with mock data (#22628)
* Updates service overview snapshots
* Adds tests for ManagedTable and ImpactBar
* Refactored transaction overview to use new managed table component
* Removed jsconfig file in apm
* [APM] Distributed tracing - Trace details (waterfall) (#22763)
* [APM] Add typescript to waterfall (#23635)
* [APM] Migrate get_trace and constants to Typescript (#23634)
* [APM] Add types for setup_request (#23762)
* [APM] Adds trace overview queries and some refactoring (#23605)
* ImpactBar component to align EuiProgress usage for impact bars
* Sharing some logic between transaction and trace queries
* Typescript support
* Quick fix ‘banana’
* [APM] Ensure backwards compatibility for v1 and v2 (#23636)
* Make interfaces versioned
* Rename eventType to docType
* Fixes trace links on traces overview (#24089)
* [APM] use react-redux-request (#24117)
* Updated yarn lockfile for new yarn version
* Updated dependency issues for react-router-dom types
* [APM] Display transaction info on span flyout (#24189)
* [APM] Display transaction info on span flyout
* Brings in real location and url param data for transaction flyout
* Converts flyout to TS
* Adds query param state for flyouts with ts support
* Updates styles and uses EuiTabs for transaction flyout
* [APM] Transaction flyout
* [APM] Minor docs cleanup (#24325)
* [APM] Minor docs cleanup
* [APM] Fix issues with v1 spans (#24332)
* [APM] Add agent marks (#24361)
* [APM] Typescript migration for the transaction endpoints (#24397)
* [APM] DT transaction sample header (#24294)

Transaction sample header completed
* Fixes link target for traces overview to include trans/trace ids as query params
* Converts Transaction index file to TS
* Adds trace link to sample section
* Refactors the trace link and applies it to two usages
* Implements transaction sample action context menu
* Calculates and implements duration percentage
* Re-typed how transaction groups work
* Fixes transaction flyout links and context menu
* Removes unnecessary ms multiplication
* Removes unused commented code
* Finalizes infra links
* Fixes some type shenanigans
2018-10-24 16:45:50 +02:00
Brandon Kobel
377688ab7f
[6.x] Rendering the space selector in either the header or the globalnav (#23845) (#24440)
* Rendering the space selector in either the header or the globalnav (#23845)

* Rendering the space selector in either the header or the globalnav

* Adding link title

* Doing it the React way

* Updating snapshots

* Adding withTitle prop

* Fixing Spaces nav control popover snapshot
2018-10-24 07:28:08 -07:00
Tim Roes
8e28de0979
fixing updating editor state (#22869) (#24483)
* editor state update

* remove lockDirty

* Add functional tests

* Add data to functional tests
2018-10-24 14:51:04 +02:00