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

Track how fast people are upgrading #38

Open
kingdonb opened this issue Jun 28, 2023 · 1 comment
Open

Track how fast people are upgrading #38

kingdonb opened this issue Jun 28, 2023 · 1 comment

Comments

@kingdonb
Copy link
Owner

For certain controllers, at least for kustomize-controller, and maybe all controllers, we should track the number of downloads for package versions as well as for the package at the top-level. These can be stored in a separate table, Versions and VersionMeasurement has the same structure as Package or Leaf, in the relationship where formerly:

  • GithubOrg::Package and Project::Leaf

In the original design, this feature was omitted because it made things too complicated. Now that things are working pretty well, we can add it back in. We want to be able to see how fast people are upgrading. We can calculate a derivative from numbers that change in a time series over time. We can know in a relative sense, how many users are on each version of the controller based on how many downloads each version gets over time.

We will definitely want to see Kustomize controller versions and the relationship between version history in the Grafana database visualization just as we've seen here:

Screenshot 2023-06-28 at 10 53 01 AM

This will provide us with some actually useful information, how many users are upgrading, vs. the mostly unactionable information of "how many users downloaded flux controller so far" that is really difficult to relate to any tangible statistic. We don't know how many users and how many are bots. There is no way for us to know what proportion of this count represents new Flux users, and what proportion represents waste or repeated downloading.

We can imagine that it is a specific proportion, though, and we can speculate that it might be stable, so we can make inferences based on the rate of change and how it changes in the deltas.

So, we'd like to know how many Kustomize controller users are operating on versions prior to 2.0.0-rc.*, how many are running the RC builds, and how many run versions that come after. We can get these numbers and capture them over time, and it will be very useful to know how many Kustomize controller users are watching and upgrading every time we make a release. That is a tangible thing that we can now actually measure and count, engagement!

@kingdonb
Copy link
Owner Author

kingdonb commented Jul 2, 2023

We have this going in Release v0.1.7 now, it's working, 🎉 I'll wait to close this until I can post a screenshot with several days of data and verify it doesn't crap out in a couple of collection intervals.

It also won't make much sense as a screenshot of time series data without retaining at least a few hours of collection first.

@kingdonb kingdonb changed the title Track package versions Track how fast people are upgrading Jul 2, 2023
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