My question is a little philosophical: how would you calculate the runtime of a process based on it Graphite metrics?
I have many examples of jvm process (Apache Spark). Each of them reports Graphite indicators every 5 minutes while it is alive. I want to calculate the uptime for each process and the average uptime for all of them this week and this month.
At the moment, I was not lucky to find a suitable method in Graphite or Grafana, which calculates the time of each measurement. Maybe I need to use an external script. It would also be nice to display the average uptime as a dashboard with one status in Grafana.
source
share