Skip to content

Calculate recording time before other usage data

Alper Akgun requested to merge 217706-fix-recorded_at-delay into master

What does this MR do?

Calculate recorded_at before other any other usage data

  • The idea is to be able to compute a the duration for the usage ping calculation using recorded_at, recording_ce_finished_at and recording_ee_finished_at
  • This is used when calculating Gitlab::UsageData.to_json(force_refresh: true)

Main issue #217706 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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 Alper Akgun

Merge request reports