Need the y axis markers to be rounded while actual values absolute in time series panel

  • What Grafana version and what operating system are you using?
    v9.2.4

  • What are you trying to achieve?
    Y axis is in my panel is coming from duration in d hh:mm:ss unit. The values are absolute, which is perfect, but the markers look ugly on the axis. Can I change it in someway to display the y axis markers more rounded up and clean keeping the actual data to be absolute.

  • How are you trying to achieve it?
    Unit filter in the panel edit. It has only few options for duration:

  • duration(s)
  • duration(hh:mm:ss)
  • duration (d hh:mm:ss)
    but none of these is helping me get the best visualization
  • What happened?
    it either displays:
  • Duration(s) fixes the y axis markers as human readable compact ones, but the data points are highly rounded off. for 1h 28 min, it displays only 1 hr for my data point.
  • duration (hh:mm:ss) fixes my data point, but the y axis marker looks complex and crammed.
  • duration(d hh:mm:ss) fixes my data point, but the y axis marker looks complex and crammed.
  • What did you expect to happen?
    duration(s) should not round up the data point so vaguely.

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?