Skip to content

Commit 36e7d62

Browse files
committed
Version 1.0.0
1 parent 474aef0 commit 36e7d62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/clickhouse_information.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ SELECT toStartOfHour(event_time) AS time,
315315
WHERE event_date >= date_sub(HOUR, 48, today())
316316
GROUP BY time ORDER BY time FORMAT PrettyCompact"
317317

318-
# today by minute (last 30 minutes)
318+
# today by minute (last 60 minutes)
319319
clickhouse-client --query "
320320
SELECT toStartOfMinute(event_time) AS time,
321321
sum(ProfileEvent_UserTimeMicroseconds) AS user_time,
@@ -329,7 +329,7 @@ SELECT toStartOfMinute(event_time) AS time,
329329
sum(ProfileEvent_MergedRows) as merged_rows,
330330
bar(merged_rows, 0, $MAX_MERGED_ROWS, 15) AS merged_rows_bar
331331
FROM system.metric_log
332-
WHERE event_time >= timestamp_sub(minute, 30, now())
332+
WHERE event_time >= timestamp_sub(minute, 60, now())
333333
GROUP BY time ORDER BY time FORMAT PrettyCompact"
334334
echo
335335

0 commit comments

Comments
 (0)