-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
- Loading branch information
1 parent
48a5883
commit f4f2734
Showing
15 changed files
with
176 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
...ypes/api/resources/portal/resources/notifications/types/RegisterNotificationsRequest.d.ts
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
sdks/full/typescript/types/api/resources/portal/resources/notifications/types/index.d.ts
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...lization/resources/portal/resources/notifications/types/RegisterNotificationsRequest.d.ts
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
.../typescript/types/serialization/resources/portal/resources/notifications/types/index.d.ts
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[service] | ||
name = "db-cf-log" | ||
|
||
[runtime] | ||
kind = "clickhouse" | ||
|
||
[database] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
SET allow_experimental_object_type = 1; | ||
|
||
CREATE TABLE IF NOT EXISTS cf_tail_events | ||
( | ||
script_name String, | ||
ts DateTime64(3), -- This is tail_event.eventTimestamp, DateTime64(3) is milliseconds | ||
ray_id UUID, -- Extracted by tail worker | ||
tail_event JSON, -- TODO: might need to do the trickery used in analytics event | ||
INDEX idx_ray_id (ray_id) TYPE bloom_filter() GRANULARITY 4 | ||
) | ||
ENGINE = ReplicatedMergeTree() | ||
PARTITION BY toStartOfHour(ts) | ||
ORDER BY (script_name, ts, ray_id) | ||
TTL toDate(ts + toIntervalDay(3)) | ||
SETTINGS index_granularity = 8192, ttl_only_drop_parts = 1; |