Track start Gists import with Snowplow events
Problem
During Gists Import implementation no metrics were added to track import, the only error tracking in the case of failure. We can browse logs to check if any Gists Imports were initiated, but it is not beneficial enough.
Proposal
- Add tracking when snippets are created, if it there were created out of imported gists
- Add tracking failures - when "translating" gist to snippet failed
with structured snowplow events (via GitLab::Tracking.event
see https://docs.gitlab.com/ee/development/snowplow/implementation.html#implement-ruby-backend-tracking) so that the numbers can be tracked and shown on a chart.
Edited by Kristina Doskich