Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add query logging into graphql explorer #34

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Conversation

WyzaXX
Copy link
Collaborator

@WyzaXX WyzaXX commented Aug 8, 2024

Changed the library used for the graphql explorer (Now Postgraphile is used).

Added the following 'queryLogs' table which contains the following:
id: id
query: executed query (sanitized)
location: city and country
timestamp: time of query execution (now)
chainName: name of the chain

Now to launch the graphql explorer locally sqd api needs to be used.

NOTE: All deployed squids need to be redeployed.

@WyzaXX WyzaXX requested review from georg-getz and vikinatora August 8, 2024 14:10
@WyzaXX WyzaXX self-assigned this Aug 8, 2024
@WyzaXX WyzaXX merged commit 20c8da7 into main Aug 9, 2024
2 checks passed
@nistanimirov nistanimirov added this to the Improvements milestone Aug 9, 2024
@WyzaXX WyzaXX deleted the feat/query_logging branch August 9, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants