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
- Query for
productAnalyticsStateusing 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #391973 (closed)
Edited by Allen Cook