Change receiving Thanos Metric to time

Hi all,

I would like to convert the following to a timestamp.

For example at this moment it is a 0 but I would like that this will be in hh:mm:ss. Moreover, when the output is 90 it should be 00:01:30.
I hope you can help me, thanks in advance.

Kind regards