Skip to content

Adds User Cap instrumentation

Chase Southard requested to merge user_cap_instrumentation into master

What does this MR do and why?

Adds a metric to track if the instance administrator has set a User Cap.

Notes for the reviewer(s):

  • This MR follows a pattern described here
  • This MR makes use of the value of the new_user_signups_cap setting. The value will either be nil or some number. For downstream analytics, we can just non-nil value to count. The number of users in the setting is not important.

Issue: #341862 (closed)

How to set up and validate locally

  1. Follow the steps here to add a cap to the number of users for your instance.
  2. View the Service Ping payload to validate that the metric is available as a number; unset it should be nil.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Chase Southard

Merge request reports