Skip to content

Commit

Permalink
Merge pull request #6043 from dibarbet/report_omnisharp_usage
Browse files Browse the repository at this point in the history
Report how the extension was activated
  • Loading branch information
dibarbet authored Aug 4, 2023
2 parents fccdca6 + 52222b5 commit 097f891
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,11 @@ export async function activate(
);
}

const activationProperties: { [key: string]: string } = {
serverKind: useOmnisharpServer ? 'OmniSharp' : 'Roslyn',
};
reporter.sendTelemetryEvent('CSharpActivated', activationProperties);

if (!useOmnisharpServer) {
tryGetCSharpDevKitExtensionExports(csharpLogObserver);

Expand Down

0 comments on commit 097f891

Please sign in to comment.