Skip to content

Conversation

BPapp-MS
Copy link
Contributor

@BPapp-MS BPapp-MS commented Aug 5, 2021

Summary

Users are not at the moment able to record telemetry on the parameters used by rush install/update, including whether the project selection parameters such as --to or --from are getting use. This PR adds many parameters to the output file.

Details

Parameters are read in for their values, stringified and added to the object passed to Telemetry.log(). The selectionParameters property is tested for initialization by the subclass and if it exists, the value of its .getTelemetry() function is added to extraData, just as it is in the implementation of the build and rebuild telemetry, which is implemented in BulkScriptAction.ts

How it was tested

I've set configured another project to use this branch and I've observed the results of the telemetry from several calls of rush install, update, build, and rebuild, with many different combinations of parameters.

BPapp-MS and others added 3 commits August 12, 2021 14:34
…_2021-08-05-20-52.json

Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
@BPapp-MS BPapp-MS changed the title [rush-lib] Add flags for parameters to rush install telemetry [rush-lib] Add flags for parameters to rush telemetry Aug 18, 2021
BPapp-MS and others added 2 commits August 18, 2021 16:24
Co-authored-by: Ian Clanton-Thuon <iclanton@users.noreply.github.com>
@iclanton iclanton merged commit d68f900 into microsoft:master Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants