Hi cove@accelbyte.net, A fairly common pattern in these cases would be to divide the number of errors by the total number of requests - in this case your ratio is more accurate and you don't h...
See more...
Hi cove@accelbyte.net, A fairly common pattern in these cases would be to divide the number of errors by the total number of requests - in this case your ratio is more accurate and you don't have to worry about division by zero: ts("myapp.httpstatus.5*") / sum(ts("myapp.httpstatus.*")) If your metrics are cumulative counters, a rate() function can be used to calculate the rate of change: rate(ts("myapp.httpstatus.5*")) / sum(rate(ts("myapp.httpstatus.*"))) Please let us know if this helps! -Vasily