Dunfey · Hotel WWDC as data, est. 1983
Front desk everything
Years
Topics

2020 Developer ToolsApp Store, Distribution & Marketing

WWDC20 · 15 min · Developer Tools / App Store, Distribution & Marketing

Identify trends with the Power and Performance API

Track your app’s performance metrics in custom team dashboards, bug reporting systems, and other custom workflows with the Power and Performance Metrics and Diagnostics API. Explore how you can access the same data that drives the Power and Performance analysis tools in Xcode to quickly identify trends and regressions. Learn how to leverage diagnostic signatures and logs — including call stack trees — to prioritize and debug issues. And discover how you can integrate this API with your development team’s existing tools to troubleshoot issues quickly, offering better overall performance for people who use your app.

Watch at developer.apple.com ↗

Transcript all transcripts

Code shown on screen · 5 snippets

Get metrics and insights for most recent app versions swift · at 4:48 ↗
GET /v1/apps/{id}/perfPowerMetrics
Get top diagnostic signatures for released app versions swift · at 8:19 ↗
GET /v1/builds/{id}/diagnosticSignatures
Get logs for a diagnostic signature swift · at 9:42 ↗
GET /v1/diagnosticSignatures/{id}/logs
Access perfPowerMetrics for an app bash · at 11:19 ↗
curl -X GET -H "Authorization: Bearer ${JWT}" -H "Accept: application/vnd.apple.xcode-metrics+json,application/json" https://api.appstoreconnect.apple.com/v1/apps/${id}/perfPowerMetrics
Access diagnosticSignatures for an app build bash · at 12:23 ↗
curl -X GET -H "Authorization: Bearer ${JWT}" -H "Accept: application/vnd.apple.xcode-metrics+json,application/json" https://api.appstoreconnect.apple.com/v1/builds/${id}/diagnosticSignatures