Fix license_trial instrumented metric
What does this MR do and why?
Use trial?
as a license attribute for trial LicenseMetric license_trial
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Make sure you have a license for the environment where this is tested
# When using usgae_data.rb
Gitlab::UsageData.license_usage_data[:license_trial]
Gitlab::UsageData.license_usage_data[:license_id]
# When using instrumentation classes only
Gitlab::UsageDataMetrics.uncached_data[:license_trial]
Gitlab::UsageDataMetrics.uncached_data[:license_id]
Both values should equal License.current.trial?
License.current.license_id
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 Alina Mihaila