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

Update or prepare bigquery exporter queries to use v2 ndt5 tables #869

Merged
merged 4 commits into from
Feb 26, 2022

Conversation

stephen-soltesz
Copy link
Contributor

@stephen-soltesz stephen-soltesz commented Jan 26, 2022

This change updates or prepares existing bigquery exporter queries for the pending changes to the ndt5 tables.

Since production will be updated last, the references to measurement-lab.ndt.ndt5 are replaced with references to (the equivalent) measurement-lab.ndt_raw.ndt5_legacy. This will allow the production deployment of the new table without breaking these queries before deployment. However, after production deployment, these references to ndt5_legacy will be come stale, as the v1 parser and gardener will no longer be populating the base_tables.ndt5 v1 tables. For the bq_daily_tests.sql query, this will result in an underestimate of the ndt5 rows until the update is deployed.

Part of:


This change is Reviewable

Copy link
Contributor

@cristinaleonr cristinaleonr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume [this alert] (https://github.com/m-lab/prometheus-support/blob/02e6fcfaa32db1c039fd68110f242551685c072e/config/federation/prometheus/alerts.yml#L7441) that uses bq_daily_tests won't misfire while the update is deployed because it has to do with switch discards and not the actual number of ndt5 rows.

:lgtm:

Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@stephen-soltesz stephen-soltesz merged commit 292bbcc into master Feb 26, 2022
@stephen-soltesz stephen-soltesz deleted the sandbox-soltesz-update-ndt5 branch February 26, 2022 12:47
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.

2 participants