Skip to content
Snippets Groups Projects
Verified Commit c7b64028 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Revert "Downsample duration sum (to calculate total consuming time)"

Having put some more thought in this it doesn't make sense to sum the
total durations as this can be influenced heavily by lots of fast
requests.

This reverts commit 8e2c18f9.
parent a5e1ae1e
No related branches found
No related tags found
No related merge requests found
CREATE CONTINUOUS QUERY grape_transaction_timings_per_action ON $DATABASE
BEGIN
SELECT sum("duration") AS duration_sum,
mean("duration") AS duration_mean,
SELECT mean("duration") AS duration_mean,
percentile("duration", 95) AS duration_95th,
percentile("duration", 99) AS duration_99th,
mean(sql_duration) AS sql_duration_mean,
Loading
Loading
CREATE CONTINUOUS QUERY rails_transaction_timings_per_action ON $DATABASE
BEGIN
SELECT sum("duration") AS duration_sum,
mean("duration") AS duration_mean,
SELECT mean("duration") AS duration_mean,
percentile("duration", 95) AS duration_95th,
percentile("duration", 99) AS duration_99th,
mean(sql_duration) AS sql_duration_mean,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment