Hello,
I am interested in finding more info on how Chrome collects and handles browser metrics and crashes info.
My system is a Windows 10 machine.
A. Browser Metrics:
1. What is the difference between C:\Users\username\AppData\Local\Google\Chrome\User Data\BrowserMetrics\BrowserMetrics-identifier.pma and C:\Users\username\AppData\Local\Google\Chrome\User Data\BrowserMetrics-spare.pma?
2. What is contained in each of them?
3. Which one is it used when navigating to chrome://histograms?
4. Under what circumstances do these files get sent out to Google servers?
B. Crashpad:
1. What data is contained in C:\Users\username\AppData\Local\Google\Chrome\User Data\CrashpadMetrics-active.pma?
2. How can I view the data inside that file?
3. Under what circumstances do these files get sent out to Google servers?
C. Misc:
1. What is the format of .pma files?
2. How can I view the content of these files?
3. When are the crash dump reports from C:\Users\username\AppData\Local\Google\Chrome\User Data\Crashpad\reports\*.dmp gets sent to Chrome servers?
4. If I enable automatic crash sending reports to Google, I see (chrome://crashes) that some reports are not sent and I still have to click the Send Now link there. How is this process automatic then?
--
You received this message because you are subscribed to the Google Groups "Crashpad-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crashpad-dev...@chromium.org.
To post to this group, send email to crashp...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/crashpad-dev/a5f58a80-7729-416e-be9e-ec87121b7450%40chromium.org.
I am interested in finding more info on how Chrome collects and handles browser metrics and crashes info.
My system is a Windows 10 machine.
A. Browser Metrics:
1. What is the difference between C:\Users\username\AppData\Local\Google\Chrome\User Data\BrowserMetrics\BrowserMetrics-identifier.pma and C:\Users\username\AppData\Local\Google\Chrome\User Data\BrowserMetrics-spare.pma?
2. What is contained in each of them?3. Which one is it used when navigating to chrome://histograms?
These files aren't anything to do with Crashpad, but I believe they correspond to the UMA_ macros in the Chrome, e.g. UMA_HISTOGRAM_COUNTS.I believe they're double buffered, so one is from the current run (and being written to), and the other is the previous one that's being processed and potentially uploaded. (But that's just a guess, I'm not too familiar with this stuff.)4. Under what circumstances do these files get sent out to Google servers?The metrics are reported when the user has turned on "Automatically send usage statistics and crash reports to Google" in chrome://settings.
B. Crashpad:
1. What data is contained in C:\Users\username\AppData\Local\Google\Chrome\User Data\CrashpadMetrics-active.pma?2. How can I view the data inside that file?
3. Under what circumstances do these files get sent out to Google servers?You can see the full list that Crashpad captures at https://cs.chromium.org/chromium/src/third_party/crashpad/crashpad/util/misc/metrics.cc?q=misc/metrics.&sq=package:chromium&g=0&l=1. Generally it's doing things like counting how many times Crashpad gets into a particular state. For example, a crash being encountered, or a minidump written.
C. Misc:
1. What is the format of .pma files?2. How can I view the content of these files?I don't know; Brian might know if there's a documented format.
3. When are the crash dump reports from C:\Users\username\AppData\Local\Google\Chrome\User Data\Crashpad\reports\*.dmp gets sent to Chrome servers?This is also keyed on the setting in chrome://settings.4. If I enable automatic crash sending reports to Google, I see (chrome://crashes) that some reports are not sent and I still have to click the Send Now link there. How is this process automatic then?Old reports aren't uploaded when you turn that on, only new reports that are captured after that point will be uploaded. Additionally, there's some throttling applied to not spam the server with crashes, so not every crash will be automatically uploaded, even when enabled.