Forum Discussion

dev.meta's avatar
dev.meta
Honored Guest
2 months ago

Accessing system-wide performance metrics (like com.oculus.ovrmonitormetricsservice)

I’m developing an internal Kotlin app for Meta Quest that reports headset performance data to our servers.

When running as a regular app, I can’t access the same system-wide metrics that com.oculus.ovrmonitormetricsservice logs every second.
From adb shell logcat I can see the data, but from inside the app I get nothing — logcat access and /proc reads are restricted.
I’ve also tried reading from Linux system files and running shell commands, but due to Android sandboxing I only get metrics for my own app process.

Is there any supported way (API, permission, intent, or service binding) to access those metrics from a normal app, or is it limited to system-signed packages?

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions