Skip to content

Commit

Permalink
[APM] Bugfix: Increase table columns for latency and throughput (#110187
Browse files Browse the repository at this point in the history
) (#110263)

Co-authored-by: Casper Hübertz <[email protected]>
  • Loading branch information
kibanamachine and formgeist authored Aug 26, 2021
1 parent 996b80b commit f04a1ff
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function SparkPlot({
return (
<EuiFlexGroup
justifyContent="spaceBetween"
gutterSize="m"
gutterSize="xs"
responsive={false}
alignItems="flexEnd"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit f04a1ff

Please sign in to comment.