mirror of
https://github.com/Luzifer/mondash.git
synced 2024-12-22 20:11:18 +00:00
Fix apiary documentation
This commit is contained in:
parent
a707308b88
commit
bf1b40a7bc
1 changed files with 1 additions and 5 deletions
|
@ -69,11 +69,7 @@ This API controls the metrics on your dashboard
|
|||
+ Attributes (object)
|
||||
+ title (required, string) - The title of the metric to display on the dashboard
|
||||
+ description (required, string) - A descriptive text for the current state of the metric
|
||||
+ status (required, enum[string])
|
||||
+ `OK`
|
||||
+ `Warning`
|
||||
+ `Critical`
|
||||
+ `Unknown`
|
||||
+ status (required, enum[string]) - One of: OK, Warning, Critical, Unknown
|
||||
+ expires: 604800 (optional, number) - Time in seconds when to remove the metric if there is no update (Valid: `0 < x < 604800`)
|
||||
+ freshness: 3600 (optional, number) - Time in seconds when to switch to `Unkown` state of there is no update (Valid: `0 < x < 604800`)
|
||||
|
||||
|
|
Loading…
Reference in a new issue