REST Resource: vitals.anrrate
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: AnrRateMetricSet
सिंगलटन संसाधन, जो एएनआर (ऐप्लिकेशन काम नहीं कर रहा है) मेट्रिक के सेट को दिखाता है.
इस मेट्रिक सेट में, एएनआर डेटा को इस्तेमाल के डेटा के साथ जोड़ा जाता है, ताकि उपयोगकर्ताओं की संख्या से अलग सामान्य मेट्रिक तैयार की जा सके.
डेटा इकट्ठा करने की अवधि:
DAILY
: मेट्रिक को कैलेंडर की तारीख के इंटरवल में एग्रीगेट किया जाता है. पुरानी सीमाओं की वजह से, सिर्फ़ America/Los_Angeles
टाइमज़ोन का इस्तेमाल किया जा सकता है.
HOURLY
: मेट्रिक को हर घंटे के अंतराल में एग्रीगेट किया जाता है. डिफ़ॉल्ट और सिर्फ़ इस्तेमाल किया जा सकने वाला टाइमज़ोन UTC
है.
इस्तेमाल की जा सकने वाली मेट्रिक:
anrRate
(google.type.Decimal
): एग्रीगेशन की अवधि में, कम से कम एक एएनआर का सामना करने वाले अलग-अलग उपयोगकर्ताओं का प्रतिशत.
anrRate7dUserWeighted
(google.type.Decimal
): पिछले सात दिनों में anrRate
की रोलिंग औसत वैल्यू. हर दिन की वैल्यू को, उस दिन के यूनीक उपयोगकर्ताओं की संख्या के हिसाब से वेट किया जाता है. हर घंटे के हिसाब से डेटा इकट्ठा करने की सुविधा के साथ काम नहीं करता.
anrRate28dUserWeighted
(google.type.Decimal
): पिछले 28 दिनों में anrRate
की रोलिंग औसत वैल्यू. हर दिन की वैल्यू को, उस दिन के यूनीक उपयोगकर्ताओं की संख्या के हिसाब से वेट किया जाता है. हर घंटे के हिसाब से डेटा इकट्ठा करने की सुविधा के साथ काम नहीं करता.
userPerceivedAnrRate
(google.type.Decimal
): एग्रीगेशन की अवधि में, कम से कम एक बार यूज़र-पर्सीव्ड एएनआर वाली गड़बड़ियों का सामना करने वाले यूनीक उपयोगकर्ताओं का प्रतिशत. फ़िलहाल, यूज़र-पर्सीव्ड एएनआर, 'इनपुट भेजने का समय खत्म हुआ' टाइप के होते हैं.
userPerceivedAnrRate7dUserWeighted
(google.type.Decimal
): पिछले सात दिनों में userPerceivedAnrRate
की रोलिंग औसत वैल्यू. हर दिन की वैल्यू को, उस दिन के यूनीक उपयोगकर्ताओं की संख्या के हिसाब से वेट किया जाता है. हर घंटे के हिसाब से डेटा इकट्ठा करने की सुविधा के साथ काम नहीं करता.
userPerceivedAnrRate28dUserWeighted
(google.type.Decimal
): पिछले 28 दिनों में userPerceivedAnrRate
की रोलिंग औसत वैल्यू. हर दिन की वैल्यू को, उस दिन के यूनीक उपयोगकर्ताओं की संख्या के हिसाब से वेट किया जाता है.
distinctUsers
(google.type.Decimal
): एग्रीगेशन की अवधि में, अलग-अलग उपयोगकर्ताओं की संख्या. इनका इस्तेमाल anrRate
और userPerceivedAnrRate
मेट्रिक के लिए, सामान्य बनाने वाली वैल्यू के तौर पर किया गया था. अगर कोई उपयोगकर्ता, एग्रीगेशन की अवधि के दौरान ऐप्लिकेशन का इस्तेमाल फ़ोरग्राउंड में करता है, तो उसे इस मेट्रिक में शामिल किया जाता है. इस संख्या को और न बढ़ाएं, क्योंकि इससे उपयोगकर्ताओं को कई बार गिना जा सकता है. वैल्यू को 10, 100, 1,000 या 10,00,000 के सबसे नज़दीकी मल्टीपल में बदला जाता है. यह वैल्यू की मैग्नीट्यूड पर निर्भर करता है.
इस्तेमाल किए जा सकने वाले डाइमेंशन:
apiLevel
(string
): यह उपयोगकर्ता के डिवाइस पर चल रहे Android का एपीआई लेवल है. उदाहरण के लिए, 26.
versionCode
(int64
): उपयोगकर्ता के डिवाइस पर चल रहे ऐप्लिकेशन का वर्शन.
deviceModel
(string
): उपयोगकर्ता के डिवाइस मॉडल का यूनीक आइडेंटिफ़ायर. आइडेंटिफ़ायर का फ़ॉर्मैट 'deviceBrand/device' होता है.इसमें deviceBrand, Build.BRAND से और device, Build.DEVICE से मेल खाता है. उदाहरण के लिए, google/coral.
deviceBrand
(string
): उपयोगकर्ता के डिवाइस के ब्रैंड का यूनीक आइडेंटिफ़ायर. उदाहरण के लिए, google.
deviceType
(string
): उपयोगकर्ता के डिवाइस का टाइप (इसे डिवाइस का साइज़, डाइमेंशन या कॉन्फ़िगरेशन भी कहा जाता है). उदाहरण के लिए, फ़ोन.
countryCode
(string
): उपयोगकर्ता के डिवाइस का देश या इलाका. यह जानकारी, उपयोगकर्ता के आईपी पते के आधार पर तय की जाती है. इसे दो अक्षरों वाले ISO-3166 कोड के तौर पर दिखाया जाता है. उदाहरण के लिए, अमेरिका के लिए US.
deviceRamBucket
(int64
): डिवाइस की रैम, एमबी में, बकेट में (3 जीबी, 4 जीबी वगैरह).
deviceSocMake
(string
): डिवाइस के मुख्य सिस्टम-ऑन-चिप का मैन्युफ़ैक्चरर. उदाहरण के लिए, Samsung. रेफ़रंस
deviceSocModel
(string
): डिवाइस के प्राइमरी सिस्टम-ऑन-चिप का मॉडल. उदाहरण के लिए, "Exynos 2100" प्रोसेसर का इस्तेमाल किया गया है. रेफ़रंस
deviceCpuMake
(string
): डिवाइस के सीपीयू का मैन्युफ़ैक्चरर. उदाहरण के लिए, Qualcomm.
deviceCpuModel
(string
): डिवाइस के सीपीयू का मॉडल, जैसे कि "Kryo 240" का इस्तेमाल किया गया है.
deviceGpuMake
(string
): डिवाइस के जीपीयू का मेक, जैसे कि एआरएम.
deviceGpuModel
(string
): डिवाइस के जीपीयू का मॉडल, जैसे कि माली.
deviceGpuVersion
(string
): डिवाइस के जीपीयू का वर्शन. उदाहरण के लिए, T750.
deviceVulkanVersion
(string
): डिवाइस का Vulkan वर्शन. उदाहरण के लिए, "4198400".
deviceGlEsVersion
(string
): डिवाइस का OpenGL ES वर्शन. उदाहरण के लिए, "196610".
deviceScreenSize
(string
): डिवाइस की स्क्रीन का साइज़. उदाहरण के लिए, NORMAL, LARGE.
deviceScreenDpi
(string
): डिवाइस की स्क्रीन डेंसिटी, जैसे कि mdpi, hdpi.
ज़रूरी अनुमतियां: इस संसाधन को ऐक्सेस करने के लिए, ऐक्सेस करने वाले उपयोगकर्ता के पास ऐप्लिकेशन के लिए, ऐप्लिकेशन की जानकारी देखना (रीड-ओनली ऐक्सेस) अनुमति होनी चाहिए.
मिलते-जुलते मेट्रिक सेट:
vitals.errors
में क्रैश की संख्या का अननॉर्मलाइज़्ड वर्शन (कुल संख्या) शामिल होता है.
vitals.errors
में क्रैश से जुड़ी सामान्य की गई मेट्रिक शामिल होती हैं. यह बिना रुकावट Android का इस्तेमाल करने से जुड़ी एक और मेट्रिक है.
JSON के काेड में दिखाना |
{
"name": string,
"freshnessInfo": {
object (FreshnessInfo )
}
} |
फ़ील्ड |
name |
string
आइडेंटिफ़ायर. संसाधन का नाम. फ़ॉर्मैट: apps/{app}/anrRateMetricSet
|
freshnessInfo |
object (FreshnessInfo )
इस संसाधन में डेटा रीफ़्रेश करने के बारे में खास जानकारी.
|
तरीके |
|
मेट्रिक सेट की प्रॉपर्टी के बारे में बताता है. |
|
यह मेट्रिक सेट में मौजूद मेट्रिक के लिए क्वेरी करता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe AnrRateMetricSet resource provides ANR data combined with usage data to produce a normalized metric, independent of user counts.\u003c/p\u003e\n"],["\u003cp\u003eIt supports daily and hourly aggregation periods, with specific timezones for each.\u003c/p\u003e\n"],["\u003cp\u003eAvailable metrics include ANR rate, user-perceived ANR rate, distinct users, and rolling averages for ANR rates.\u003c/p\u003e\n"],["\u003cp\u003eDimensions for analysis include API level, version code, device details (model, brand, type, RAM, SoC, CPU, GPU), country code, and screen characteristics.\u003c/p\u003e\n"],["\u003cp\u003eAccess requires the "View app information (read-only)" permission.\u003c/p\u003e\n"]]],["The AnrRateMetricSet resource provides normalized ANR (Application Not Responding) metrics, including `anrRate`, `userPerceivedAnrRate`, and their 7-day and 28-day user-weighted rolling averages. It supports daily (America/Los_Angeles) and hourly (UTC) aggregation. Key metrics are normalized by `distinctUsers`. Dimensions available include `apiLevel`, `versionCode`, `deviceModel`, and various device properties. The resource can be accessed via `get` and `query` methods, requiring *View app information* permission. JSON representation and data freshness info are also provided.\n"],null,["# REST Resource: vitals.anrrate\n\n- [Resource: AnrRateMetricSet](#AnrRateMetricSet)\n - [JSON representation](#AnrRateMetricSet.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AnrRateMetricSet\n--------------------------\n\nSingleton resource representing the set of ANR (Application not responding) metrics.\n\nThis metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts.\n\n**Supported aggregation periods:**\n\n- [DAILY](/play/developer/reporting/reference/rest/v1alpha1/AggregationPeriod#ENUM_VALUES.DAILY): metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`.\n- [HOURLY](/play/developer/reporting/reference/rest/v1alpha1/AggregationPeriod#ENUM_VALUES.HOURLY): metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`.\n\n**Supported metrics:**\n\n- `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR.\n- `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity.\n- `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity.\n- `userPerceivedAnrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one user-perceived ANR. User-perceived ANRs are currently those of 'Input dispatching' type.\n- `userPerceivedAnrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity.\n- `userPerceivedAnrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day.\n- `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` and `userPerceivedAnrRate` metrics. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value.\n\n**Supported dimensions:**\n\n- `apiLevel` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): the API level of Android that was running on the user's device, e.g., 26.\n- `versionCode` ([int64](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.int64_value)): version of the app that was running on the user's device.\n- `deviceModel` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral.\n- `deviceBrand` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): unique identifier of the user's device brand, e.g., google.\n- `deviceType` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): the type (also known as form factor) of the user's device, e.g., PHONE.\n- `countryCode` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States).\n- `deviceRamBucket` ([int64](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.int64_value)): RAM of the device, in MB, in buckets (3GB, 4GB, etc.).\n- `deviceSocMake` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER)\n- `deviceSocModel` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL)\n- `deviceCpuMake` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Make of the device's CPU, e.g., Qualcomm.\n- `deviceCpuModel` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Model of the device's CPU, e.g., \"Kryo 240\".\n- `deviceGpuMake` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Make of the device's GPU, e.g., ARM.\n- `deviceGpuModel` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Model of the device's GPU, e.g., Mali.\n- `deviceGpuVersion` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Version of the device's GPU, e.g., T750.\n- `deviceVulkanVersion` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Vulkan version of the device, e.g., \"4198400\".\n- `deviceGlEsVersion` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): OpenGL ES version of the device, e.g., \"196610\".\n- `deviceScreenSize` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Screen size of the device, e.g., NORMAL, LARGE.\n- `deviceScreenDpi` ([string](/play/developer/reporting/reference/rest/v1alpha1/anomalies#DimensionValue.FIELDS.string_value)): Screen density of the device, e.g., mdpi, hdpi.\n\n**Required permissions** : to access this resource, the calling user needs the *View app information (read-only)* permission for the app.\n\n**Related metric sets:**\n\n- [vitals.errors](/play/developer/reporting/reference/rest/v1alpha1/vitals.errors.counts#ErrorCountMetricSet) contains unnormalized version (absolute counts) of crashes.\n- [vitals.errors](/play/developer/reporting/reference/rest/v1alpha1/vitals.crashrate#CrashRateMetricSet) contains normalized metrics about crashes, another stability metric.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"freshnessInfo\": { object (/play/developer/reporting/reference/rest/v1alpha1/FreshnessInfo) } } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The resource name. Format: apps/{app}/anrRateMetricSet |\n| `freshnessInfo` | `object (`[FreshnessInfo](/play/developer/reporting/reference/rest/v1alpha1/FreshnessInfo)`)` Summary about data freshness in this resource. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------|---------------------------------------------|\n| ### [get](/play/developer/reporting/reference/rest/v1alpha1/vitals.anrrate/get) | Describes the properties of the metric set. |\n| ### [query](/play/developer/reporting/reference/rest/v1alpha1/vitals.anrrate/query) | Queries the metrics in the metric set. |"]]