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

Merge branch 'downsample-memory-usage-max' into 'master'

Downsample memory_usage max values (rails / sidekiq)

See merge request !5
parents db510df0 303cd312
No related branches found
No related tags found
1 merge request!5Downsample memory_usage max values (rails / sidekiq)
Loading
Loading
@@ -2,7 +2,8 @@ CREATE CONTINUOUS QUERY rails_memory_usage_overall ON $DATABASE
BEGIN
SELECT mean(value) AS memory_mean,
percentile(value, 95) AS memory_95th,
percentile(value, 99) AS memory_99th
percentile(value, 99) AS memory_99th,
max(value) AS memory_max
INTO downsampled.rails_memory_usage_overall
FROM "default".rails_memory_usage
GROUP BY time(1m)
Loading
Loading
Loading
Loading
@@ -2,7 +2,8 @@ CREATE CONTINUOUS QUERY sidekiq_memory_usage_overall ON $DATABASE
BEGIN
SELECT mean(value) AS memory_mean,
percentile(value, 95) AS memory_95th,
percentile(value, 99) AS memory_99th
percentile(value, 99) AS memory_99th,
max(value) AS memory_max
INTO downsampled.sidekiq_memory_usage_overall
FROM "default".sidekiq_memory_usage
GROUP BY time(1m)
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