diff --git a/src/content/docs/infrastructure/manage-your-data/data-instrumentation/default-infrastructure-monitoring-data.mdx b/src/content/docs/infrastructure/manage-your-data/data-instrumentation/default-infrastructure-monitoring-data.mdx index fb432cf49e8..d5cf0a6f7cb 100644 --- a/src/content/docs/infrastructure/manage-your-data/data-instrumentation/default-infrastructure-monitoring-data.mdx +++ b/src/content/docs/infrastructure/manage-your-data/data-instrumentation/default-infrastructure-monitoring-data.mdx @@ -177,8 +177,28 @@ You can [query your infrastructure data](/docs/using-new-relic/data/understand-d SELECT * FROM ProcessSample ``` +Metrics from the New Relic infrastructure agent (`SystemSample`, `StorageSample`, `NetworkSample`, and `ProcessSample`) get aggregated into buckets to improve the query performance over longer periods of time. +NRQL queries scoped to under 1 hour of time will scan the raw data. For queries scoped over 1 hour, data will be scanned in the following aggregated buckets: +* 1 minute (scopes of 1 hour to 6 hours) +* 10 minutes (scopes of 6 hours to 3 days) +* 1 hour (scopes of 3 days to 14 days) +* 3 hours (scopes of 14+ days) + You can also [query infrastructure using dimensional metrics](/docs/query-your-data/nrql-new-relic-query-language/nrql-query-tutorials/query-infrastructure-dimensional-metrics-nrql). + +Historically, these aggregated event buckets only contained one average value per metric. During October and November 2024, we're gradually migrating the aggregation to use the [gauge format](/docs/data-apis/understand-data/metric-data/metric-data-type/) instead. This allows you to differentiate between `max()`, `min()`, and `average()` values. + +To check if your data is using the gauge format, run a query like this: + +``` +FROM SystemSample SELECT cpuPercent SINCE 90 minutes ago +``` + +If the result shows `"type": "gauge"`, your data is using the new format. + + + ## Manage data For tips on managing data ingest and reporting, see [Manage infrastructure data](/docs/infrastructure/install-infrastructure-agent/manage-your-agent/manage-infrastructure-data-reporting).