Dtdhms is my unit value and i want to show colour based on day

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

Grafana version: 9.5.1 and its used in windows/ubuntu

  • What are you trying to achieve?
    I have a value which is stored in seconds and it is converted to time unit(dtdhms) so the format is like 24 d 01:01:20 and i want to colour based on that day range. So my example is if it goes between 0-14 i want to show orange.

I am using cloudwatch metrics.

  • How are you trying to achieve it?

I have tried using value mappings regex and also range.

  • What happened?
    This doesnt work and no change. it always shows green no matter what day it has

Welcome @muralinasapuonline

If what goes between 0-14? days, hours ?

So it was in seconds and i was converting to Dtdhms and it all works now as i am setting the threshold to seconds now instead of the date and time.

1 Like