The one place for your designs
Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.
Our Privacy Policy has changed, please visit https://about.gitlab.com/privacy to review these changes.
Is this a bug? Make sure to use the Bug template above and be as detailed in your report as possible.
We want to be sure it is you, please confirm you are not a robot.
added Sprint::09/11 - Nuanced Numbat scoped label
assigned to @markeharding
changed milestone to %Analytics #mvp
added Squad::Blue scoped label
added Priority::2 - Normal Product::Analytics Type::Feature scoped labels
Draft example JSON data model attached - lmk if a diagram would be useful and I can make one. See comments of front#1932 for a diagram that describes what the different names mean. analytics_model.js
{
"category": "traffic",
"categories": [
{
"id": "traffic",
"label": "traffic",
"type": "chart"
},
{
"id": "engagement",
"label": "engagement",
"type": "chart"
},
{
"id": "trending",
"label": "trending",
"type": "list"
}
],
"timespan": "mtd",
"timespans": [
{
"id": "today",
"label": "today",
"interval": "day",
"from_ts_ms": 1569196800000
},
{
"id": "mtd",
"label": "month to date",
"interval": "day",
"from_ts_ms": 1567296000000
},
{
"id": "ytd",
"label": "year to date",
"interval": "month",
"from_ts_ms": 1546300800000
}
],
"metrics": [
{
"id": "active_users",
"category_id": "traffic",
"label": "active users",
"description": "is this needed?",
"chart_label": "count",
"permissions": ["admin", "user"]
"values": {
"current": 120,
"previous": 110
}
},
{
"id": "signups",
"category_id": "traffic",
"label": "signups",
"description": "is this needed?",
"chart_label": "count",
"permissions": ["admin", "user"],
"values": {
"current": 1,
"previous": 23
}
},
],
"charts": [
{
"id": "active_users",
"label": "unique active users",
"x": ["19-04", "19-05", "19-06", "19-07", "19-08", "19-09"],
"y": [100, 100, 200, 300, 500, 800]
}
],
"filter": "platform::web",
"filters": [
{
"id": "platform",
"label": "platform",
"available": true,
"options": [
{
"id": "web",
"label": "Web",
"description": "Why is this needed?",
"available": true
},
{
"id": "mobile",
"label": "Mobile",
"description": "Why is this needed?",
"available": true
}
]
}
]
}
added 30m of time spent at 2019-09-23
added Status::Review scoped label
closed
Can we add a field to each metric that says whether or not an increase in value over time is a good or a bad thing?
For future metrics (e.g. qty of downvotes) there could be cases where a positive delta value (up arrow) might be a bad thing, in which case it should be red.
Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.