--- title: PerformanceMetrics - GraphQL Admin description: RUM (Real User Monitoring) performance metrics for a shop. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/objects/performancemetrics md: https://shopify.dev/docs/api/admin-graphql/unstable/objects/performancemetrics.md --- # Performance​Metrics object Requires The user must have access to themes and reports. RUM (Real User Monitoring) performance metrics for a shop. ## Fields * device​Type [Performance​Device​Type!](https://shopify.dev/docs/api/admin-graphql/unstable/enums/PerformanceDeviceType) non-null Specifies the device type for which the RUM (Real User Monitoring) data is provided. * metrics [\[JSON!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/JSON) non-null JSON blob with RUM (Real User Monitoring) data for a shop. *** ## Map No referencing types *** ## Queries * [performance​Metrics](https://shopify.dev/docs/api/admin-graphql/unstable/queries/performanceMetrics) query RUM (Real User Monitoring) performance metrics for a shop. * aggregation​Level [Performance​Aggregation​Level](https://shopify.dev/docs/api/admin-graphql/unstable/enums/PerformanceAggregationLevel) Default:DAILY ### Arguments Fetches RUM (Real User Monitoring) data for the specified aggregation level. * device​Types [\[Performance​Device​Type!\]](https://shopify.dev/docs/api/admin-graphql/unstable/enums/PerformanceDeviceType) Default:\[ALL] Fetches RUM (Real User Monitoring) data for the specified device type. * max​Days [Int](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int) Default:90 Filters RUM (Real User Monitoring) data within the specified period. * storefront​Id [String](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) Specifies the storefront to return RUM (Real User Monitoring) data for. Can be a Hydrogen storefront ID (e.g. `1234`) or `online_store` (defaults to `online_store`). *** *** ## \PerformanceMetrics Queries ### Queried by * \[performance​Metrics](https://shopify.dev/docs/api/admin-graphql/unstable/queries/performanceMetrics)