API Fuzz testing telemetry & usage ping information
Problem to solve
Understanding how our users use the product helps us make better, data-driven decisions about what to do in future iterations. This is difficult without usage ping information to show how users actually use the product.
Proposal
Add usage ping information to report on:
- Number of jobs with fuzz testing run
Add Snowplow information to report on:
- Number of jobs with fuzz testing run
Note: We need to be able to identify these usage pings separate from coverage-fuzzing usage pings and then be able to combine the two to still get the distinct user count. This is so we can report on each individual approach as well as fuzz testing as a whole group. As an example, we will combine both and count distinct users on this graph and then create another graph to count just the API fuzz testing users.
With each report, provide a way to identify which organization and user in it caused the event to occur. Note: We explicitly do NOT want to collect exact names of organizations or individual users. We are interested in being able to understand if there are a few or many unique users generating reports, but we do not need nor want names of individual users. Consider what anonymization techniques we use in other parts of usage ping and/or using a one-way hash function.
Links / references
Technical Implementation
-
Review Ping Usage -
Create queries for each metric -
Optimize queries with #database-lab
-
-
Add the metric definition -
Manual testing -
Write tests (assuming Ping can be tested, no reference in usage guide) -
Add a changelog file -
Ask for a Telemetry Review -
Create an issue to verify your metric post production
Later iterations of this issue
In later iterations we will want to collect:
- Number of fuzz testing jobs that found a faults
- Number of fuzz testing jobs that found no faults
Create a report to report (these two are both to help us address our North Star metric for fuzzing):
- The total number of fuzz results that have had any interaction
- The total number of fuzz results that have been reported