Skip to main content
Version: Next

Application status plugin for RADAR-pRMT

Build Status

Plugin that sends application statuses about the RADAR pRMT app.

Installation

To add the plugin code to your app, add the following snippet to your app's build.gradle file.

dependencies {
implementation "org.radarbase:radar-android-application-status:$radarCommonsAndroidVersion"
}

Add org.radarbase.monitor.application.ApplicationStatusProvider to the plugins variable of the RadarService instance in your app.

Configuration

To activate this plugin, add the provider application_status to the Firebase Remote Config plugins variable.

This plugin takes the following Firebase configuration parameters:

NameTypeDefaultDescription
ntp_serverstring<empty>NTP server to synchronize time with. If empty, time is not synchronized and the application_external_time topic will not receive data.
application_status_update_rateint (seconds)300 = 5 minutesRate at which to send data for all application topics.
application_send_ipbooleanfalseWhether to send the device IP address with the server status.
application_time_zone_update_rateint (seconds)86400 = 1 dayHow often to send the current time zone. Set to 0 to disable.

This plugin produces data for the following topics: (types starts with org.radarcns.monitor.application prefix)

TopicTypeDescription
application_external_timeApplicationExternalTimeExternal NTP time. Requires ntp_server parameter to be set.
application_record_countsApplicationRecordCountsNumber of records sent and in queue.
application_uptimeApplicationUptimeTime since the device booted.
application_server_statusApplicationServerStatusServer connection status.
application_time_zoneApplicationTimeZoneApplication time zone. Data is only sent on updates.
application_device_infoApplicationDeviceInfoDevice information. Data is only sent on updates.