Skip to content

Commit 6138357

Browse files
committed
add pipes
1 parent 3eb2d19 commit 6138357

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

tinybird/pipes/vercel_cache_stats.pipe

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ TAGS "vercel_logs"
44

55
NODE cache_stats
66
SQL >
7+
%
78
SELECT
89
toStartOfHour(event_time) as hour,
910
count() as total_requests,

tinybird/pipes/vercel_errors.pipe

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ TAGS "vercel_logs"
44

55
NODE errors_over_time
66
SQL >
7+
%
78
SELECT
89
toStartOfHour(event_time) as hour,
910
countIf(event.proxy.statusCode >= 400) as error_count,

tinybird/pipes/vercel_requests_by_status.pipe

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ TAGS "vercel_logs"
44

55
NODE requests_by_status
66
SQL >
7+
%
78
SELECT
89
event.proxy.statusCode as status,
910
count() as count,

tinybird/pipes/vercel_response_times.pipe

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ TAGS "vercel_logs"
44

55
NODE response_times
66
SQL >
7-
7+
%
88
SELECT
99
toStartOfHour(event_time) as hour,
1010
round(avg(toFloat64OrZero(duration)), 2) as avg_duration,

tinybird/pipes/vercel_top_paths.pipe

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ TAGS "vercel_logs"
44

55
NODE top_paths
66
SQL >
7+
%
78
SELECT
89
event.proxy.path as path,
910
count() as requests,

0 commit comments

Comments
 (0)