This commit is contained in:
Alex Dadgar 2017-02-16 18:42:16 -08:00
parent 7203dee7ab
commit 1a4f09387f
2 changed files with 64 additions and 9 deletions

View File

@ -22,16 +22,9 @@ client {
}
reserved {
cpu = 500
memory = 512
disk = 1024
}
}
telemetry {
publish_allocation_metrics = true
publish_node_metrics = true
}
# Modify our port to avoid a collision with server1
ports {
http = 5656

View File

@ -239,13 +239,75 @@ page for more details.
<th>Type</th>
</tr>
<tr>
<td>`nomad.client.host.memmory.<HostID>.total`</td>
<td>`nomad.client.allocated.cpu.<HostID>`</td>
<td>Total amount of CPU shares the scheduler has allocated to tasks</td>
<td>MHz</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.unallocated.cpu.<HostID>`</td>
<td>Total amount of CPU shares free for the scheduler to allocate to tasks</td>
<td>MHz</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.allocated.memory.<HostID>`</td>
<td>Total amount of memory the scheduler has allocated to tasks</td>
<td>Megabytes</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.unallocated.memory.<HostID>`</td>
<td>Total amount of memory free for the scheduler to allocate to tasks</td>
<td>Megabytes</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.allocated.disk.<HostID>`</td>
<td>Total amount of disk space the scheduler has allocated to tasks</td>
<td>Megabytes</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.unallocated.disk.<HostID>`</td>
<td>Total amount of disk space free for the scheduler to allocate to tasks</td>
<td>Megabytes</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.allocated.iops.<HostID>`</td>
<td>Total amount of IOPS the scheduler has allocated to tasks</td>
<td>IOPS</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.unallocated.iops.<HostID>`</td>
<td>Total amount of IOPS free for the scheduler to allocate to tasks</td>
<td>IOPS</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.allocated.network.<Device-Name>.<HostID>`</td>
<td>Total amount of bandwidth the scheduler has allocated to tasks on the
given device</td>
<td>Megabits</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.unallocated.network.<Device-Name>.<HostID>`</td>
<td>Total amount of bandwidth free for the scheduler to allocate to tasks on
the given device</td>
<td>Megabits</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.host.memory.<HostID>.total`</td>
<td>Total amount of physical memory on the node</td>
<td>Bytes</td>
<td>Gauge</td>
</tr>
<tr>
<td>`nomad.client.host.memmory.<HostID>.available`</td>
<td>`nomad.client.host.memory.<HostID>.available`</td>
<td>Total amount of memory available to processes which includes free and
cached memory</td>
<td>Bytes</td>