Skip to content

Add GraphQL Resolver for Cube Stats

What does this MR do and why?

Adds productAnalyticsState field to projects to query the current state of the product analytics stack for this project

Screenshots or screen recordings

query {
  project(fullPath: "gitlab-org/gitlab-shell") {
    name
    productAnalyticsState
  }
}
{
  "data": {
    "project": {
      "name": "Gitlab Shell",
      "productAnalyticsState": "WAITING_FOR_EVENTS"
    }
  }
}

How to set up and validate locally

  1. Query for productAnalyticsState using graphql, example query above

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 #391973 (closed)

Edited by Allen Cook

Merge request reports