Need to divide by time interval.
@@ -368,7 +368,8 @@ static PyObject *wsgi_request_metrics(void)
Py_DECREF(object);
request_busy_time = stop_request_busy_time - start_request_busy_time;
- capacity_utilization = (request_busy_time / max_threads);
+
+ capacity_utilization = request_busy_time / time_interval / max_threads;
object = PyFloat_FromDouble(capacity_utilization);
PyDict_SetItem(result,
