Skip to content

Add billable_users metric to Usage Ping

Piotr Skorupa requested to merge psk-add-billable-users-to-usage-ping into master

What does this MR do?

Part of https://gitlab.com/gitlab-org/product-intelligence/-/issues/356.

This adds license_billable_users Usage Ping metric for EE. It gets a count of billable users (active users that are neither bots nor guests) from License, which in turn gets it from Analytics::UsageTrends::Measurement. The value is actually stored in a database table and is updated by a daily job that calculates the counts and populates the records.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Piotr Skorupa

Merge request reports