Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Feb 17, 2017
1 parent dca06bd commit 08d7b66
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 9 deletions.
7 changes: 0 additions & 7 deletions demo/vagrant/client1.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
66 changes: 64 additions & 2 deletions website/source/docs/agent/telemetry.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 08d7b66

Please sign in to comment.