Fixed the nav links to stats APIs

This commit is contained in:
Diptanu Choudhury 2016-06-15 15:46:17 +02:00
parent f07eec2824
commit 3fda196a5a
3 changed files with 102 additions and 100 deletions

View file

@ -1,6 +1,6 @@
---
layout: "http"
page_title: "HTTP API: /v1/client/allocation/allocation-id/stats"
page_title: "HTTP API: /v1/client/allocation/stats"
sidebar_current: "docs-http-client-allocation-stats"
description: |-
The '/v1/client/allocation/<allocation-id>/stats` endpoint is used to query the actual resources consumed
@ -30,7 +30,8 @@ the nomad client whose resource usage metrics are of interest.
<dt>Returns</dt>
<dd>
```
```javascript
{
"ResourceUsage": {
"CpuStats": {

View file

@ -30,7 +30,8 @@ the nomad client whose resource usage metrics are of interest.
<dt>Returns</dt>
<dd>
```
```javascript
{
"CPU": [
{

View file

@ -108,7 +108,7 @@
</li>
<li<%= sidebar_current("docs-http-client-allocation-stats") %>>
<a href="/docs/http/client-allocation-stat.html">/v1/client/allocation/allocation-id/stats</a>
<a href="/docs/http/client-allocation-stats.html">/v1/client/allocation/stats</a>
</li>
</ul>
</li>