Use default_enabled: yaml for usage_data increment_counter API
Summary
Use the default value for the feature flag defined in YAML for events tracked using Redis API
POST /usage_data/increment_counter
https://docs.gitlab.com/ee/development/service_ping/implement.html#usagedata-api-tracking
Why?
Currently is not possible to enable feature flags for events that are tracking events using this method for self-managed instances.
Details
With this method, we track the regular Redis counter. Each time a post request is received we increment a counter with the name of the event.
For example usage_data_static_site_editor_commits
it is not possible to enable the feature flag for self-managed instances and have data in Service Ping for them.
More events using this API are added with !77866 (merged)
Related MR !77866 (merged)
The initial implementation was done here