File tree Expand file tree Collapse file tree
x-pack/plugins/observability/public/components/app/section/apm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ describe('APMSection', () => {
6565 expect ( getByText ( 'APM' ) ) . toBeInTheDocument ( ) ;
6666 expect ( getByText ( 'View in app' ) ) . toBeInTheDocument ( ) ;
6767 expect ( getByText ( 'Services 11' ) ) . toBeInTheDocument ( ) ;
68- expect ( getByText ( 'Transactions per minute 312.00k' ) ) . toBeInTheDocument ( ) ;
68+ expect ( getByText ( 'Throughput 312.00k tpm ' ) ) . toBeInTheDocument ( ) ;
6969 expect ( queryAllByTestId ( 'loading' ) ) . toEqual ( [ ] ) ;
7070 } ) ;
7171 it ( 'shows loading state' , ( ) => {
@@ -80,6 +80,6 @@ describe('APMSection', () => {
8080 expect ( getByTestId ( 'loading' ) ) . toBeInTheDocument ( ) ;
8181 expect ( queryAllByText ( 'View in app' ) ) . toEqual ( [ ] ) ;
8282 expect ( queryAllByText ( 'Services 11' ) ) . toEqual ( [ ] ) ;
83- expect ( queryAllByText ( 'Transactions per minute 312.00k' ) ) . toEqual ( [ ] ) ;
83+ expect ( queryAllByText ( 'Throughput 312.00k tpm ' ) ) . toEqual ( [ ] ) ;
8484 } ) ;
8585} ) ;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export function APMSection({ bucketSize }: Props) {
9292 </ EuiFlexItem >
9393 < EuiFlexItem grow = { false } >
9494 < StyledStat
95- title = { formatTpm ( stats ?. transactions . value ) }
95+ title = { ` ${ formatTpm ( stats ?. transactions . value ) } tpm` }
9696 description = { i18n . translate ( 'xpack.observability.overview.apm.throughput' , {
9797 defaultMessage : 'Throughput' ,
9898 } ) }
You can’t perform that action at this time.
0 commit comments