Skip to content

Remove Internal Events additional properties mapping

Michał Wielich requested to merge michold-rm-attr-mapping into master

What does this MR do and why?

Related to #434504 (closed)

Remove Internal Events additional properties mapping

With !146463 (merged), we removed the docs for mapped additional properties. Now, we can remove the backend code too.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Make sure that unmapped additional properties still work fine:

  1. Enable snowplow micro
  2. Trigger an event with the new attributes: for example, open the console and perform Gitlab::InternalEvents.track_event('user_viewed_dashboard_list', user: User.first, additional_properties: { label: 'event_label', property: 'event_prop', value: 123 })
  3. Check if a new event with that includes the sent property, label and value has been registered at localhost:9090/micro/good
Edited by Michał Wielich

Merge request reports