Skip to content

Commit

Permalink
[Infra UI] Normalise network and Disk rates for Hosts across time ran…
Browse files Browse the repository at this point in the history
…ges (#165680)

Closes #164152 

## Summary

This PR normalizes the disk and network charts per second. The charts
changed:
Disk IOPS (read/write) 
<img width="390" alt="diskiops"
src="https://github.com/elastic/kibana/assets/14139027/d0993032-7309-4fb9-9e4e-0e9bce73e89e">
Network (rx/tx)
<img width="402" alt="network"
src="https://github.com/elastic/kibana/assets/14139027/33b20570-60ca-48ef-839b-0363bcccd24a">
Disk Throughput (read/write)
<img width="590" alt="diskth"
src="https://github.com/elastic/kibana/assets/14139027/115eba5a-7d46-4846-8f88-fe041b4cfeed">

## Testing

1. Go to hosts view and check network and disk charts (they should be
normalized per second)
2. Open the host flyout and check network and disk charts (they should
be normalized per second)



https://github.com/elastic/kibana/assets/14139027/087cd044-b6cc-4612-8fca-391a96848365
  • Loading branch information
jennypavlova authored Sep 6, 2023
1 parent a00e5e3 commit 1487672
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ export const diskIORead: FormulaValueConfig = {
decimals: 0,
},
},
timeScale: 's',
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ export const diskReadThroughput: FormulaValueConfig = {
decimals: 1,
},
},
timeScale: 's',
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ export const diskIOWrite: FormulaValueConfig = {
decimals: 0,
},
},
timeScale: 's',
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ export const diskWriteThroughput: FormulaValueConfig = {
decimals: 1,
},
},
timeScale: 's',
};
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export const rx: FormulaValueConfig = {
decimals: 1,
},
},
timeScale: 's',
};
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export const tx: FormulaValueConfig = {
decimals: 1,
},
},
timeScale: 's',
};

0 comments on commit 1487672

Please sign in to comment.