Skip to content

[RUN ALL RSPEC] [RUN AS-IF-FOSS] Add license usage ping check to HLLRedisCounter

What does this MR do?

Related to #335674 (closed).

This adds a Service Ping check License.current.customer_service_enabled? to decide whether to track the event or not for EE.

Including the check from ServicePing::PermitDataCategoriesService.product_intelligence_enabled? created issues with User.single_user queries being repeatedly executed in specs when event tracking was called and failing N+1 guard specs. The license check is an intermediary solution and a follow-up is needed to properly cache this check.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Mikołaj Wawrzyniak

Merge request reports