Add GraphQL Resolver for Cube Stats
requested to merge 391973-backend-add-an-api-to-retrieve-the-state-of-a-project-analytics-stack-2 into master
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
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #391973 (closed)
Edited by Allen Cook