add analytics for how user leverages merge hint to merge#5550
add analytics for how user leverages merge hint to merge#5550outofambit merged 6 commits intodisplay-merge-status-in-compare-tabfrom
Conversation
|
@shiftkey This is a great start! A couple of thoughts/questions:
|
Correct. I think those flows fall into one of these two buckets:
Correct - there might be ways to identify these but I believe it's independent of this work (both the merge hint and this PR). We'd need to inspect the |
|
@shiftkey 👍 Thoughts on adding the pending ones? Basically the goal is to capture the universe of merges actually initiated to have as the eventual denominator for "% of successful merges" type of metrics. I'm fine with punting on the second portion, and your description of what's needed sounds great. |
|
@billygriffin 👍 I'll add it in |
|
I've settled on these three names:
If we're good to go with those, I'll open up tasks to track the other infrastructure changes we need. |
|
All of those work for me @shiftkey! Thanks! |
|
@billygriffin are you able to provide any justification for these new metrics over on #5556 ? cc @desktop/analytics |
|
@iAmWillShepherd Done, thanks! |
outofambit
left a comment
There was a problem hiding this comment.
this all sounds and looks good to me!
I'm not sure whether this entirely resolves (it doesn't completely) #5394 but I think this is two key metrics which will help us understand the impact of the new merge hint.
This PR checks at merge time what hint was shown to the user:
proceededAfterNoConflictsHintCount- the number of times a user merged with the "no conflicts" hint shownproceededAfterConflictsWarningCount- the number of times a user merged with the "you have X conflicted files" metricWe already have some insight into how the user is initiating the merge flow (we aggregate these up into "total merges" which isn't quite accurate) but these two metrics show how many actually complete the flow and perform the merge to update their repository.
We don't report on the number of conflicted files shown by the dialog because we don't have a good story about sending those sorts of metrics, but we have that data available on
mergeStatus.This also requires changes to Central and
desktop.github.com, but I'm opening this up for discussion to see whether it's on the right track.cc @billygriffin @telliott27