Skip to content

Commit 1e4ff3e

Browse files
committed
add sentry
1 parent ddf14a8 commit 1e4ff3e

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tinybird/datasources/sentry.datasource

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@ TOKEN "append" APPEND
55
TAGS "sentry"
66

77
SCHEMA >
8-
`action` LowCardinality(String) `json:$.action`,
9-
`actor_id` String `json:$.actor.id` DEFAULT '',
10-
`actor_name` String `json:$.actor.name` DEFAULT '',
11-
`actor_type` String `json:$.actor.type` DEFAULT '',
12-
`data` JSON `json:$.data`,
13-
`resolution_type` LowCardinality(String) `json:$.data.resolution_type` DEFAULT '',
14-
`installation_uuid` String `json:$.installation.uuid` DEFAULT ''
8+
`action` LowCardinality(String) `json:$.action` DEFAULT 'unknown',
9+
`actor` JSON `json:$.actor` DEFAULT '{}',
10+
`data` JSON `json:$.data` DEFAULT '{}',
11+
`installation` JSON `json:$.installation` DEFAULT '{}'
1512

1613
ENGINE "MergeTree"
17-
ENGINE_SORTING_KEY "action, actor_name"
14+
ENGINE_SORTING_KEY "action"

0 commit comments

Comments
 (0)