Cal-heatmap dashboard for monitoring

Hello All, I am trying to build a monitoring dashboard using cal-heatmap plugin(Day as domain, each cell represents one day). Prometheus is the datsource and the data that I use is from Blackbox exporter. Basically, I want to represent uptime of an application using cal-heatmap. Here is the query,
probe_success{instance="https://www.example.com"}
But, the problem is with “Today’s” cell because it calculates for whole 24 hours(even when you look at 7am) and average will be less than what you are intended to see and cal-heatmap today’s column will be marked as Yellow, instead of Green(even though everything is working fine).
Screen Shot 2021-03-11 at 5.53.12 PM

Is there a way to overcome this issue?

This topic was automatically closed after 365 days. New replies are no longer allowed.