Skip to content

Commit

Permalink
bi: Add more data points (#1447)
Browse files Browse the repository at this point in the history
Signed-off-by: Sheng Chen <[email protected]>
  • Loading branch information
jdneo authored Nov 4, 2023
1 parent 663c7cc commit 8e132de
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ public boolean applies(IProgressMonitor monitor) throws OperationCanceledExcepti
for (IProject project : ProjectUtils.getGradleProjects()) {
if (ProjectUtils.isJavaProject(project)
&& project.getLocation().toFile().toPath().startsWith(rootFolder.toPath())) {
Telemetry telemetry = new Telemetry("hasBuildshipJavaProject", "true");
Utils.sendTelemetry(JavaLanguageServerPlugin.getProjectsManager().getConnection(),
telemetry);
return false;
}
}
Expand Down Expand Up @@ -105,6 +108,9 @@ public boolean applies(IProgressMonitor monitor) throws OperationCanceledExcepti
}
}

Telemetry telemetry = new Telemetry("hasAndroidManifest", "false");
Utils.sendTelemetry(JavaLanguageServerPlugin.getProjectsManager().getConnection(),
telemetry);
return true;
}

Expand Down

0 comments on commit 8e132de

Please sign in to comment.