Converting label to time

Hi,

I have the following metrics scraping from an exporter and the label has the correct “time” I want to use in X axis instead of “Time”.

Is it possible to convert/transform “time” label as x axis?

Thank you

Hi @ashanok

Prometheus handles labels as opaque strings, so you may need to rethink your approach. I recently dug into this issue a little with another user over in our repo.

See this discussion for more details: