Add a metric to track usage of the new Export Payload button
Follow up to https://gitlab.com/gitlab-org/product-intelligence/-/issues/502
We added new button "Export Payload", we need to track it's usage.
Add a new metric to usage data.
How To Test
- Visit
admin/application_settings/service_usage_data
- Click on Download Payload button
Gitlab::UsageData.data[:counts].filter {|e| e.to_s.match? /service_usage/}
=> {:service_usage_data_download_payload=>1}
Edited by Niko Belokolodov