Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Add version to all telemetry events, and properly trigger start-up telemetry #183

Merged
merged 6 commits into from
Mar 23, 2018

Conversation

digeff
Copy link
Contributor

@digeff digeff commented Mar 21, 2018

We report the node version and Versions.DebugAdapter as a common telemetry property
We also trigger ChromeDebugSession.FinishedStartingUpEventName to properly mark the end of startup and trigger the end of the report-start-up-timings telemetry event

return super.configurationDone();
await super.configurationDone();

this.events.emit(ChromeDebugSession.FinishedStartingUpEventName);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this have to go after the super call? Would rather leave the super call as the last line unless there's a reason for it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

if (!this.chrome) {
// It's possible to get this request after we've detached, see #21973
return super.configurationDone();
await super.configurationDone();
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is equivalent to return super.configurationDone(), you could leave it that way for simplicity

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

@roblourens
Copy link
Member

Lots of CI failures?

@roblourens roblourens merged commit 8965a69 into master Mar 23, 2018
@digeff digeff deleted the add_telemetry branch March 23, 2018 19:06
@roblourens roblourens added this to the March 2018 milestone Apr 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants