Skip to content

Limit pre-aggregations to refresh workers

Robert Hunt requested to merge remove-preaggregation-from-api-workers into main

What does this MR do and why?

This MR copies the analytics stack changes in https://gitlab.com/gitlab-org/analytics-section/product-analytics/analytics-stack/-/merge_requests/146+ to the devkit.

We don't really need these changes in the devkit as the devkit is run as one container rather than being separated; but I opted to keep them in-sync rather than deviating or splitting into dev/prod files since it's a small change and to maintain consistency.

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. Pull this branch.
  2. Check that refreshes still occur and pre-aggregations take place.
  3. Check Cube queries still run as normal.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to https://gitlab.com/gitlab-org/analytics-section/product-analytics/analytics-stack/-/issues/43

Merge request reports