Collect metrics for Dormant User Deactivation Settings
What does this MR do and why?
Describe in detail what your merge request does and why.
Adds a metric to track if a self-managed instance administrator has enable the Automatic Deactivate Dormant User and what value they have chosen.
We've received some community contributions recently around this feature including a customizable dormant period, but we would like to know if and how customers are using this feature to inform product decisions.
Notes for reviewers:
- This MR follows a pattern described in the metrics development guide
- This MR collects the values of
deactivate_dormant_users
anddeactivate_dormant_users_period
settings, boolean and integer values, respectively.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Follow the steps outlined in the docs to enable the dormant user deactivation.
- Choose a value for the deactivation period. The default value is 90 days. This related MR enforces the 90 minimum value.
- View the Service Ping payload to validate the metrics.
...
},
"deactivate_dormant_users_enabled": false,
"deactivate_dormant_users_period": 90
}
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