feat(webapp): expose is_warm_start in TRQL runs schema (#3667)
Add is_warm_start to TRQL runs schema so warm vs cold start data is queryable
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
area: webapp
|
||||
type: feature
|
||||
---
|
||||
|
||||
Expose `is_warm_start` in the TRQL `runs` schema so warm vs cold start data can be queried and visualized in Dashboards.
|
||||
@@ -176,11 +176,19 @@ export const runsSchema: TableSchema = {
|
||||
idempotency_key: {
|
||||
name: "idempotency_key",
|
||||
clickhouseName: "idempotency_key_user",
|
||||
...column("String", { description: "Idempotency key (available from 4.3.3)", example: "user-123-action-456" }),
|
||||
...column("String", {
|
||||
description: "Idempotency key (available from 4.3.3)",
|
||||
example: "user-123-action-456",
|
||||
}),
|
||||
},
|
||||
idempotency_key_scope: {
|
||||
name: "idempotency_key_scope",
|
||||
...column("String", { description: "The idempotency key scope determines whether a task should be considered unique within a parent run, a specific attempt, or globally. An empty value means there's no idempotency key set (available from 4.3.3).", example: "run", allowedValues: ["global", "run", "attempt"], }),
|
||||
...column("String", {
|
||||
description:
|
||||
"The idempotency key scope determines whether a task should be considered unique within a parent run, a specific attempt, or globally. An empty value means there's no idempotency key set (available from 4.3.3).",
|
||||
example: "run",
|
||||
allowedValues: ["global", "run", "attempt"],
|
||||
}),
|
||||
},
|
||||
region: {
|
||||
name: "region",
|
||||
@@ -404,6 +412,13 @@ export const runsSchema: TableSchema = {
|
||||
...column("UInt8", { description: "Whether this is a test run (0 or 1)", example: "0" }),
|
||||
expression: "if(is_test > 0, true, false)",
|
||||
},
|
||||
is_warm_start: {
|
||||
name: "is_warm_start",
|
||||
...column("Nullable(UInt8)", {
|
||||
description: "Whether this run used a warm start vs a cold start.",
|
||||
example: "1",
|
||||
}),
|
||||
},
|
||||
concurrency_key: {
|
||||
name: "concurrency_key",
|
||||
...column("String", {
|
||||
|
||||
Reference in New Issue
Block a user