Skip to content

Commit

Permalink
undo deletion of a sample query
Browse files Browse the repository at this point in the history
  • Loading branch information
r2k1 committed Aug 24, 2023
1 parent 49cd88f commit 42a9220
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/integrations/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,15 @@ sort_desc(
- `sum by (type, namespace)` controls the grouping, available options are `container, namespace, node, pod, type`


__Hourly memory cost for the *default* namespace__

```
sum(
avg(container_memory_allocation_bytes{namespace="default"}) by (instance) / 1024 / 1024 / 1024
*
on(instance) group_left() avg(node_ram_hourly_cost) by (instance)
)
```

__Monthly cost of provisioned nodes__

Expand Down

0 comments on commit 42a9220

Please sign in to comment.