Skip to content

DAU graph misleads admins on license utilization #15297

Description

@stirby

Credit to @coadler for distilling this issue from customer feedback.

Problem statement

The General deployment settings page (dev link) contains a graph of daily active users across the deployment. This graph is purely intended to measure the adoption of the product within an organization and summarize user activity. Here's what this graph looks like in our dogfood deployment:

Image

However, for enterprise deployments with a license cap, a "user limit" bar appears at the top. This misleads admins into thinking this is a way to gauge license usage over time and judge whether expansion/contraction is necessary:

Image

The (?) tooltip doesn't clarify the purpose of this graph to admins either, simply explaining how activity is calculated:

Image

This ambiguity is a problem for administrators. To summarize

  1. The graph is only titled Active Users , which is also the terminology we use for license seats
  2. Nothing mentions this being DAU, except for hovering over a data point. The tool tip only explains what a user needs to do to be considered active
  3. The user limit bar on the top to me implies that this is connected to license usage

Proposal

We should clarify that this graph is purely to measure concurrent user activity.

Requirements:

Must have:

  • Clearly display this as Daily Active Users
  • Remove the user limit bar at the top for licensed deployments
  • Explain in the tooltip that this is for measuring user activity and has no connection to license consumption

Should have:

  • Add a new "Registered Users" chart as the first graph on the top with the upper limit bar, with the existing active users graph below it with no upper limit bar

Nice to have:

  • On the registered users graph, overlay "suspended" and "dormant" users. We may want to be careful here since SCIM creates a ton of initial dormant users who never log in so we would want to filter those out and only have dormant users who logged in.
  • Change Daily Active Users to configurable by day, week, and month just like template insights. Weekly is much more useful IMO

Activity

  1. added
    customer-requested
    docs
    observability
    on Oct 30, 2024
  2. added
    site
    and removed
    docs
    observability
    on Oct 30, 2024
  3. matifali commented on Oct 31, 2024

    @matifali
    Contributor

    Instead of calling it licensed utilization chart, I suggest we call registered users count graph. It's helpful to know how the total registered users go over time on both OSS and licensed deployments.

    We can put a horizontal line to indicate the limit for licensed deployments.

  4. bpmct commented on Oct 31, 2024

    @bpmct
    Member

    Additionally, we should consider creating a license utilization chart and adding it directly below this chart. That work will be tracked in another issue.

    Instead of calling it licensed utilization chart, I suggest we call registered users count graph. It's helpful to know how the total registered users go over time on both OSS and licensed deployments.

    We can put a horizontal line to indicate the limit for licensed deployments.

    I just added these to this issue as should have and nice to have. We want to remove the confusion quickly, but if the should haves are relatively easy we get to do that now too. If it is more difficult, we can extract to a separate issue.

    I totally agree that with just the should have, many users may still confuse that chart as utilization and registered users would be a very useful chart.

  5. added
    must-do
    on Oct 31, 2024
  6. bpmct commented on Oct 31, 2024

    @bpmct
    Member

    @BrunoQuaresma do you think it is possible to do the "must have" part at least before the release? The "should have" can follow after the release as subsequent PRs?

  7. BrunoQuaresma commented on Oct 31, 2024

    @BrunoQuaresma
    Contributor

    @bpmct sure thing. I just would need the copy for the "Explain in the tooltip that this is for measuring user activity and has no connection to license consumption".

  8. BrunoQuaresma commented on Oct 31, 2024

    @BrunoQuaresma
    Contributor

    Since we are touching on this part of the UI, I think would be nice to have some thoughts from @chrifro on how to better display this data to the user.

  9. matifali commented on Oct 31, 2024

    @matifali
    Contributor

    Add a new "Registered Users" chart as the first graph on the top with the upper limit bar, with the existing active users graph below it with no upper limit bar

    This should be on /deployment/general page right?

  10. stirby commented on Oct 31, 2024

    @stirby
    CollaboratorAuthor

    I don't think we need much redesign, we can use the existing graph component for "registered users" IMO.

  11. BrunoQuaresma commented on Oct 31, 2024

    @BrunoQuaresma
    Contributor

    We said the same about the forgot password 😆 I would like to have @chrifro decide.

  12. 23 remaining items

  13. added
    observability
    on Dec 18, 2024
  14. stirby commented on Dec 18, 2024

    @stirby
    CollaboratorAuthor

    Keeping open until we have a new time series graph for license utilization.

  15. removed
    needs-triage
    on Dec 19, 2024
  16. SasSwart commented on Dec 19, 2024

    @SasSwart
    Collaborator

    Latest mockup for the next iteration:
    Image

    Notes:

    • A tooltip would explain the meaning of active, dormant and suspended. It would mention that only active users consume a license seat.
    • I've tweaked the wording on the bottom graph to mention activity, not active users, because active users has a specific meaning, with which activity cannot be confused
    • The issue mentioned a specific charting library. I stuck with the one we're currently using for visual consistency.
    • As long as the green line is below the white line, the user is in a valid state. Red and gray are allowed to exceed the white line because they do not consume license seats.
    • If any of the three exceeds the user limit annotation line (white), then we can switch iconography and border colors to warning orange. if active exceeds the limit, we can switch to error red
    • TODO: I'd like to give the lines a background to more explicitly show that the lines are stacked.
  17. SasSwart commented on Jan 13, 2025

    @SasSwart
    Collaborator

    Status update. Changes have been merged that allow the database and backend to support this feature. A frontend PR is ready, but designs have since shifted and some more work on the frontend is required. To my knowledge, @BrunoQuaresma has agreed to support here. I've co-assigned him to the issue.

  18. mtojek commented on Jan 13, 2025

    @mtojek
    Member

    @SasSwart @BrunoQuaresma Can you describe the scope of remaining changes for transparency purposes? Unless they are documented somewhere else.

  19. BrunoQuaresma commented on Jan 13, 2025

    @BrunoQuaresma
    Contributor

    The design has been updated and should now follow the design outlined here.

    Image

  20. bartekgatzcoder commented on Jan 16, 2025

    @bartekgatzcoder
    Collaborator

    The General page is going to use the old API, but we rename the series on the UI to unconfuse the users. We also add additional explanation box.

    The new API that Sas created is for the License page. In scope of the discussion we decided to use only the "Active Users" series from the API, so the "dormant" and "suspended" users will not be displayed. But the active users there are in fact the "users consuming the license seats" which is different from the "General page", where we show the daily user engagement.

    To sum up:

    • general page: use old API that was there before
    • license page: use new API that Sas created, but only for the "active" series.
    • we need to touch both of the screens with the changes, consequently
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

customer-requestedobservabilitysite

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions