Skip to content

feat(RMST-44): Create derived dataset for CDN requests #7438

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leplatrem
Copy link

@leplatrem leplatrem commented May 14, 2025

Description

This PR attempts to create a derived dataset for the CDN requests hits.

Our CDN requests logs are sampled at 1% and saved into these tables:

  • moz-fx-remote-settings-prod.remote_settings_prod_default_log_linked._AllLogs
  • moz-fx-remote-settings-prod.gke_remote_settings_prod_log_linked._AllLogs

We would like to build Looker dashboards and Yardstick panels for this data, and since daily agregates are enough, we want to rely on a derived dataset.

Related Tickets & Documents

TODO

  • Can we reuse an existing dataset (ie. here gke_remote_settings_prod_log_linked)?
  • Fix the permission error on query validate: User does not have permission to query table moz-fx-remote-settings-prod:gke_remote_settings_prod_log_linked._AllLogs.
  • Update the schema (since ./bqetl query schema update failed too)
  • Adjust date manipulation (is MAX(timestamp) enough, what's the good pratice?)

Reviewer, please follow this checklist

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