Fixed the nav links to stats APIs
This commit is contained in:
parent
f07eec2824
commit
3fda196a5a
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: "http"
|
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"
|
sidebar_current: "docs-http-client-allocation-stats"
|
||||||
description: |-
|
description: |-
|
||||||
The '/v1/client/allocation/<allocation-id>/stats` endpoint is used to query the actual resources consumed
|
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>
|
<dt>Returns</dt>
|
||||||
<dd>
|
<dd>
|
||||||
```
|
|
||||||
|
```javascript
|
||||||
{
|
{
|
||||||
"ResourceUsage": {
|
"ResourceUsage": {
|
||||||
"CpuStats": {
|
"CpuStats": {
|
||||||
|
|
|
@ -30,7 +30,8 @@ the nomad client whose resource usage metrics are of interest.
|
||||||
|
|
||||||
<dt>Returns</dt>
|
<dt>Returns</dt>
|
||||||
<dd>
|
<dd>
|
||||||
```
|
|
||||||
|
```javascript
|
||||||
{
|
{
|
||||||
"CPU": [
|
"CPU": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -108,7 +108,7 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-http-client-allocation-stats") %>>
|
<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>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue