-
-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add CR id to plausible events (#6035)
Added conflict count to CR metrics and CR id. Something to think about: There was idea that we can aggregate this data based on CR id, but CR id is just a number from 0 to x. So it will not be unique across instances. --------- Co-authored-by: Thomas Heartman <[email protected]>
- Loading branch information
1 parent
46fb40c
commit 2643ac1
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { IUiConfig } from 'interfaces/uiConfig'; | ||
|
||
export const getUniqueChangeRequestId = ( | ||
uiConfig: Pick<IUiConfig, 'baseUriPath' | 'versionInfo'>, | ||
changeRequestId: number, | ||
) => { | ||
return `${ | ||
uiConfig.baseUriPath || uiConfig.versionInfo?.instanceId | ||
}/change-requests/${changeRequestId}?version=${uiConfig.versionInfo}`; | ||
}; |