mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[Streams] Data ingestion tooltip (#217453)](https://github.com/elastic/kibana/pull/217453) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Luca Wintergerst","email":"luca.wintergerst@elastic.co"},"sourceCommit":{"committedDate":"2025-04-08T10:27:09Z","message":"[Streams] Data ingestion tooltip (#217453)\n\nAdds a tooltip to the histogram, and adjusts the wording of the other\ningestion tooltips slightly\n\nBefore:\n\nAfter:\n","sha":"05712f2bf88d5baa68afeabec9e9501c453e926e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-logs","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"[Streams] Data ingestion tooltip","number":217453,"url":"https://github.com/elastic/kibana/pull/217453","mergeCommit":{"message":"[Streams] Data ingestion tooltip (#217453)\n\nAdds a tooltip to the histogram, and adjusts the wording of the other\ningestion tooltips slightly\n\nBefore:\n\nAfter:\n","sha":"05712f2bf88d5baa68afeabec9e9501c453e926e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/217453","number":217453,"mergeCommit":{"message":"[Streams] Data ingestion tooltip (#217453)\n\nAdds a tooltip to the histogram, and adjusts the wording of the other\ningestion tooltips slightly\n\nBefore:\n\nAfter:\n","sha":"05712f2bf88d5baa68afeabec9e9501c453e926e"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Luca Wintergerst <luca.wintergerst@elastic.co>
This commit is contained in:
parent
a6915c1a32
commit
1fb1f1945b
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