--- 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/queries/performanceMetrics?utm_channel=W24-editions-website md: https://shopify.dev/docs/api/admin-graphql/unstable/queries/performanceMetrics.md?utm_channel=W24-editions-website --- # performance​Metrics query RUM (Real User Monitoring) performance metrics for a shop. ## Arguments * aggregation​Level [Performance​Aggregation​Level](https://shopify.dev/docs/api/admin-graphql/unstable/enums/PerformanceAggregationLevel) Default:DAILY 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`). *** ## Possible returns * Performance​Metrics [\[Performance​Metrics!\]](https://shopify.dev/docs/api/admin-graphql/unstable/objects/PerformanceMetrics) RUM (Real User Monitoring) performance metrics for a shop. *** ## Examples * ### performanceMetrics reference ## Query Reference ```graphql { performanceMetrics { # performanceMetrics fields } } ```