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
This commit is contained in:
Jason Rhodes 2018-12-19 13:27:21 -05:00 committed by GitHub
parent e0a2ddd342
commit e8f7d9e8b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
127 changed files with 4260 additions and 1900 deletions

View file

@ -5,11 +5,15 @@
*/
/* tslint:disable no-console */
import { AggregationSearchResponse, SearchParams } from 'elasticsearch';
import {
AggregationSearchResponse,
ESFilter,
SearchParams
} from 'elasticsearch';
import { Legacy } from 'kibana';
import moment from 'moment';
function decodeEsQuery(esQuery?: string): object {
function decodeEsQuery(esQuery?: string) {
return esQuery ? JSON.parse(decodeURIComponent(esQuery)) : null;
}
@ -21,7 +25,7 @@ export type ESClient = <T = void, U = void>(
export interface Setup {
start: number;
end: number;
esFilterQuery?: any;
esFilterQuery?: ESFilter;
client: ESClient;
config: Legacy.KibanaConfig;
}