Skip to content

Commit

Permalink
Decrease number of samples for server flamegraphs
Browse files Browse the repository at this point in the history
Otherwise it works too slow, flameshow exit can take pretty long time
(interesting though that exit takes more then render).
  • Loading branch information
azat committed Dec 1, 2023
1 parent 5544e28 commit 246af4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpreter/clickhouse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ impl ClickHouse {
time.timestamp_nanos_opt()
.ok_or(Error::msg("Invalid time"))?
),
None => "toDateTime64(yesterday(), 6)".to_string(),
None => "toDateTime64(now() - INTERVAL 1 HOUR, 6)".to_string(),
},
match trace_type {
TraceType::Memory => "abs(sum(size))",
Expand Down

0 comments on commit 246af4b

Please sign in to comment.