Skip to content

Add VSA aggregation status to GraphQL

What does this MR do and why?

This MR exposes the VSA aggregation status via GraphQL. Example queries:

{
  group(fullPath: "gitlab-org") {
    valueStreamAnalytics {
      aggregationStatus {
        enabled
        lastUpdateAt
        estimatedNextUpdateAt
      }
    }
  }
}
{
  project(fullPath: "gitlab-org/gitlab") {
    valueStreamAnalytics {
      aggregationStatus {
        enabled
        lastUpdateAt
        estimatedNextUpdateAt
      }
    }
  }
}

Note: The aggregation always happens via the root ancestor in VSA thus projects and groups in the hierarchy share the same aggregation record.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #410342 (closed)

Edited by Adam Hegyi

Merge request reports