mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
(cherry picked from commit f1f35660f0
)
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
This commit is contained in:
parent
fd01923868
commit
c702042429
1 changed files with 36 additions and 29 deletions
|
@ -76,35 +76,42 @@ export const ProcessorsStats: FC<ProcessorsStatsProps> = ({ stats }) => {
|
|||
truncateText: true,
|
||||
'data-test-subj': 'mlProcessorStatsCount',
|
||||
},
|
||||
{
|
||||
field: 'stats.time_in_millis',
|
||||
name: (
|
||||
<EuiFlexGroup gutterSize="xs">
|
||||
<EuiFlexItem grow={false}>
|
||||
<FormattedMessage
|
||||
id="xpack.ml.trainedModels.modelsList.pipelines.processorStats.timePerDocHeader"
|
||||
defaultMessage="Time per doc"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<HelpIcon
|
||||
content={
|
||||
<FormattedMessage
|
||||
id="xpack.ml.trainedModels.modelsList.pipelines.processorStats.timePerDocDescription"
|
||||
defaultMessage="Total time spent preprocessing ingest documents during the lifetime of this node"
|
||||
/>
|
||||
}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
),
|
||||
width: '100px',
|
||||
truncateText: false,
|
||||
'data-test-subj': 'mlProcessorStatsTimePerDoc',
|
||||
render: (v: number) => {
|
||||
return durationFormatter(v);
|
||||
},
|
||||
},
|
||||
/**
|
||||
* TODO Display when https://github.com/elastic/elasticsearch/issues/81037 is resolved
|
||||
*/
|
||||
...(true
|
||||
? []
|
||||
: [
|
||||
{
|
||||
field: 'stats.time_in_millis',
|
||||
name: (
|
||||
<EuiFlexGroup gutterSize="xs">
|
||||
<EuiFlexItem grow={false}>
|
||||
<FormattedMessage
|
||||
id="xpack.ml.trainedModels.modelsList.pipelines.processorStats.timePerDocHeader"
|
||||
defaultMessage="Time per doc"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<HelpIcon
|
||||
content={
|
||||
<FormattedMessage
|
||||
id="xpack.ml.trainedModels.modelsList.pipelines.processorStats.timePerDocDescription"
|
||||
defaultMessage="Total time spent preprocessing ingest documents during the lifetime of this node"
|
||||
/>
|
||||
}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
),
|
||||
width: '100px',
|
||||
truncateText: false,
|
||||
'data-test-subj': 'mlProcessorStatsTimePerDoc',
|
||||
render: (v: number) => {
|
||||
return durationFormatter(v);
|
||||
},
|
||||
},
|
||||
]),
|
||||
{
|
||||
field: 'stats.current',
|
||||
name: (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue