[APM] Bugfix: Increase table columns for latency and throughput (#110187)

This commit is contained in:
Casper Hübertz 2021-08-26 17:21:28 +02:00 committed by GitHub
parent 0069faf8dd
commit dc0c322847
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -101,7 +101,7 @@ export function getColumns({
{
field: 'latency',
name: getLatencyColumnLabel(latencyAggregationType),
width: `${unit * 10}px`,
width: `${unit * 11}px`,
render: (_, { serviceNodeName, latency }) => {
const currentPeriodTimestamp =
detailedStatsData?.currentPeriod?.[serviceNodeName]?.latency;
@ -126,7 +126,7 @@ export function getColumns({
'xpack.apm.serviceOverview.instancesTableColumnThroughput',
{ defaultMessage: 'Throughput' }
),
width: `${unit * 10}px`,
width: `${unit * 11}px`,
render: (_, { serviceNodeName, throughput }) => {
const currentPeriodTimestamp =
detailedStatsData?.currentPeriod?.[serviceNodeName]?.throughput;

View file

@ -81,7 +81,7 @@ export function SparkPlot({
return (
<EuiFlexGroup
justifyContent="spaceBetween"
gutterSize="m"
gutterSize="xs"
responsive={false}
alignItems="flexEnd"
>

View file

@ -80,7 +80,7 @@ export function DependenciesTable(props: Props) {
name: i18n.translate('xpack.apm.dependenciesTable.columnLatency', {
defaultMessage: 'Latency (avg.)',
}),
width: `${unit * 10}px`,
width: `${unit * 11}px`,
render: (_, { currentStats, previousStats }) => {
return (
<SparkPlot
@ -99,7 +99,7 @@ export function DependenciesTable(props: Props) {
name: i18n.translate('xpack.apm.dependenciesTable.columnThroughput', {
defaultMessage: 'Throughput',
}),
width: `${unit * 10}px`,
width: `${unit * 11}px`,
render: (_, { currentStats, previousStats }) => {
return (
<SparkPlot

View file

@ -71,7 +71,7 @@ export function getColumns({
field: 'latency',
sortable: true,
name: getLatencyColumnLabel(latencyAggregationType),
width: `${unit * 10}px`,
width: `${unit * 11}px`,
render: (_, { latency, name }) => {
const currentTimeseries =
transactionGroupDetailedStatistics?.currentPeriod?.[name]?.latency;
@ -97,7 +97,7 @@ export function getColumns({
'xpack.apm.serviceOverview.transactionsTableColumnThroughput',
{ defaultMessage: 'Throughput' }
),
width: `${unit * 10}px`,
width: `${unit * 11}px`,
render: (_, { throughput, name }) => {
const currentTimeseries =
transactionGroupDetailedStatistics?.currentPeriod?.[name]?.throughput;