Commit graph

2065 commits

Author SHA1 Message Date
pavel06081991
19b84f0bc2
[ML] translate job validation messages (#28235)
[ML] translate job validation messages
2019-01-14 14:04:39 +03:00
pavel06081991
09ea8e35a3
[ML] translate models (#27888)
[ML] translate models
2019-01-14 12:24:30 +03:00
pavel06081991
12b5204759
[ML] translate anomalies table (#27802)
[ML] translate anomalies table
2019-01-14 10:59:24 +03:00
Nox911
9b3a216f6f
[i18n] Translate ML - time series explorer (#28066)
* Translate timeseries explorer

* Fix issues

* Fix tslint errors

* Fix tslint error

* Fix test

* Update tests

* Fix tests

* Update snapshot

* Resolve issues from review comments

* Resolve issues from review comments
2019-01-14 10:44:20 +03:00
spalger
f75b2a7f9c skip flaky test (see #27922) 2019-01-11 18:18:49 -08:00
Nathan Reese
ce956f05ef
[Maps] add empty state for 'Custom vector shapes' source (#28598) 2019-01-11 15:04:05 -07:00
Bill McConaghy
ef984a6758
adding freeze action to ILM UI (#28572)
* adding freeze action to ILM UI

* updating frozen indices description

* copy edits

* fixing issue with disabling freeze action

* removing unneeded Fragment
2019-01-11 15:17:05 -05:00
Chris Cowan
bafdcd17b4
[Infra UI] Adding rule for MySQL error and slowlog (#28219)
* Adding rule for MySQL error and slowlog

* Renaming rules variable

* Fixing slowlog rule

* Updating prefixes
2019-01-11 12:05:17 -07:00
Chris Cowan
b14194fdeb
Updating legend to use gray/blue gradient (#28206) 2019-01-11 11:15:34 -07:00
Chris Cowan
314dd4d23a
[Infra UI] Log Rules for AuditD Filebeat Module (#28289)
* Adding AuditD rules for SYSCALL and MAC_IPSEC_EVENT events

* Adding catch all rule

* Adding catchall for events without msg

* Adding boolean to LogEntryDocumentFields

* Standardizing prefix format
2019-01-11 11:14:35 -07:00
Søren Louv-Jansen
2ecf505853
[APM] Fix linking between errors and transactions, and link from errors to Discover (#28477)
* [APM] Fix linking between errors and transactions, and link from errors to Discover

* Add tests
2019-01-11 16:48:34 +01:00
Nox911
bbad05070f
Replace shallow and mount to shallowWithIntl and mountWithIntl (#28563) 2019-01-11 17:35:48 +03:00
Maryia Lapata
193d487e16
[i18n] APM translations for KueryBar (#27495)
* Translations for KueryBar

* Fix code review comments

* Use i18n.translate

* Refactoring
2019-01-11 15:32:22 +03:00
Justin Kambic
dcd10e580d
Add sort to tests to prevent uncertainty in the API call result. (#28544)
Necessary fix to make 6.x green again.
2019-01-11 07:29:47 -05:00
Walter Rafelsberger
98ec9e17bd
[ML] Remove deprecated angularjs directives. (#28564)
* [ML] Remove deprecated show-charts directive.
* [ML] Remove deprecated ml-controls-select directive.
* [ML] Remove deprecated SCSS import.
2019-01-11 13:27:31 +01:00
Maryia Lapata
b1e7d5abf2
[i18n] APM translations for TransactionOverview (#28489)
* Translations for TransactionOverview

* Remove unused files

* Add translations
2019-01-11 14:05:01 +03:00
Maryia Lapata
c2ecc6198e
[i18n] APM translations for ServiceDetails (#28452)
* Translations for ServiceDetails

* Update message ids

* Fix message id
2019-01-11 13:17:20 +03:00
Maryia Lapata
4531f0d3f5
[APM] Translations for TraceOverview (#28486) 2019-01-11 12:56:10 +03:00
Maryia Lapata
b125ad0954
[i18n] APM translations for Charts (#28240)
* Translations for Charts

* Remove unnecessary I18nProvider

* Refactoring
2019-01-11 12:43:12 +03:00
Walter Rafelsberger
c58c357115
[ML] Migrate Anomaly Explorer to React (except job selector) (#28234)
* [ML] Move Anomaly Explorer Loading indicator to React.
* [ML] Move no-jobs message to React/Eui.
* [ML] Move no-results message to React/Eui.
* [ML] Refactored explorer.js to return earlier.
* [ML] Refactored influencers column to react.
* [ML] Refactored Overall Swimlane and view-by dropdown to react/eui.
* [ML] Refactored limit dropdown to react/eui.
* [ML] Refactored view-by swimlanes to React/Eui.
* [ML] Refactored annotations table to React/Eui.
* [ML] Refactored table controls to React/Eui.
* [ML] Refactored explorer charts to use React/Eui.
* [ML] Refactored anomalies table to React/Eui.
* [ML] Move explorer charts data listener to ExplorerChartsContainer component.
* [ML] Make AppState dependent services importable by React components.
* [ML] Removes deprecated code.
* [ML] Simplify state handling for anomaly charts.
* [ML] Simplify swimlaneCellClick().
* [ML] Review feedback: Fix file structure, add propTypes.
* [ML] Review feedback: Avoid anonymous inline functions.
* [ML] Fixes tests to reflect code changes.
* [ML] Fixes InfluencerList DOM position.
* [ML] Show a loading indicator when the view-by swimlane updates.
* [ML] Review feedback: Import only relevant lodash bits. Use querySelector instead of jQuery.
* [ML] Adds snapshot tests for new smallish components.
* [ML] Fix test stub.
* [ML] More resilient getChartContainerWidth().
* [ML] Review feedback: Comment on legacy utils and dropdown widths.
2019-01-11 10:34:56 +01:00
Maryia Lapata
38163f2517
[i18n] APM translations for Error Group (#28314)
* Translations for ErrorGroup

* Make occurrencesCount required

* Update message ids
2019-01-11 11:54:33 +03:00
Nox911
2937145f0f
Fix translation for watcher email (#28451) 2019-01-11 11:13:54 +03:00
Maryia Lapata
eb3a392b4a
[i18n] APM translations for ServiceOverview (#28347)
* Translations for ServiceOverview

* Add translation for units
2019-01-11 10:37:21 +03:00
Maryia Lapata
3585e08ff0
[i18n] APM translations for Main (#28324)
* Translations for Main

* Fix merge conflicts
2019-01-11 10:35:50 +03:00
Maryia Lapata
14c1eaeba0
[i18n] APM translations for TransactionActionMenu, EmptyMessage, SetupInstructionsLink (#27684)
* APM translations for TransactionActionMenu, EmptyMessage, SetupInstructionsLink

* Remove unused dependency

* Use i18n.translate

* Remove unnecessary I18nProvider
2019-01-11 10:29:22 +03:00
Matt Apperson
724ad8161f
propigate errors on index creation fail (#28541) 2019-01-10 19:13:59 -05:00
Thomas Neirynck
70f7d3353c
[Maps] ensure dynamic sizing works on field selection (#28437) 2019-01-10 17:18:28 -05:00
John Dorlus
de73aeac33
Fixed omission that caused the test to still be flaky. Need to make sure the element is displayed. (#28517) 2019-01-10 16:46:26 -05:00
Justin Kambic
896ed3853f
Remove reference to ui/chrome Breadcrumb type. (#28526) 2019-01-10 16:28:42 -05:00
Andrew Cholakian
b09d849d4c
[Uptime] Fix Total Calculation for AllPings (#28224)
The all pings panel on the monitor page was incorrectly calculating the number of pings. This patch uses the ES search's hits.total for the value, whereas before we simply counted the returned array. For anything but the shortest histories this number would be wrong since it'd only count the number of items returned, by default 200.
2019-01-10 12:26:38 -08:00
Caroline Horn
91a4d0749e
Final ui/public/styles LESS to SASS (#27510) 2019-01-10 15:19:38 -05:00
Oliver Gupte
fd9758d0f3
[APM] fix action menu infra link for docker.container.id (#28140)
* Fixes #27573 by targeting `docker.container.id` to populate the action menu

* [APM] replace lodash get with idx accessor to not lose type information

* [APM] fix type inconsistencies between v1 and v2 transaction types
2019-01-10 11:59:58 -08:00
Nathan Reese
519956f892
[Maps] add query bar to map application top nav (#28210)
* display query bar in top nav with index patterns for typeahead support

* add query to state and pass query to search source

* store query in app state and saved object

* functional tests

* functional tests for geohashgrid source

* functional tests for es_search_source

* delete previous join properties when joining results

* re-fetch on query refresh

* review feedback
2019-01-10 12:53:04 -07:00
nicknak
7cc7147cd5
Testing x pack jest integration (#26825)
* progress

* progress

* cleanup and elastic configs

* make upgrades to support adding aditional users, with

* use defaultDeep to ensure settings pass correctly

* move needed configs to start servers into kbn_server (except x-pack plugin paths and users)

* move xpack config to an export

* add more time

* diff rollbacks

* roll back prettier diff

* revert setupUsers signature

* remove more bluebird

* update bluebird for fixes with jest compatability

* fix ts errors

* dont allow jest to keep going making errors confising

* Separates configs for jest integration core/x-pack.

* Pass nested kbn config parameters.

* Adds example x-pack integration test using live es.

* Cloud detectors should be configurable for tests.

* Cloud detectors should use native promises only.

* No erroneous comments...

* Util is only for promisify, duh!

* New tests should have docuementation to help those looking to utilize them.

* Doc section headings should be consistent with each other.

* With git there is no need to commit commented code.
2019-01-10 14:31:12 -05:00
Bill McConaghy
3faac41371
Prevent overwriting ilm config the ui does not know about (#28370)
* using original ES ilm policy as basis for new one to prevent overwriting config the ui does not know about

* fixing issues with disabling actions

* removing unused parameter
2019-01-10 13:53:03 -05:00
Brandon Kobel
ff5b0e8dfb
Change token auth provider usage of created to invaliated_tokens (#27614) 2019-01-10 10:23:59 -08:00
Justin Kambic
2b69fba381
[Uptime] Remove beaker icon, update "help" copy (#28018)
* Add tooltip to beaker icon. Update help copy.

* Remove beaker icon.

* Change feedback link copy to say "Discuss".

* Add target _blank to help link.
2019-01-10 12:08:06 -05:00
Søren Louv-Jansen
cbe3a45083
[APM] Fix agent status check (#28254) 2019-01-10 16:56:54 +01:00
Nathan Reese
57ed7f1218
[Maps] Update data source text (#28435)
* [Maps] Update data source text

* update order
2019-01-10 07:46:35 -07:00
Melissa Alvarez
8b03d360c5
[ML] For categorization anomalies, display the category regex/terms in the expanded row (#28376)
* Fetch terms/regex when row expanded

* Adds error handling for definition fetch

* update anomalyDetails tests

* Handle definition regex/terms not returned

* Adds tooltip to regex header
2019-01-10 09:29:06 -05:00
Jason Rhodes
4c70509843
Updates error message when creating ML job (#28085)
* Updates error message when creating ML job

* Updated error message based on feedback
2019-01-10 07:40:45 -05:00
Casper Hübertz
6076d85882
[APM] Use form label for Transaction type selector (#28322)
* Use form label for type selector

Removes the inline copy for filtering by transaction type and uses the FormRow label as a substitute.

* [APM] Updated test snapshot
2019-01-10 13:14:56 +01:00
James Gowdy
1018e756bf
[ML] Fix for groups input population when cloning job (#28449) 2019-01-10 10:47:11 +00:00
Joe Fleming
9b0a093448 fix: reject instead of resolving (#28129) 2019-01-09 17:07:06 -07:00
Nathan Reese
337292394d
Avoid rendering JoinEditor on every state change (#28401) 2019-01-09 15:40:00 -07:00
Catherine Liu
db91d15f37
Changed classname from canvas_download to canvasDownload (#28421) 2019-01-09 15:02:02 -07:00
Catherine Liu
aea3613ec0
Removes backticks from font values (#28283) 2019-01-09 14:58:58 -07:00
Catherine Liu
baa7ac2c70
[Canvas] Fixes error handling of NetworkErrors (#28282)
* Fixes error handling with NetworkErrors

* Removed lodash get
2019-01-09 14:56:55 -07:00
Catherine Liu
b57461117d
Adds options to download workpad from an active workpad (#28131)
* Change download icon from sortDown to exportAction in workpad loader

* Added context menu and download menu item to workpad export popover

* Updated icon on download button in workpad loader

* Added TODO in workpad export

* Added copy to clipboard on click to disabled reporting panel view
2019-01-09 14:46:46 -07:00
Jason Rhodes
c4be00fae7
Switched tabs to render to avoid unnecessary mount cycles (#28389)
* Switched tabs to render to avoid unnecessary mount cycles

We were previously using the 'component' prop for React Router routes inside of our history tabs component, which causes lots of extra mount cycles. Using the 'render' prop avoids that.

We also decided to *only* allow the render prop, which means using a component is a little more verbose b/c you have to pass down props from the render method, but it's worth it to avoid accidentally using 'component'.

For more, see: https://reacttraining.com/react-router/web/api/Route

Specifically:

"When you use component (instead of render or children, below) the router uses React.createElement to create a new React element from the given component. That means if you provide an inline function to the component prop, you would create a new component every render. This results in the existing component unmounting and the new component mounting instead of just updating the existing component. When using an inline function for inline rendering, use the render or the children prop (below)."

* Prevents trace list from flickering on data load, while still preventing inaccurate no items message while loading

* Updates tests
2019-01-09 16:08:35 -05:00