-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Adds optional version to the namespace
- Loading branch information
1 parent
65edeb0
commit c6c20ea
Showing
7 changed files
with
173 additions
and
143 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
CREATE TABLE faucet_http_events ( | ||
request_uuid UUID, | ||
namespace TEXT, | ||
version TEXT, | ||
target TEXT, | ||
worker_route TEXT, | ||
worker_id INT, | ||
ip_addr INET, | ||
method TEXT, | ||
path TEXT, | ||
query_params TEXT, | ||
version TEXT, | ||
http_version TEXT, | ||
status SMALLINT, | ||
user_agent TEXT, | ||
elapsed BIGINT, | ||
time TIMESTAMPTZ | ||
); | ||
|
||
CREATE INDEX faucet_http_events_request_uuid_idx | ||
ON faucet_http_events USING BTREE (request_uuid); | ||
CREATE TABLE faucet_error_reporting ( | ||
request_uuid UUID, | ||
session_uuid UUID, -- Every Shiny Session has their own request uuid. | ||
event_time TIMESTAMPTZ, | ||
error_message TEXT, | ||
context JSONB | ||
); | ||
|
||
CREATE INDEX idx_faucet_http_events_request_uuid | ||
ON faucet_http_events (request_uuid); | ||
|
||
CREATE INDEX idx_faucet_error_reporting_request_uuid | ||
ON faucet_error_reporting (request_uuid); | ||
|
||
CREATE INDEX idx_faucet_error_reporting_session_uuid | ||
ON faucet_error_reporting (session_uuid); |
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
Oops, something went wrong.