You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cci/financial-intelligence/nrql-for-cci.mdx
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Let us consider the following NRQL query to understand how to query your data fo
43
43
title="CloudCost attributes"
44
44
>
45
45
46
-
In New Relic, click **Integrations & Agents** on the left panel, locate and select **Cloud Cost Intelligence > Budgets**. Open the bottom Query Console drawer and enter the following NRQL query:
46
+
In New Relic, navigate to **All Capabilities > CloudCost Intelligence**. Open the bottom Query Console drawer and enter the following NRQL query:
47
47
48
48
```sql
49
49
FROM CloudCost SELECT* SINCE 24 hours ago
@@ -216,11 +216,20 @@ Let us consider the following NRQL query to understand how to query your data fo
216
216
title="Kubernetes cost event type"
217
217
>
218
218
219
-
In New Relic, click **Integrations & Agents** on the left panel, locate and select **Cloud Cost Intelligence > Budgets**. Open the bottom Query Console drawer and enter the following NRQL query:
219
+
In New Relic, navigate to **All Capabilities > CloudCost Intelligence**. Open the bottom Query Console drawer and enter the following NRQL query:
220
220
221
221
```sql
222
222
FROM KubernetesCost SELECT* SINCE 1 week ago
223
223
```
224
+
225
+
To calculate accurate Kubernetes costs, multiply the `cpu_weightage + memory_weightage` parameters in your cost queries. The following example shows the correct query format:
226
+
227
+
```sql
228
+
SELECTSUM(net_unblended_cost * (cpu_weightage + memory_weightage)) FROM KubernetesCost SINCE '2025-09-01' UNTIL '2025-09-10'
229
+
```
230
+
231
+
This query multiplies the `net_unblended_cost` by the sum of CPU and memory weightage to provide accurate cost allocations based on resource usage.
0 commit comments