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

Reduce unneeded gh metadata #223

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Reduce unneeded gh metadata #223

wants to merge 2 commits into from

Conversation

gdover9
Copy link

@gdover9 gdover9 commented Dec 23, 2024

Background

Four Keys queries in BigQuery and statistics on the Grafana dashboard take a long time time to run despite being uncomplicated. This is an attempt to reorganize the data sent to BigQuery in order to speed up performance.

Implementation Details

Reduction of the metadata inserted into tables in BQ from gh push and deployment-status actions. There are very few fields actually utilized in further reporting and cutting it down to these bare necessities can reduce the storage space required of the json metadata to ~25% it's original size (10.6MB -> 2.48MB).

Testing criteria

This is hard to test in a database environment until deployed, however nox unit testing can be performed on the code itself.

  • Nox test performed and succeeded

Jira Ticket

TBD

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.

1 participant