Skip to content

Commit

Permalink
Add field calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
alaudazzi committed Aug 22, 2024
1 parent 7717613 commit 2d37976
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/en/serverless/infra-monitoring/host-metrics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Learn about key host metrics displayed in the Infrastructure UI:
| Metric | Description |
|---|---|
| **Hosts** | Number of hosts returned by your search criteria. |
| | Field Calculation: `count(system.cpu.cores)` |

<div id="key-metrics-cpu"></div>

Expand All @@ -38,6 +39,10 @@ Learn about key host metrics displayed in the Infrastructure UI:
{
"title": "Description",
"width": "50%"
},
{
"title": "Field calculation",
"width": "50%"
}
]}>
<DocRow>
Expand All @@ -47,34 +52,42 @@ Learn about key host metrics displayed in the Infrastructure UI:

100% means all CPUs of the host are busy.
</DocCell>
<DocCell>`(average(system.cpu.user.pct) + average(system.cpu.system.pct)) / max(system.cpu.cores)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**CPU Usage - iowait (%)**</DocCell>
<DocCell>The percentage of CPU time spent in wait (on disk).</DocCell>
<DocCell>`average(system.cpu.iowait.pct) / max(system.cpu.cores)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**CPU Usage - irq (%)** </DocCell>
<DocCell>The percentage of CPU time spent servicing and handling hardware interrupts.</DocCell>
<DocCell>`average(system.cpu.irq.pct) / max(system.cpu.cores)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**CPU Usage - nice (%)** </DocCell>
<DocCell>The percentage of CPU time spent on low-priority processes.</DocCell>
<DocCell>`average(system.cpu.nice.pct) / max(system.cpu.cores)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**CPU Usage - softirq (%)**</DocCell>
<DocCell>The percentage of CPU time spent servicing and handling software interrupts.</DocCell>
<DocCell>`average(system.cpu.softirq.pct) / max(system.cpu.cores)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**CPU Usage - steal (%)** </DocCell>
<DocCell>The percentage of CPU time spent in involuntary wait by the virtual CPU while the hypervisor was servicing another processor. Available only on Unix.</DocCell>
<DocCell>`average(system.cpu.steal.pct) / max(system.cpu.cores)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**CPU Usage - system (%)** </DocCell>
<DocCell>The percentage of CPU time spent in kernel space.</DocCell>
<DocCell>`average(system.cpu.system.pct) / max(system.cpu.cores)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**CPU Usage - user (%)** </DocCell>
<DocCell>The percentage of CPU time spent in user space. On multi-core systems, you can have percentages that are greater than 100%. For example, if 3 cores are at 60% use, then the system.cpu.user.pct will be 180%.</DocCell>
<DocCell>`average(system.cpu.user.pct) / max(system.cpu.cores)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**Load (1m)** </DocCell>
Expand All @@ -83,6 +96,7 @@ Learn about key host metrics displayed in the Infrastructure UI:

Load average gives an indication of the number of threads that are runnable (either busy running on CPU, waiting to run, or waiting for a blocking IO operation to complete).
</DocCell>
<DocCell>`average(system.load.1)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**Load (5m)** </DocCell>
Expand All @@ -91,6 +105,7 @@ Learn about key host metrics displayed in the Infrastructure UI:

Load average gives an indication of the number of threads that are runnable (either busy running on CPU, waiting to run, or waiting for a blocking IO operation to complete).
</DocCell>
<DocCell>`average(system.load.5)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**Load (15m)** </DocCell>
Expand All @@ -99,6 +114,7 @@ Learn about key host metrics displayed in the Infrastructure UI:

Load average gives an indication of the number of threads that are runnable (either busy running on CPU, waiting to run, or waiting for a blocking IO operation to complete).
</DocCell>
<DocCell>`average(system.load.15)`</DocCell>
</DocRow>
<DocRow>
<DocCell>**Normalized Load** </DocCell>
Expand All @@ -111,6 +127,7 @@ Learn about key host metrics displayed in the Infrastructure UI:

Taking the example of a 32 CPU cores host, if the 1 minute load average is 32, the value reported here is 100%. If the 1 minute load average is 48, the value reported here is 150%.
</DocCell>
<DocCell>`average(system.load.1) / max(system.load.cores)`</DocCell>
</DocRow>
</DocTable>

Expand Down

0 comments on commit 2d37976

Please sign in to comment.