[8.10] [Infra UI] Normalise network and Disk rates for Hosts across time ranges (#165680) (#165836)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Infra UI] Normalise network and Disk rates for Hosts across time
ranges (#165680)](https://github.com/elastic/kibana/pull/165680)

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

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

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2023-09-06T11:30:51Z","message":"[Infra
UI] Normalise network and Disk rates for Hosts across time ranges
(#165680)\n\nCloses #164152 \r\n\r\n## Summary\r\n\r\nThis PR normalizes
the disk and network charts per second. The charts\r\nchanged:\r\nDisk
IOPS (read/write) \r\n<img width=\"390\"
alt=\"diskiops\"\r\nsrc=\"d0993032-7309-4fb9-9e4e-0e9bce73e89e\">\r\nNetwork
(rx/tx)\r\n<img width=\"402\"
alt=\"network\"\r\nsrc=\"33b20570-60ca-48ef-839b-0363bcccd24a\">\r\nDisk
Throughput (read/write)\r\n<img width=\"590\"
alt=\"diskth\"\r\nsrc=\"115eba5a-7d46-4846-8f88-fe041b4cfeed\">\r\n\r\n##
Testing\r\n\r\n1. Go to hosts view and check network and disk charts
(they should be\r\nnormalized per second)\r\n2. Open the host flyout and
check network and disk charts (they should\r\nbe normalized per
second)\r\n\r\n\r\n\r\n087cd044-b6cc-4612-8fca-391a96848365","sha":"14876726f4f6edd57672644a322e55cd3d2afd6a","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Infra
Monitoring
UI","release_note:skip","backport:prev-minor","v8.11.0"],"number":165680,"url":"https://github.com/elastic/kibana/pull/165680","mergeCommit":{"message":"[Infra
UI] Normalise network and Disk rates for Hosts across time ranges
(#165680)\n\nCloses #164152 \r\n\r\n## Summary\r\n\r\nThis PR normalizes
the disk and network charts per second. The charts\r\nchanged:\r\nDisk
IOPS (read/write) \r\n<img width=\"390\"
alt=\"diskiops\"\r\nsrc=\"d0993032-7309-4fb9-9e4e-0e9bce73e89e\">\r\nNetwork
(rx/tx)\r\n<img width=\"402\"
alt=\"network\"\r\nsrc=\"33b20570-60ca-48ef-839b-0363bcccd24a\">\r\nDisk
Throughput (read/write)\r\n<img width=\"590\"
alt=\"diskth\"\r\nsrc=\"115eba5a-7d46-4846-8f88-fe041b4cfeed\">\r\n\r\n##
Testing\r\n\r\n1. Go to hosts view and check network and disk charts
(they should be\r\nnormalized per second)\r\n2. Open the host flyout and
check network and disk charts (they should\r\nbe normalized per
second)\r\n\r\n\r\n\r\n087cd044-b6cc-4612-8fca-391a96848365","sha":"14876726f4f6edd57672644a322e55cd3d2afd6a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165680","number":165680,"mergeCommit":{"message":"[Infra
UI] Normalise network and Disk rates for Hosts across time ranges
(#165680)\n\nCloses #164152 \r\n\r\n## Summary\r\n\r\nThis PR normalizes
the disk and network charts per second. The charts\r\nchanged:\r\nDisk
IOPS (read/write) \r\n<img width=\"390\"
alt=\"diskiops\"\r\nsrc=\"d0993032-7309-4fb9-9e4e-0e9bce73e89e\">\r\nNetwork
(rx/tx)\r\n<img width=\"402\"
alt=\"network\"\r\nsrc=\"33b20570-60ca-48ef-839b-0363bcccd24a\">\r\nDisk
Throughput (read/write)\r\n<img width=\"590\"
alt=\"diskth\"\r\nsrc=\"115eba5a-7d46-4846-8f88-fe041b4cfeed\">\r\n\r\n##
Testing\r\n\r\n1. Go to hosts view and check network and disk charts
(they should be\r\nnormalized per second)\r\n2. Open the host flyout and
check network and disk charts (they should\r\nbe normalized per
second)\r\n\r\n\r\n\r\n087cd044-b6cc-4612-8fca-391a96848365","sha":"14876726f4f6edd57672644a322e55cd3d2afd6a"}}]}]
BACKPORT-->

Co-authored-by: jennypavlova <dzheni.pavlova@elastic.co>
This commit is contained in:
Kibana Machine 2023-09-06 08:48:39 -04:00 committed by GitHub
parent ddc1ba3074
commit db95f6c14b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 0 deletions

View file

@ -16,4 +16,5 @@ export const diskIORead: FormulaValueConfig = {
decimals: 0,
},
},
timeScale: 's',
};

View file

@ -16,4 +16,5 @@ export const diskReadThroughput: FormulaValueConfig = {
decimals: 1,
},
},
timeScale: 's',
};

View file

@ -16,4 +16,5 @@ export const diskIOWrite: FormulaValueConfig = {
decimals: 0,
},
},
timeScale: 's',
};

View file

@ -16,4 +16,5 @@ export const diskWriteThroughput: FormulaValueConfig = {
decimals: 1,
},
},
timeScale: 's',
};

View file

@ -17,4 +17,5 @@ export const rx: FormulaValueConfig = {
decimals: 1,
},
},
timeScale: 's',
};

View file

@ -17,4 +17,5 @@ export const tx: FormulaValueConfig = {
decimals: 1,
},
},
timeScale: 's',
};