Skip to content

Commit a287d59

Browse files
authored
Add vllm_buildkite_agents table (#7365)
The PR to create the new table on test-infra side. I have test the query on `fortesting` table to start with. cc @hl475 --------- Signed-off-by: Huy Do <[email protected]>
1 parent 4f1beab commit a287d59

File tree

4 files changed

+71
-0
lines changed

4 files changed

+71
-0
lines changed

aws/lambda/clickhouse-replicator-dynamo/lambda_function.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"torchci-pull-request-review-comment": "default.pull_request_review_comment",
3131
"torchci-metrics-ci-wait-time": "misc.metrics_ci_wait_time",
3232
"torchci-dynamo-perf-stats": "benchmark.inductor_torch_dynamo_perf_stats",
33+
"vllm-buildkite-agent-events": "vllm.vllm_buildkite_agents",
3334
"vllm-buildkite-build-events": "vllm.vllm_buildkite_builds",
3435
"vllm-buildkite-job-events": "vllm.vllm_buildkite_jobs",
3536
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
CREATE TABLE vllm.vllm_buildkite_agents (
2+
dynamoKey String,
3+
agent Tuple(
4+
last_job_finished_at Nullable(DateTime64(3)),
5+
creator Nullable(String),
6+
paused Bool,
7+
created_at DateTime64(3),
8+
ip_address String,
9+
connection_state String,
10+
priority UInt32,
11+
version String,
12+
url String,
13+
cluster_url String,
14+
hostname String,
15+
paused_at Nullable(DateTime64(3)),
16+
web_url String,
17+
cluster_queue_url String,
18+
name String,
19+
meta_data Array(String),
20+
paused_timeout_in_minutes UInt32,
21+
id String,
22+
paused_note Nullable(String),
23+
job Tuple(
24+
retried Bool,
25+
finished_at Nullable(DateTime64(3)),
26+
parallel_group_index Nullable(UInt32),
27+
graphql_id String,
28+
artifacts_url String,
29+
step_key Nullable(String),
30+
created_at DateTime64(3),
31+
scheduled_at DateTime64(3),
32+
expired_at Nullable(DateTime64(3)),
33+
retries_count Nullable(UInt32),
34+
type String,
35+
exit_status Nullable(Int32),
36+
matrix Nullable(String),
37+
cluster_url String,
38+
cluster_id String,
39+
soft_failed Bool,
40+
retried_in_job_id Nullable(String),
41+
log_url String,
42+
retry_source Nullable(String),
43+
id String,
44+
state String,
45+
build_url String,
46+
retry_type Nullable(String),
47+
priority Tuple(number UInt32),
48+
agent_query_rules Array(String),
49+
command String,
50+
raw_log_url String,
51+
cluster_queue_id String,
52+
web_url String,
53+
cluster_queue_url String,
54+
parallel_group_total Nullable(UInt32),
55+
name String,
56+
started_at Nullable(DateTime64(3)),
57+
step Tuple(signature Nullable(String), id String),
58+
artifact_paths Nullable(String),
59+
runnable_at DateTime64(3)
60+
),
61+
user_agent String,
62+
paused_by Nullable(String)
63+
),
64+
event String,
65+
sender Tuple(name Nullable(String), id Nullable(String))
66+
) ENGINE = SharedReplacingMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')
67+
ORDER BY (
68+
agent.created_at,
69+
agent.name
70+
) SETTINGS index_granularity = 8192

0 commit comments

Comments
 (0)