Commit graph

1570 commits

Author SHA1 Message Date
Jason Rhodes
fafbe65d70
Fixes bug with broken tooltips (#29290)
* Removes pivotal tooltip in favor of EUI tooltip component b/c pivotal components do not work with React 16.6

* Fixes snapshot test for changed tooltip markup

* Adds ID props to EUI tooltips to avoid aria described by values breaking snapshots
2019-01-25 02:02:46 -05:00
Oliver Gupte
1ba6c28843
[APM] fixes #29037 by applying a key prop to <Fragment> within a render loop. (#29240) 2019-01-24 07:47:01 -08:00
Jason Rhodes
6eba497cc5
Adds chart to error overview list page (#29004) 2019-01-24 09:20:48 -05:00
Søren Louv-Jansen
9d33143ff9
[APM] Remove v1 and make required ECS changes (#28068)
* [APM] ECS changes

* Remove ambient types for idx

* Update `observer.listening`

* Added type safety to property config

* More ECS updates

* Juan fixes for ECS
2019-01-24 12:13:14 +01:00
Jason Rhodes
a11e471420
Updates React et al to 16.6 (#24707)
* Updates react to 16.6 (latest)

* Updated fragment-based snapshots for Kibana root unit tests

* Updated fragment-based snapshots for x-pack unit tests

* Removed xpack yarn.lock file bc it is no longer needed, it was reintroduced by accident during a rebase in this branch

* React 16.6 snapshot updates, round 2 (mostly Fragment snapshot diffs)

* Updated last round of React 16.6 snapshots

* Fixes query bar issue with 16.4 gDSFP lifecycle

* Updated yarn lock (arraybuffer.slice updated)

* Updates snapshots where executeQueryOptions prop appears
2019-01-23 13:46:09 -05:00
Søren Louv-Jansen
aac425fe1b
[APM] Remove shared metricsFetcher and minor renames (#29071) 2019-01-23 11:57:20 +01:00
Maryia Lapata
37977e3412
Translations for email template (#28663) 2019-01-23 13:31:48 +03:00
Jason Rhodes
f469861c78 Requires fields necessary for percent calculation (#29021)
* Requires fields necessary for percent calculation

* Fix snapshot

* Add guard to asPercent formatter
2019-01-21 18:27:24 +01:00
Maryia Lapata
8c9363a992
[i18n] APM translations for TransactionDetails (#28659)
* Translations forTransactionDetails

* Update message ids

* Refactoring

* Put "not available" label into constants

* Remove typing for i18n values
2019-01-18 08:46:02 +03:00
Oliver Gupte
93930326de
[APM] fix object path for request url in sample transaction (#28901)
* fixes #28899 by using the correct object path to the url `transaction.context.request.url.full`

* [APM] fixed IStickeyProperty.val to be stricter to prevent this bug from happening again
2019-01-17 14:25:59 -08:00
Oliver Gupte
4ed3e37690
[APM] fixes the margin spaces in Span flyout (#28639)
* fixes #28071 by updating the margin spaces in the Span flyout

* [APM] improved code readability and removed redundancies
2019-01-17 14:25:33 -08:00
Maryia Lapata
781957c3d7
[i18n] APM translate missing labels (#28677)
* Translate missing labels

* Put "not available" label into constants
2019-01-17 23:16:34 +03:00
Casper Hübertz
9a8d5d0ebb
[APM] Fix icon for View trace button (#28908) 2019-01-17 14:39:49 +01:00
Søren Louv-Jansen
e2ee133976
[APM] Refactor url and linking handling (#28586) 2019-01-17 13:33:07 +01:00
Søren Louv-Jansen
516b268343
[APM] Fix Memory Chart Percentages (#28905) 2019-01-17 12:07:43 +01:00
Søren Louv-Jansen
a00d487afe
[APM] Fix asPercent (#28826) 2019-01-16 21:50:03 +01:00
Jason Rhodes
43429554d4
Filters transaction and error queries by processor.event (#28853)
* Fixes incorrect data bug, adds tests

* Another TS fix for optional groupId
2019-01-16 13:03:04 -05:00
Jason Rhodes
15a975b274
Finalize memory charts (#28625)
* Adds available memory stats (in percent) to metrics server response

* Updates UI memory charts for new data

* Updates memory chart metrics to be usage (average and max), removes other unused metrics

* Review feedback addressed, small refactors

* Updates memory chart tests
2019-01-16 09:50:16 -05:00
Oliver Gupte
5641f4ded4
[APM] use context.page.url when displaying error/transaction url if set (#28638) 2019-01-14 23:57:40 -08: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
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
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
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
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
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
Søren Louv-Jansen
cbe3a45083
[APM] Fix agent status check (#28254) 2019-01-10 16:56:54 +01: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
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
Søren Louv-Jansen
68a7cbd79f
[APM] Change dropped spans link (#27981) 2019-01-09 16:13:46 +01:00
Maryia Lapata
c80870ff41
[i18n] APM translations for Stacktrace tab (#27666)
* APM translations for Stacktrace tab

* Update unit tests

* Fix path

* Refactoring

* Fix test

* Remove unused dependencies

* Use i18n.translate

* Revert translation of stacktrace string
2019-01-09 15:41:47 +03:00
Maryia Lapata
045f12aca6
[i18n] APM translations for PropertiesTable (#27579)
* Translations for PropertiesTable

* Update unit tests

* Usage of shallow instead of mount

* Add `Tab` interface

* Fix path

* Usage of intl.formatMessage instead of FormattedMessage

* Remove unneeded types

* Use i18n.translate

* Update snapshot

* Remove unnecessary I18nProvider
2019-01-09 11:17:29 +03:00
Oliver Gupte
0c85bef82b
[APM] fix line charts not rendering a single data point (#28231)
* [APM] fixes #25650 by using react-vis LineMarkSeries rathern than LineSeries to render a single data point

* [APM] bumped mark size form 0.5 to 1 and removed commented code lines

* [APM] reduced mark size back down to 0.5 from 1 so they are not visible from within lines
2019-01-08 20:57:34 -08:00
Søren Louv-Jansen
dd6d93769b
[APM] Remove unneeded @ts-ignore and use destructed Lodash imports (#27881)
* [APM] remove unneeded ts-ignore and make lodash imports specific

* Remove unneeded isomorphic-fetch import

* Combine lodash imports
2019-01-03 15:21:28 +01:00
Søren Louv-Jansen
1b2a5861b4
[APM] Add icons to timeline (#27840)
* [APM] Add icons to timeline

* Update snapshots

* Remove unused imports

* Decrease font-size

* Add inline comments

* Fix margin for Legends

* Address feedback

* Fix snapshot

* Fix tslint
2019-01-03 00:50:17 +01:00
Søren Louv-Jansen
617ecdd73e
[APM] Remove automatic camelcasing of API responses (#27879) 2019-01-02 22:04:16 +01:00
Søren Louv-Jansen
e520f121c5
[APM] StickyProperties should render components as values (#27814) 2018-12-28 12:20:31 +01:00
Søren Louv-Jansen
5a67e7e5ee
[APM] Remove DT beta label (#27808) 2018-12-27 18:12:51 +01:00
Nathan Reese
20ff1f64ca
EUI 6.0.1 (#27787)
* EUI 6.0.1

* update snapshots
2018-12-26 14:30:27 -07:00
Søren Louv-Jansen
c7bd296ac4
[APM] Add missing trace_id to transaction histogram (#27591)
* [APM] Add missing trace_id to transaction histogram

* Handle 404 properly

* Fix `unhandled` issue

* Fix tests
2018-12-21 14:21:07 +01:00
Søren Louv-Jansen
2e44885e82
[APM] Fix occurrence typo (#27571) 2018-12-20 13:12:44 +01:00
Søren Louv-Jansen
998afde6e4
[APM] Link from error to transaction (#27227) 2018-12-20 00:47:13 +01:00
Jason Rhodes
e8f7d9e8b7
APM Metrics, UI Baseline (#26608)
* Service detail page refactor with TS conversions

* Adds error group list back to the service details page tabs

* Fixes after rebasing upstream master

* Adds integrations menu and flyouts, with no-transaction ML job creation and lookup

* WIP adds memory usage chart with fake data

* Adds error group distribution chart to metrics tab

* Metrics "memory" chart data flow from server to chart

* Server side query and transform set up for cpu charts

* CPU charts created

* Review feedback and watcher flyout

* Server tests added, broken tests fixed

* Review feedback

* Fixes up type problems

* Converts metric key paths to constants

* Fixes error group type issue after rebasing from master

* Makes transaction type filterable on transactions list tab

* Review feedback

* Chart formatting tweaks and fixes

* Fixes y-axis ticks for GB chart

* Restores machine learning annotations with some test fixes

* Continued styling and other review based changes

* More review fixes and cleanup

* Updated chartGroupProps -> hoverXHandlers

* Removes "type" column from transaction list table

* Re-centers around using urlParams

* Fixes panel item references in service integrations menu

* Serves default transaction type from /transactions route

* Reverts tooltip series ordering change

* Adds a clarification note about route config

* Makes it possible to request transaction chart data without specifying type

* Fixes empty series problem for memory chart

* Fixes tests

* Review feedback

* Fixes after rebase

* Replaces boolean casted array#find with array#some
2018-12-19 13:27:21 -05:00
Maryia Lapata
cc36afd5ec
Translate Feedback menu (#27485) 2018-12-19 17:15:58 +03:00
Maryia Lapata
7977257920
[i18n] APM translations (Part 2) (#27400)
* Translations for chartSelectors

* Update ids

* Update ids
2018-12-19 17:12:53 +03:00