[go: up one dir, main page]

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

Add additional usages #3951

Merged
merged 3 commits into from
Sep 13, 2024
Merged

Add additional usages #3951

merged 3 commits into from
Sep 13, 2024

Conversation

mstoykov
Copy link
Contributor

What?

Add reporting some additional usages to better figure how k6 is used.

Why?

We do need to make decisions on what to work on or break or keep working if it is problematic.

We usually make a lot of those based on anecdotal data or only on data we have access through direct communication with customers. This is not terrible but definitely leaves us with blind spots.

The newly added usage counters have descriptions in each of the commits and are used for different areas where we might decide to cleanup k6 or work more on a give feature.

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make tests) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

This both allows us to figure out if users are using k6 with a lot of
files and if ts support is actually used.
It will be nice to know how many people use require and potentially
commonJS.

Note: this reports each invocation of `require` but adding sync.Once to
this seems overkill and it is probably okay to have the statistics
either way.
As part of #3864 it will be nice to
know how much this is used if at all.
@mstoykov mstoykov added the documentation-needed A PR which will need a separate PR for documentation label Sep 13, 2024
@mstoykov mstoykov requested a review from a team as a code owner September 13, 2024 07:58
@mstoykov mstoykov requested review from olegbespalov and joanlopez and removed request for a team September 13, 2024 07:58
@olegbespalov olegbespalov added this to the v0.54.0 milestone Sep 13, 2024
@mstoykov mstoykov merged commit 06b9861 into master Sep 13, 2024
23 checks passed
@mstoykov mstoykov deleted the addAdditionalUsages branch September 13, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation-needed A PR which will need a separate PR for documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants