Skip to content

Commit

Permalink
[8.7] Update tooltip diff flamegraph (#151437) (#151479)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.7`:
- [Update tooltip diff flamegraph
(#151437)](#151437)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Boris
Kirov","email":"boris.kirov@elastic.co"},"sourceCommit":{"committedDate":"2023-02-16T16:08:42Z","message":"Update
tooltip diff flamegraph (#151437)\n\n## Summary\r\n\r\nUpdated the copy
in the tooltip based on our discussion in this
ticket:\r\nhttps://github.com/elastic/prodfiler/issues/3001","sha":"ff061ff984d77fe1614e89288f3e11207659809a","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.7.0","v8.8.0"],"number":151437,"url":"#151437
tooltip diff flamegraph (#151437)\n\n## Summary\r\n\r\nUpdated the copy
in the tooltip based on our discussion in this
ticket:\r\nhttps://github.com/elastic/prodfiler/issues/3001","sha":"ff061ff984d77fe1614e89288f3e11207659809a"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"#151437
tooltip diff flamegraph (#151437)\n\n## Summary\r\n\r\nUpdated the copy
in the tooltip based on our discussion in this
ticket:\r\nhttps://github.com/elastic/prodfiler/issues/3001","sha":"ff061ff984d77fe1614e89288f3e11207659809a"}}]}]
BACKPORT-->

Co-authored-by: Boris Kirov <boris.kirov@elastic.co>
  • Loading branch information
kibanamachine and boriskirov committed Feb 16, 2023
1 parent 321f469 commit bdfa747
Showing 1 changed file with 26 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,32 @@ export function NormalizationMenu(props: Props) {
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiIconTip
content={i18n.translate(
'xpack.profiling.flameGraphNormalizationMenu.normalizeByTooltip',
{
defaultMessage:
'Normalization is the process of organizing a database to reduce redundancy and improve data integrity.',
}
)}
content={
<EuiFlexGroup direction="column" gutterSize="s">
<EuiFlexItem>
<span>
{i18n.translate(
'xpack.profiling.flameGraphNormalizationMenu.normalizeByTimeTooltip',
{
defaultMessage:
'To compare a set of machines over time periods of different lengths (for example: Compare the last hour against the last 24h), choose Normalize by Time. The number of samples on the shorter timeframe will be multiplied to match the longer timeframe (in this example, by 24).',
}
)}
</span>
</EuiFlexItem>
<EuiFlexItem>
<span>
{i18n.translate(
'xpack.profiling.flameGraphNormalizationMenu.normalizeByScaleTooltip',
{
defaultMessage:
'To compare differently-sized sets of machines (e.g. a deployment on 10% of machines against a deployment on 90% of machines), choose Scale Factor and provide an appropriate factor to multiply the right-hand side with.',
}
)}
</span>
</EuiFlexItem>
</EuiFlexGroup>
}
position="right"
/>
</EuiFlexItem>
Expand Down

0 comments on commit bdfa747

Please sign in to comment.