louwrentius / fio-plot

Create charts from FIO storage benchmark tool output
BSD 3-Clause "New" or "Revised" License
357 stars 85 forks source link

Add directory to hostname in line chart legend #112

Closed willgorman closed 7 months ago

willgorman commented 1 year ago

Fixes #111. This should make it possible to distinguish multiple series from the same host (e.g. tests with different block sizes) when they are graphed on the same chart

I'm not sure if this is the best way to go about it but it seems to work: CleanShot 2023-04-11 at 13 21 43

It's also possible to use the --xlabel-parent and --xlabel-depth options to choose which parts of the directory to display after the host name.

There does still seem to be an issue where the subtitle of the graph only displays the first block size.