Configuring Custom SDK Endpoints
Point the Luciq Android SDK at a custom cluster endpoint, such as the EU regional cluster or a dedicated deployment, using a luciq_config.json file.
By default, the Luciq SDK sends all data to Luciq's default production cluster. If your account is hosted on a different cluster — for example a regional cluster such as the EU cluster, or a dedicated deployment — you need to point the SDK at that cluster's endpoints so your data is routed to the correct location.
You configure custom endpoints using a luciq_config.json resource file. This is a one-time setup you do after integrating the SDK.
Prerequisites
Integrate the production SDK first, following the Integrate Luciq on Android guide.
Obtain the endpoints for your cluster from Luciq Support — these are not visible in your Luciq account.
Configure the endpoints
Step 1: Create the configuration file
Create a folder named
rawinside your app'sresdirectory (if it doesn't already exist).Inside the
rawfolder, create a file namedluciq_config.json.
Step 2: Set the endpoint keys
Add the following to luciq_config.json, setting each key to your cluster's domain:
luciq-domain
Domain for the SDK (bug reporting, crashes, sessions, etc.).
apm-domain
Domain for Application Performance Monitoring (APM).
{
"luciq-domain": "YOUR-SDK-DOMAIN",
"apm-domain": "YOUR-APM-DOMAIN"
}Step 3: Validate the configuration
Ensure the endpoints are reachable and correctly configured — the SDK sends all requests to the specified domains. Report a sample bug to confirm the data reaches your cluster.
EU cluster
To route your data to the EU cluster, use the following domains:
luciq-domain
api-eu.luciq.ai
apm-domain
api-eu-apm.luciq.ai
Last updated