Skip to content

Jugg Backend Diagnostics

Diagnostics help a team understand Jugg usage and investigate user-submitted issues. Reporting failures should not block local compile or deploy.

Event Reporting

The plugin posts event JSON to /report_event.

FieldMeaning
versionJugg plugin version
ide_versionAndroid Studio or IntelliJ version
usernameUser identifier
project_idProject identifier
session_idCompile or deploy session identifier
actionAction name
is_successWhether the action succeeded
cost_timeDuration
detailAdditional details

The backend can return an event ID or a simple success response.

Issue Log Upload

When a user submits an issue, the plugin uploads a zip file to /report_issue by multipart form. The package contains Jugg logs and related context that can help identify compile, deploy, remote build, or device-side failures.

Store the original zip and return 200 when the upload succeeds. Keep retention and privacy requirements in mind because logs may include local paths and build context.