Allow users to use ProductionStageEnd value stream analytics event
Release notes
Problem to solve
in #33646 (closed) we removed "Total" default stage from VSA. "Total" stage was measuring between "issue created" and "issue deployed to production" events. As noted here #33646 (comment 412955327) it would be good to have "issue deployed to production" event available for users to create custom stages they want. E.g. "from IssueFirstMentionedInCommit to issue deployed to production"
Intended users
VSA users
User experience goal
Allow users to use ProductionStageEnd value stream analytics event in their custom streams-->
Proposal
Adjust https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/analytics/cycle_analytics/stage_events/production_stage_end.rb and allow it to be used by users. I'd suggest to allow following events to pair with "ProductionStageEnd": IssueCreated
Also it would be good to rename "ProductionStageEnd" to something more descriptive. E.g. "IssueDeployedToProduction".
Further details
lib/gitlab/analytics/cycle_analytics/stage_events.rb
Permissions and Security
Same as other VSA features.
Documentation
We should add docs for new event to doc/user/analytics/value_stream_analytics.md