Track security inventory page views
Use `scripts/internal_events/cli.rb` to generate an event and a metric Track the metric on #show in the controller Add test to see that the metric was tracked
上级
58984162
No related branches found
No related tags found
显示
- config/metrics/schema/product_groups.json 1 个添加, 0 个删除config/metrics/schema/product_groups.json
- ee/app/controllers/groups/security/inventory_controller.rb 10 个添加, 0 个删除ee/app/controllers/groups/security/inventory_controller.rb
- ee/config/events/view_group_security_inventory.yml 14 个添加, 0 个删除ee/config/events/view_group_security_inventory.yml
- ee/config/metrics/counts_all/count_distinct_user_id_from_view_group_security_inventory.yml 21 个添加, 0 个删除...t_distinct_user_id_from_view_group_security_inventory.yml
- ee/spec/requests/groups/security/inventory_controller_spec.rb 24 个添加, 0 个删除...pec/requests/groups/security/inventory_controller_spec.rb
想要评论请 注册 或 登录