Skip to content

Use aggregate metric tables for dashboards#7218

Merged
bendk merged 1 commit intomozilla:mainfrom
bendk:push-mmlmpqpmozvx
Feb 12, 2026
Merged

Use aggregate metric tables for dashboards#7218
bendk merged 1 commit intomozilla:mainfrom
bendk:push-mmlmpqpmozvx

Conversation

@bendk
Copy link
Contributor

@bendk bendk commented Feb 11, 2026

Switched to using the aggregate tables that we create using bigquery-etl. These are way faster than quering the source data. One drawback is we can't get more granular than a day, but that seems okay.

Aggregate table generation code:
https://github.com/mozilla/bigquery-etl/tree/main/sql_generators/rust_component_metrics

Pull Request checklist

  • Breaking changes: This PR follows our breaking change policy
    • This PR follows the breaking change policy:
      • This PR has no breaking API changes, or
      • There are corresponding PRs for our consumer applications that resolve the breaking changes and have been approved
  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due diligence applied in selecting them.

@bendk bendk requested a review from skhamis February 11, 2026 21:50
Switched to using the aggregate tables that we create using
bigquery-etl.  These are way faster than quering the source data. One
drawback is we can't get more granular than a day, but that seems okay.

Aggregate table generation code:
https://github.com/mozilla/bigquery-etl/tree/main/sql_generators/rust_component_metrics
Copy link
Contributor

@skhamis skhamis left a comment

Choose a reason for hiding this comment

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

excited to see this coming together!

@bendk bendk added this pull request to the merge queue Feb 12, 2026
Merged via the queue into mozilla:main with commit a5d3050 Feb 12, 2026
13 checks passed
@bendk bendk deleted the push-mmlmpqpmozvx branch February 12, 2026 15:09
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