Skip to content

Insights: Show weekly active users instead of daily #9495

@bpmct

Description

@bpmct

Background

Coder has a "template insights" page and a "deployment insights" page, both of which show the number of daily active users. For the deployment, this is calculated by users who perform any API request (e.g. visiting the dashboard, connecting to workspace, viewing the users list, etc). For the template, this is calculated by any users who establish a connection to their workspace (e.g. SSH, opening code-server, connecting with VS Code Remote).

Both views show DAU (daily active users), which is a good metric, but not the best metric for measuring how many people are actively using a development platform. Here's why:

  • Most people will not connect during weekends, adding large fluctuations to the graph
  • Many developers may not use their workspace every weekday, especially if they have lots of meetings, are managers, or only use Coder for specific projects. However, they may log in multiple times per week or even have a very busy day on a specific day. This is still an activity that is important to admins.
  • It can be easier to measure growth by looking at week-over-week usage versus daily/

Product Requirements

Must have

  • By default, the template insights page shows weekly active users
  • By default, the deployment insights page shows weekly active users

Should have

  • The user can switch between a daily or weekly active users chart on the template insights page
  • The admin can switch between a daily or weekly active users chart on the template insights page

Nice to have

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions