Summary
When verifying the token used for an hCaptcha backed submission, we make an API call to hCaptcha to validate the token. We should instrument the latency for this call, to better understand if the effort needed for on-premise verification is worthwhile.
Technical notes
- Use StatsLib to log timings for this API call and plot the results in Grafana, in a private dashboard https://github.com/wikimedia/mediawiki-extensions-ConfirmEdit/blob/5b09d01924cd13a2d4169e09c3e783ad5d9cfd11/includes/hCaptcha/HCaptcha.php#L128
Acceptance criteria
- API call to hCaptcha verification is instrumented
- Data is plotted in a private dashboard in Grafana