Skip to content

Commit

Permalink
Merge pull request cloudfoundry#542 from cdlliuy/dev_updatedoc2
Browse files Browse the repository at this point in the history
fix the error in metric emit API doc
  • Loading branch information
cdlliuy authored Nov 20, 2019
2 parents d21bcb7 + abd877b commit 559dbf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Public_API.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ Status
Route
'''''

PUT /v1/apps/:guid/metrics
POST /v1/apps/:guid/metrics

Body
''''
Expand Down
2 changes: 1 addition & 1 deletion docs/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ With the user-provided-service aproach, you can consume the credential from VCAP
You need to emit your own metric for scaling to the "URL" specified in credential JSON file with below API endpoint.

```
PUT /v1/apps/:guid/metrics
POST /v1/apps/:guid/metrics
```

A JSON payload is required with above API to submit metric name, value and the correspondng instance index.
Expand Down

0 comments on commit 559dbf5

Please sign in to comment.