Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 216
    • Issues 216
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
    • Merge Requests 38
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #862

Our Privacy Policy has changed, please visit https://about.gitlab.com/privacy to review these changes.

Closed
Open
Opened 1 day ago by Olivia Madrid@omadrid
  • Report abuse
  • New issue
Report abuse New issue

Analytics dashboard data modelling

Is this a bug? Make sure to use the Bug template above and be as detailed in your report as possible.

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Related issues
0

    • Discussion 11
    • Designs 0
    • Olivia Madrid @omadrid added Sprint::09/11 - Nuanced Numbat scoped label 1 day ago

      added Sprint::09/11 - Nuanced Numbat scoped label

    • Olivia Madrid @omadrid assigned to @markeharding 1 day ago

      assigned to @markeharding

    • Olivia Madrid @omadrid changed milestone to %Analytics #mvp 1 day ago

      changed milestone to %Analytics #mvp

    • Olivia Madrid @omadrid added Squad::Blue scoped label 1 day ago

      added Squad::Blue scoped label

    • Olivia Madrid @omadrid added Priority::2 - Normal Product::Analytics Type::Feature scoped labels 1 day ago

      added Priority::2 - Normal Product::Analytics Type::Feature scoped labels

    • Olivia Madrid
      Olivia Madrid @omadrid · 1 day ago
      Developer

      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

      Edited by Olivia Madrid 1 day ago
    • Mark Harding
      Mark Harding @markeharding · 1 day ago
      Owner
      {
        "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
              }
            ]
          }
        ]
      }
      Edited by Mark Harding 1 day ago
    • Mark Harding @markeharding added 30m of time spent at 2019-09-23 1 day ago

      added 30m of time spent at 2019-09-23

    • Mark Harding @markeharding added Status::Review scoped label 1 day ago

      added Status::Review scoped label

    • Mark Harding @markeharding closed 11 hours ago

      closed

    • Olivia Madrid
      Olivia Madrid @omadrid · 4 hours ago
      Developer

      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?

      image

      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.

      Edited by Olivia Madrid 4 hours ago
    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply

    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.

    Assignee
    Mark Harding's avatar
    Mark Harding @markeharding
    Assign to
    none
    Epic
    None
    Analytics #mvp
    Milestone
    Analytics #mvp
    Assign milestone
    30m / --
    Time tracking
    Spent: 30m
    None
    Due date
    None
    6
    Labels
    Priority::2 - Normal Product::Analytics Sprint::09/11 - Nuanced Numbat Squad::Blue Status::Review Type::Feature
    Assign labels
    • View project labels
    None
    Weight
    None
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    2
    2 participants
    user avatar
    Mark Harding
    user avatar
    Olivia Madrid
    Reference: minds/engine#862