Skip to content

Configuration

On-Device Android Instrumentation Arguments

  • trailblaze.aiEnabled (defaults to true) - This will have the Trailblaze SDK send all requests to the LLM. When false, only recordings can be used.
  • trailblaze.reverseProxy (defaults to false) - This will enable the reverse proxy for all Trailblaze traffic.
  • When false, logging traffic is sent to https://10.0.2.2:8443, the default Android Emulator networking loopback address.
  • When true, the logs are sent through “https://localhost:8443” and using adb reverse tcp:8443 tcp:8443 are forwarded to the host running the Trailblaze app.
    • This means all Trailblaze SDK Traffic is re-routed through adb and then the logs server reverse proxies the traffic to the final host.
    • This is important because it allows the Trailblaze Agent to run on-device, but not require a network connection.
    • It is also helpful/important because in the future it will allow you to not send your API Keys to the device itself, but add the Authorization information via the reverse proxy.
  • trailblaze.logsEndpoint - Defaults to the same values as the reverseProxy uses. You can use this value if you want to use a remote logs server. NOTE: Logging timeouts are set to 5 seconds as they are expected to be fast.