Skip to content

Collect metrics for Dormant User Deactivation Settings

Chase Southard requested to merge dormant_users_setting_metric into master

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 and deactivate_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.

  1. Follow the steps outlined in the docs to enable the dormant user deactivation.
  2. Choose a value for the deactivation period. The default value is 90 days. This related MR enforces the 90 minimum value.
  3. 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.

Edited by Chase Southard

Merge request reports