Remove name field from funnels definition
What does this MR do and why?
This MR replaces usage of name
attribute from the Funnel YAML definition with the file name. This way it's compatible with visualization definitions.
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
Funnel definition | Clickhouse record |
---|---|
Funnel file name original_funnel | |
Funnel file name renamed_funnel | |
Deleted - No funnel definition in repo | No record in DB |
How to set up and validate locally
- Create a project and onboard product analytics
- Create a funnel definition in .gitlab/analytics/funnels directory
- Query the DB, you should have a record with the name generated from the file name
Related to #462390 (closed)
Edited by Halil Coban