Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api_server/modules/web/newrelic_ide_redirect_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class NewRelicIdeRedirectRequest extends IdeRedirectRequest {
queryString: { ide: this.parsedPayload?.ide === '' ? 'default' : this.parsedPayload?.ide },
errorGroupGuid: this.parsedPayload.errorGroupGuid,
itemGuid,
nrUserId: this.parsedPayload.userId,
newToCodeStream: launcherModel?.isMru ? "false" : "true",
icons: {},
partial_launcher_model: launcherModel,
Expand Down
4 changes: 3 additions & 1 deletion api_server/modules/web/templates/ide_redirect.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"platform": "codestream",
"path": "N/A (codestream)",
"section": "N/A (codestream)",
"userId": "{{nrUserId}}",
"meta_data": "content: {{analyticsContentType}}",
"meta_data_2": "source: {{src}}",
"meta_data_3": "new_to_codestream: {{newToCodeStream}}",
Expand All @@ -53,7 +54,8 @@
teamId: '{{teamId}}',
teamName: '{{teamName}}',
companyName: '{{companyName}}',
isLink: '{{isLink}}'
isLink: '{{isLink}}',
nrUserId: '{{nrUserId}}'
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ window.CODESTREAM.openEditor = function(ide) {
"platform": "codestream",
"path": "N/A (codestream)",
"section": "N/A (codestream)",
"userId": options.nrUserId,
"meta_data": `ide_detail: ${moniker}`,
"meta_data_2": `selection_method: ${ideSelection}`,
"meta_data_3": `source: ${source}`
Expand All @@ -489,6 +490,7 @@ window.CODESTREAM.openEditor = function(ide) {
"platform": "codestream",
"path": "N/A (codestream)",
"section": "N/A (codestream)",
"userId": options.nrUserId,
"meta_data": `ide_detail: ${moniker}`,
"meta_data_2": `selection_method: ${ideSelection}`,
"meta_data_3": `source: ${source}`
Expand Down