Adds User Cap instrumentation
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 benil
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
- Follow the steps here to add a cap to the number of users for your instance.
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Chase Southard