diff --git a/x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx b/x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx index 17559755b12e1d..f2726cf41e5789 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx @@ -63,14 +63,14 @@ export function CorrelationsTable({ const history = useHistory(); const columns: Array> = [ { - width: '100px', + width: '116px', field: 'impact', name: i18n.translate( 'xpack.apm.correlations.correlationsTable.impactLabel', { defaultMessage: 'Impact' } ), render: (_: any, term: T) => { - return ; + return ; }, }, { diff --git a/x-pack/plugins/apm/public/components/app/correlations/error_correlations.tsx b/x-pack/plugins/apm/public/components/app/correlations/error_correlations.tsx index 6a5582ca24fc7f..4e8a8e3f5092ff 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/error_correlations.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/error_correlations.tsx @@ -103,7 +103,7 @@ export function ErrorCorrelations({ onClose }: Props) { <> - +

{i18n.translate('xpack.apm.correlations.error.description', { defaultMessage: diff --git a/x-pack/plugins/apm/public/components/app/correlations/index.tsx b/x-pack/plugins/apm/public/components/app/correlations/index.tsx index eba7c42490e066..464bcf1cde8708 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/index.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/index.tsx @@ -66,7 +66,6 @@ export function Correlations() { onClick={() => { setIsFlyoutVisible(true); }} - iconType="visTagCloud" > {i18n.translate('xpack.apm.correlations.buttonLabel', { defaultMessage: 'View correlations', @@ -100,12 +99,25 @@ export function Correlations() { /> + + {tabs.map(({ key, label }) => ( + { + setCurrentTab(key); + }} + > + {label} + + ))} + {urlParams.kuery ? ( <> - + {i18n.translate( 'xpack.apm.correlations.filteringByLabel', @@ -116,7 +128,7 @@ export function Correlations() { - + {i18n.translate( 'xpack.apm.correlations.clearFiltersLabel', { defaultMessage: 'Clear' } @@ -128,21 +140,6 @@ export function Correlations() { ) : null} - - - {tabs.map(({ key, label }) => ( - { - setCurrentTab(key); - }} - > - {label} - - ))} - - setIsFlyoutVisible(false)} /> diff --git a/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.tsx b/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.tsx index 22dd89918e25d6..76e9a9242efbe2 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.tsx @@ -110,7 +110,7 @@ export function LatencyCorrelations({ onClose }: Props) { <> - +

{i18n.translate('xpack.apm.correlations.latency.description', { defaultMessage: @@ -250,6 +250,7 @@ function LatencyDistributionChart({ yScaleType={ScaleType.Linear} xAccessor={'x'} yAccessors={['y']} + color={theme.eui.euiColorVis1} data={data?.overall?.distribution || []} minBarHeight={5} tickFormat={(d) => `${roundFloat(d)}%`} @@ -271,7 +272,7 @@ function LatencyDistributionChart({ yScaleType={ScaleType.Linear} xAccessor={'x'} yAccessors={['y']} - color={theme.eui.euiColorAccent} + color={theme.eui.euiColorVis2} data={getSelectedDistribution(data, selectedSignificantTerm)} minBarHeight={5} tickFormat={(d) => `${roundFloat(d)}%`}