As an Android developer, are you looking for more control over your app's performance data storage and management? Customizing your data file server address when using PerfDog, a powerful performance monitoring tool, can help you achieve this. In this blog post, we will guide you on how to modify the data file server address and implement the required interfaces for seamless integration with PerfDog.
To change the data file server address, update the address in the PerfDog settings, as shown in the image below:
For successful data upload to your custom server, implement the following interfaces:
1. Base Path
Customize the base path according to your upload service requirements. Include the protocol (HTTP/HTTPS), domain name or IP address, port, and upload interface path.
2. Upload Test Data
Implement a POST method to upload performance data like FPS, Jank, etc. The response should include an error code, error string, and a report ID.
3. Set Test App Icon
Implement a PUT method to set the test app icon. The request should include the report ID and the icon file. The response should include an error code and error string.
4. Upload App Screenshots
Implement a POST method to upload app screenshots generated during the test. The request should include the report ID and the screenshot files. The response should include an error code and error string.
5. Finish Uploading Test Data
Implement a PUT method to indicate the completion of the data upload process. The request should include the report ID. The response should include an error code and error string.
Customizing your data file server address and implementing the required interfaces can give you more control over your performance data storage and management. This will enable you to better analyze and optimize your applications, ensuring a seamless user experience. Take advantage of PerfDog's powerful features and start customizing your data file server address today to enhance your app's performance monitoring capabilities.