Prerequisites
Configure Automatic Monitoring
Data to Review
Troubleshooting
Configure Android Application Monitoring
Overview
The GermainUX Mobile App library initializes with default monitoring settings. UseGermainAPMConfiguration when the application requires custom settings, including:
- Application identity
- Data distribution frequency
- User context
- Crash and exception monitoring
- Application and system events
- Sessions
Show all 10
Show all 10
- Transactions
- Fragments and views
- Library logging
- Data anonymization and exclusion
GermainAPM.init().
Prerequisites
Before configuration:Add the GermainUX Mobile App library to the Android project
Register the required permissions and service
Obtain the HTTPS ingestion URL for the GermainUX environment
Identify the application name and environment
Define privacy and data-retention requirements
Confirm which monitoring capabilities should be enabled
Test the configuration in a nonproduction build
Initialize with Custom Configuration
Create aGermainAPMConfiguration, apply the required settings, and pass it to GermainAPM.init().
Java
Kotlin
Configure the Application Identity
Assign a stable application name so Android telemetry is associated with the correct application in GermainUX. The application name should distinguish the product but remain consistent across releases. Use separate environment attributes or configurations for development, test, staging, and production. Avoid including a version number in the application name. The application version should remain a separate attribute so releases can be compared.Configure Data Distribution Frequency
By default, the library distributes collected telemetry approximately every 30 seconds. Crashes and application-closure events are sent as quickly as possible when Android gives the application enough time to do so. Change the distribution frequency only when required.Java
Kotlin
- Required monitoring freshness
- Network usage
- Battery consumption
- Telemetry volume
- Expected session duration
- Mobile network reliability
Configure User Context
GermainUX can associate an application user with collected telemetry. Set the user during initialization only when the identity is already known.Java
Kotlin
Java
Kotlin
Configure Automatic Monitoring
GermainAPMConfiguration provides settings for enabling or disabling monitoring features.
For example, automatic unhandled-exception monitoring can be disabled when the application uses another crash handler or requires custom control:
- Error and Exception Monitoring
- Application and System Event Monitoring
- Session Monitoring
- Transaction Monitoring
- Fragment and View Monitoring
Configure Library Logging
The GermainUX library can write initialization and diagnostic messages to Logcat. Disable library logging when it is unnecessary in production.Java
Kotlin
Configure Data Anonymization and Exclusion
UseaddExclusion() to remove or anonymize configured fields before telemetry is distributed.
The method has the following signature:
Example
Data to Review
Before production deployment, review whether the configuration can collect:- User identifiers
- Device identifiers
- Application and device attributes
- Error messages
- Exception stack traces
- Screen and fragment names
Show all 11
Show all 11
- Transaction names and attributes
- Custom events
- Network-related values
- Location or geographic information
- Form or message content
Configure GermainUX Analytics
After application-side configuration, verify the corresponding GermainUX settings:Application and KPIs
Confirm that:- The Android application is enabled.
- Mobile KPIs are enabled.
- Application and environment names match the SDK configuration.
- Custom transaction and event categories are mapped correctly.
Analytics
Go to Workspace > Analytics to configure:- KPIs
- Business Processes
- Categorization
- Correlation
- Data Privacy
- Rules
- SLAs
Dashboards and reports
Go to Workspace > Dashboards > All to locate or create Android application dashboards. Configure reports for:- Application usage
- Crashes and exceptions
- Launch and transaction performance
- Device and operating-system breakdown
- Business-process completion
- Release comparison
Alerts
Configure alerts for:- New or increased crashes
- Repeated exceptions
- Slow application launches
- Slow or failed transactions
- Business-process failures
- Application-version regressions
- Missing expected telemetry
Validation
After applying the configuration:Build and install the test application
Confirm that GermainUX initializes successfully
Verify the application name and environment
Create a user session
Set or update the user context
Navigate through representative screens and fragments
Execute configured transactions
Send a controlled handled exception
Test crash collection in a safe environment
Confirm that distribution occurs at the configured frequency
Verify that excluded and anonymized values are protected
Test with release-mode shrinking and obfuscation
Confirm that dashboards, alerts, and reports receive the expected data
Troubleshooting
Initialization fails
Verify:- The library is packaged in the application.
- The ingestion URL is correct and uses HTTPS.
- The required Android permissions are present.
- The GermainUX service is registered.
- The application class is registered in the manifest.
- The installed library version supports the configuration methods being used.
No data appears in GermainUX
Check:- Device network connectivity
- TLS and certificate validation
- Firewall, proxy, VPN, or mobile-device policies
- Application and environment configuration
- Distribution frequency
- GermainUX data privacy and processing rules
- Library diagnostic output in a test build
User context is missing
Confirm that:setUser()executes after the user is identified.- The value is not empty.
- Privacy rules do not remove the field.
- The user is set again after application or authentication-state changes when necessary.
Privacy rules do not apply
Verify:- Field name
- Fact type
- Matching pattern
- Capitalization
- Exclusion configuration order
- Installed library version
Get Help
Contact GermainUX Support
Can't find what you need?
The content of this document is proprietary to GERMAIN SOFTWARE.

