Skip to content

Initial structure of telemetry feature in the extension #342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

Achal1607
Copy link
Member

Telemetry feature would help us collect extension usage information to improve our extension. Usage info would only be collected if user opts in for the same.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 10, 2024
Copy link
Member

@sid-srini sid-srini left a comment

Choose a reason for hiding this comment

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

Thanks a lot @Achal1607.

some bug fixes and added debug logger

Added flag to disable telemetry feature

Updated LspServerTelemetryManager with slight refinements

1. The workspaceInfo values, especially the javaVersion field.
2. Also reverted the sendTelemetry() methods to the state
    similar to earlier definitions with synchronized blocks;
    with minor refactoring improvements.
3. Added the missed changes in NbCodeClientCapabilities for the
    addition of the wantsTelemetryEnabled field.

Signed-off-by: Siddharth Srinivasan <[email protected]>

Updated telemetry l10n with only english

1. Added the same english key value for telemetry setting and message in
    all language bundles. This is to ensure that tests pass.
2. Removed the unused dependency "axios" pruned further dependencies of
    it.
3. Updated minimum runtime JDK version to 23 instead of 22 in l10n messages.

Signed-off-by: Siddharth Srinivasan <[email protected]>
Copy link
Member

@sid-srini sid-srini left a comment

Choose a reason for hiding this comment

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

Thanks a lot @Achal1607. LGTM 👍

@sid-srini sid-srini merged commit c86ce81 into oracle:telemetry Dec 16, 2024
3 checks passed
@Achal1607 Achal1607 added this to the JVSC 24.1.0 milestone Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants