mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Streams] Data ingestion tooltip (#217453)
Adds a tooltip to the histogram, and adjusts the wording of the other ingestion tooltips slightly Before:  After: 
This commit is contained in:
parent
0a3e1fa3d8
commit
05712f2bf8
3 changed files with 23 additions and 10 deletions
|
@ -17,8 +17,9 @@ import {
|
|||
EuiLoadingChart,
|
||||
EuiPanel,
|
||||
EuiSpacer,
|
||||
EuiText,
|
||||
useEuiTheme,
|
||||
EuiIconTip,
|
||||
EuiText,
|
||||
} from '@elastic/eui';
|
||||
import {
|
||||
AreaSeries,
|
||||
|
@ -59,13 +60,25 @@ export function IngestionRate({
|
|||
<EuiPanel hasShadow={false} hasBorder={false} paddingSize="s">
|
||||
<EuiFlexGroup alignItems="center">
|
||||
<EuiFlexItem grow={3}>
|
||||
<EuiText>
|
||||
<h5>
|
||||
{i18n.translate('xpack.streams.streamDetailLifecycle.ingestionRatePanel', {
|
||||
defaultMessage: 'Ingestion rate',
|
||||
})}
|
||||
</h5>
|
||||
</EuiText>
|
||||
<EuiFlexGroup gutterSize="xs" alignItems="center">
|
||||
<EuiText>
|
||||
<h5>
|
||||
{i18n.translate('xpack.streams.streamDetailLifecycle.ingestionRatePanel', {
|
||||
defaultMessage: 'Ingestion rate',
|
||||
})}
|
||||
</h5>
|
||||
</EuiText>
|
||||
<EuiIconTip
|
||||
content={i18n.translate(
|
||||
'xpack.streams.streamDetailLifecycle.ingestionRatePanelTooltip',
|
||||
{
|
||||
defaultMessage:
|
||||
'Approximate average. Interval adjusts dynamically based on the time range. Calculated using the average document size in the stream, multiplied with the number of documents in the time bucket.',
|
||||
}
|
||||
)}
|
||||
position="right"
|
||||
/>
|
||||
</EuiFlexGroup>
|
||||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem grow={false}>
|
||||
|
|
|
@ -175,7 +175,7 @@ export function RetentionMetadata({
|
|||
})}
|
||||
tip={i18n.translate('xpack.streams.streamDetailLifecycle.ingestionRateDetails', {
|
||||
defaultMessage:
|
||||
'Estimated average (stream total size divided by the number of days since creation).',
|
||||
'Approximate average (stream total size divided by the number of days since creation).',
|
||||
})}
|
||||
value={
|
||||
statsError ? (
|
||||
|
|
|
@ -144,7 +144,7 @@ export function StreamStatsPanel({ definition }: StreamStatsPanelProps) {
|
|||
'xpack.streams.streamDetailLifecycle.ingestionRateDetails',
|
||||
{
|
||||
defaultMessage:
|
||||
'Estimated average (stream total size divided by the number of days since creation).',
|
||||
'Approximate average (stream total size divided by the number of days since creation).',
|
||||
}
|
||||
)}
|
||||
position="right"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue