Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display historical hub usage data as a heatmap over time by using Prometheus data #27

Closed
2 tasks
choldgraf opened this issue Apr 4, 2024 · 1 comment
Closed
2 tasks

Comments

@choldgraf
Copy link
Member

choldgraf commented Apr 4, 2024

Currently, we directly query each hub's metrics for Daily / Weekly / Monthly active users. We can then display this as a snapshot in time.

It would be much more insightful and actionable if we could track the trends in usage over time. This would let us:

  • Get a better high-level view of the trajectory of our service usage.
  • Identify causal relationships between things we've done and their impact on usage.
  • Use that to make better decisions about how to grow the service.

It could also be a way to provide this information to communities (e.g., via a MyST site similar to https://2i2c.org/kpis).

In particular this would be useful in fundraising efforts where we want to show off the growth of the service, so I'm attaching it to:

Implementation

@yuvipanda has described how to use PromQL to grab Prometheus data from our clusters/hubs in this HackMD. It is being tracked in this issue:

Ideal metrics to track over time:

  • Hub and cluster name
  • Daily, Weekly, and Monthly Active Users per hub

Ideally we'd have this data indefinitely.

Inspiration

An alternative approach is to automate the creation of an easier-to-parse data archive. For example mybinder.org does this with repository launches at:

https://archive.analytics.mybinder.org/

Tasks

@choldgraf choldgraf changed the title Display historical hub usage data as a heatmap over time by using Prometheus Display historical hub usage data as a heatmap over time by using Prometheus data Apr 4, 2024
@choldgraf
Copy link
Member Author

I think we can consider this one completed now that these two PRs have been merged:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant